size latex code example

Example 1: latex text size

\Huge
\huge
\LARGE
\Large
\large
\normalsize
\small
\footnotesize
\scriptsize
\tiny

Example 2: latex width figure

\documentclass{report}
\usepackage[english]{babel}
\usepackage{graphicx}

\begin{document}
\includegraphics[height=3cm]{example-image-b}
\includegraphics[width=5cm]{example-image-b}

\includegraphics[height=3cm, width=3cm]{example-image-b}
\includegraphics[height=3cm, width=6cm]{example-image-b}
\includegraphics[keepaspectratio,height=3cm, width=6cm]{example-image-b}
\end{document}

Example 3: latex change size of text

%Article
\documentclass[9pt]{extarticle}
%Report
\documentclass[14pt]{extreport}

Tags:

C Example