Let
X
How-to

How to Change Font Size in LaTeX

The fix

To change font size in LaTeX, use a size command such as \small, \large, \Large, \huge (and \normalsize to return). Apply it inside a group {\Large big text} so it does not affect the rest. To change the whole document, set the base size in the class option, e.g. \documentclass[12pt]{article}.

Example

{\small smaller} normal {\large larger} {\Huge huge}

% Document-wide base size (10pt default; 11pt/12pt common):
\documentclass[12pt]{article}

% Exact size + line spacing:
{\fontsize{14pt}{17pt}\selectfont custom size}

Frequently asked questions

What are the size commands from smallest to largest?

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

How do I set an exact point size?

Use \fontsize{size}{baselineskip}\selectfont, e.g. {\fontsize{14}{17}\selectfont text}. The second number is line spacing.

Try the fix in LetX

Open the editor, paste your code, and compile in 1–2 seconds to see the error clear — free, in your browser.

Open LetX Free