Font Size in LaTeX

To change the font size in LaTeX, use one of ten size commands, from \tiny to \Huge, inside braces: {\large text}. For the whole document, give the class an option: \documentclass[12pt]{article}.

LaTeX
{\tiny tiny} {\scriptsize scriptsize} {\footnotesize footnotesize}
{\small small} {\normalsize normalsize} {\large large}

{\Large Large} {\LARGE LARGE} {\huge huge} {\Huge Huge}
OutputThe ten size commands from tiny to Huge, each word set in its own size.
Full document you can compile
example.tex
\documentclass{article}
\begin{document}
{\tiny tiny} {\scriptsize scriptsize} {\footnotesize footnotesize}
{\small small} {\normalsize normalsize} {\large large}

{\Large Large} {\LARGE LARGE} {\huge huge} {\Huge Huge}
\end{document}

How big is each size command?

The sizes are relative to the main font. With the default 10pt option they are:

CommandSize at 10pt
\tiny5 pt
\scriptsize7 pt
\footnotesize8 pt
\small9 pt
\normalsize10 pt
\large12 pt
\Large14.4 pt
\LARGE17.28 pt
\huge20.74 pt
\Huge24.88 pt

With the 12pt option, every step is larger, so \large becomes 14.4 pt.

How do you change the size of one word or one paragraph?

The commands are switches: they change everything after them until the group ends. Put them inside braces for a phrase, or use the environment form such as \begin{small}…\end{small} for a block. For a paragraph, end it inside the group, or the line spacing won't match the new size.

LaTeX
Normal text, then a {\large larger phrase} in the same line.

\begin{small}
This whole paragraph is small, set inside the small environment.
\end{small}
OutputA line with a larger phrase in the middle, then a paragraph in small type.
Full document you can compile
example.tex
\documentclass{article}
\begin{document}
Normal text, then a {\large larger phrase} in the same line.

\begin{small}
This whole paragraph is small, set inside the small environment.
\end{small}
\end{document}

How do you set the size of the whole document?

The standard classes accept 10pt (the default), 11pt and 12pt. For other main sizes, use the extarticle class, which allows 8pt to 20pt, or a class from your journal's template.

How do you set an exact font size?

Use \fontsize{size}{line spacing}\selectfont; a line spacing about 1.2 times the size works well. With the default Computer Modern font, sizes outside the standard list fall back to the nearest one with the warning Font shape … not available. Loading anyfontsize makes any size work.

LaTeX
{\fontsize{30}{36}\selectfont 30 point text}

{\fontsize{7}{8}\selectfont and 7 point text}
OutputThe text 30 point text in large type, then 7 point text in small type.

Needs \usepackage{anyfontsize} in the preamble.

Full document you can compile
example.tex
\documentclass{article}
\usepackage{anyfontsize}
\begin{document}
{\fontsize{30}{36}\selectfont 30 point text}

{\fontsize{7}{8}\selectfont and 7 point text}
\end{document}

How do you change the size of math?

Math follows the size command around it, so {\Large $…$} enlarges the formula with the text. Within a formula, \displaystyle and \textstyle switch between the large display form and the compact inline form.

LaTeX
{\Large The area is $A = \pi r^2$.}
\[ \textstyle \sum_{k=1}^{n} k \qquad \displaystyle \sum_{k=1}^{n} k \]
OutputA Large sentence with the formula A equals pi r squared, then a sum in text style next to the same sum in display style.
Full document you can compile
example.tex
\documentclass{article}
\begin{document}
{\Large The area is $A = \pi r^2$.}
\[ \textstyle \sum_{k=1}^{n} k \qquad \displaystyle \sum_{k=1}^{n} k \]
\end{document}

What else changes how text looks?

Size is one part. The bold guide covers weight, and the colors guide covers text color. To see your formatted text as a web page, use the LaTeX to HTML converter.

Text drafted with AI from the cited documentation; every example compiled with TeX Live 2026; checked by Cem Demir. See the editorial policy.