set font size latex code example
Example 1: latex text size
\Huge
\huge
\LARGE
\Large
\large
\normalsize
\small
\footnotesize
\scriptsize
\tiny
Example 2: latex font sizes
\Huge
\huge
\LARGE
\Large
\large
\normalsize (default)
\small
\footnotesize
\scriptsize
\tiny
Example 3: latex font sizes
Change global font size:
\documentclass[12pt]{report}
Example 4: latex change size of text
%Article
\documentclass[9pt]{extarticle}
%Report
\documentclass[14pt]{extreport}