Font Size in LaTeX: \tiny to \Huge, Document Size and Custom Sizes
Updated December 1, 2026
Quick answer
- Whole document:
\documentclass[12pt]{article}(standard classes: 10pt, 11pt or 12pt). - A passage:
{\large text}, with the command inside the braces. The ten sizes are\tiny,\scriptsize,\footnotesize,\small,\normalsize,\large,\Large,\LARGE,\huge,\Huge. - An exact size:
{\fontsize{14}{17}\selectfont text}with\usepackage{lmodern}. - 14pt and up:
\documentclass[14pt]{extarticle}(8–20pt), or\documentclass[fontsize=13pt]{scrartcl}for any size.
Use a class option for the document, a grouped size declaration for a passage, and \fontsize for an exact size. Start with the command table, then copy a complete example to check the result in a PDF. Keep a publisher's class settings unless its instructions explicitly allow changes.
Text Size in LaTeX: The Ten Size Commands
To change text size in LaTeX, use one of the ten size commands. They are declarations, not commands with an argument: each one switches the size for everything that follows until the end of the current group, so you put the command inside braces together with the text.
\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}The commands are relative: \large means one step above the body size, so its point size depends on the class option. The table shows each size rendered at its 10pt value using your browser font, not a LaTeX rendering. The numeric columns give the standard class definitions for article, report and book. The second number in each cell is the baseline skip, the distance from one line to the next.
| Command | Browser approximation | 10pt (default) | 11pt | 12pt |
|---|---|---|---|---|
\tiny | Sample text | 5 / 6 | 6 / 7 | 6 / 7 |
\scriptsize | Sample text | 7 / 8 | 8 / 9.5 | 8 / 9.5 |
\footnotesize | Sample text | 8 / 9.5 | 9 / 11 | 10 / 12 |
\small | Sample text | 9 / 11 | 10 / 12 | 10.95 / 13.6 |
\normalsize | Sample text | 10 / 12 | 10.95 / 13.6 | 12 / 14.5 |
\large | Sample text | 12 / 14 | 12 / 14 | 14.4 / 18 |
\Large | Sample text | 14.4 / 18 | 14.4 / 18 | 17.28 / 22 |
\LARGE | Sample text | 17.28 / 22 | 17.28 / 22 | 20.74 / 25 |
\huge | Sample text | 20.74 / 25 | 20.74 / 25 | 24.88 / 30 |
\Huge | Sample text | 24.88 / 30 | 24.88 / 30 | 24.88 / 30 |
The odd-looking numbers (10.95, 14.4, 17.28, 20.74, 24.88) are powers of 1.2 times 10pt (10.95 is the half step, 1.20.5). They are the sizes Donald Knuth prepared for Computer Modern, and the standard classes stick to them so that every size has a real font behind it. Note that at 12pt, \huge and \Huge are the same size: the scale tops out at 24.88pt.
LaTeX Font Size for the Whole Document: Class Options
The document font size is a class option. The standard classes accept 10pt (the default), 11pt and 12pt:
\documentclass[12pt]{article}
% or: \documentclass[11pt, a4paper]{report}
% or: \documentclass[10pt, twocolumn]{book}
\begin{document}
Body text is 12pt; headings and footnotes scale with it.
\end{document}Changing this option updates the class-defined sizes for body text, headings, footnotes and captions, although some large sizes stay unchanged. For most documents this is the only font-size setting that needs to change. Anything other than those three values is ignored by the standard classes with only an Unused global option(s) warning, which is the source of many “why is my 14pt option not working” questions.
Font Size Above 12pt: extarticle and scrartcl
For a base size outside 10–12pt, the extsizes bundle provides drop-in replacements for the standard classes: extarticle, extreport, extbook and extletter. They accept 8pt, 9pt, 10pt, 11pt, 12pt, 14pt, 17pt and 20pt:
\documentclass[14pt]{extarticle}
\begin{document}
Body text is now 14pt. {\large This passage is larger.}
\end{document}The KOMA-Script classes (scrartcl, scrreprt, scrbook) accept any size through the fontsize= option, not just fixed steps:
\RequirePackage{fix-cm}
\documentclass[fontsize=13pt,DIV=12]{scrartcl}
\usepackage{lmodern}
\begin{document}
Body text is 13pt. {\small This passage uses the smaller size.}
\end{document}The memoir class provides additional size options, with its larger sizes requiring the extrafontsizes option. If you already use KOMA-Script or memoir, prefer their option over extsizes.
Scoping a Size Change: Braces vs Environments
Because the size commands are declarations, how far they reach depends on where you put them. There are three patterns:
% 1. Braces: the change ends at the closing brace
This is normal, {\large this is large}, and this is normal again.
% 2. Environment form: the same, but clearer for multi-paragraph blocks
\begin{small}
A long quotation or note set in small type. Several paragraphs
can go here.
\end{small}
% 3. Bare declaration: lasts until the end of the enclosing group,
% e.g. the rest of a table cell, a footnote, or the whole document
\small
Everything from here on is small...
\normalsize
...until it is explicitly reset.A very common mistake is to write \large{text} as if \large took an argument. It compiles, but the braces only group the word text; the \large itself was issued outside them and stays active for the rest of the paragraph or group. Always put the command inside the braces: {\large text}.
One more subtlety: line spacing is decided when a paragraph ends. If you enlarge only part of a paragraph, the lines keep the normal baseline skip and the large text may collide with the line above. For a whole paragraph in a different size, end the paragraph inside the group with \par or a blank line. The environment form does not do this for you either, so leave a blank line before \end:
{\Large A heading-like paragraph in Large type.\par}
\begin{Large}
The environment form needs the blank line too.
\end{Large}Custom Size of the LaTeX Font: \fontsize and \selectfont
When you need a size that is not on the ten-step scale, use \fontsize{size}{baselineskip}\selectfont. The first argument is the font size, the second the distance between baselines; a baseline skip of about 1.2× the size matches LaTeX's own defaults. Nothing happens until \selectfont is called:
\documentclass{article}
\usepackage{lmodern} % scalable fonts: any size works
\begin{document}
{\fontsize{14}{17}\selectfont This is exactly 14pt text on a 17pt
baseline, and it wraps correctly across lines.\par}
{\fontsize{40}{48}\selectfont Poster}
\end{document}Units are optional and default to points; \fontsize{14pt}{17pt} is the same as \fontsize{14}{17}. The lmodern line matters: the default Computer Modern fonts exist only at fixed sizes, so a request for 15pt gets substituted with 14.4pt and a warning (see Common Errors below; 14pt is close enough to 14.4pt that LaTeX substitutes it silently). Latin Modern is the same design in a scalable format.
Verify the baseline, not just the letter height
A size change has two independent results: glyph size and baseline spacing. A short sample on one line cannot show whether the second is correct. Test a wrapping paragraph inside a narrow box, ending it before the size group closes. The following example deliberately produces several lines without manual line breaks.
\documentclass{article}
\usepackage{lmodern}
\begin{document}
\noindent\begin{minipage}{0.55\linewidth}
{\fontsize{14}{19}\selectfont
This paragraph is deliberately long enough to wrap. Its baseline spacing
is selected while the paragraph ends, so the lines retain the intended
nineteen-point baseline distance inside this narrow panel.\par}
Normal text resumes at the class size after the group.
\end{minipage}
\end{document}Move the closing brace after \par, not before it. A declaration outside the group can leak into later text; a paragraph ended outside the group can instead use the restored spacing. These are different bugs with different fixes. Tall inline material can still increase individual line distances, so baseline spacing is not a promise that every possible formula fits unchanged.
Existing line-spread settings also matter: \linespread supplies a multiplier applied when a font is selected. Test custom sizes in the final template rather than assuming the second \fontsize argument is the final measured separation under every spacing package. For a required double-spaced manuscript, use the template's spacing controls instead of shrinking the font to force a page limit.
Font Size for Specific Elements
Most parts of a document have a size baked into the class. Each one has a clean way to override it.
Captions
Load the caption package and pass the size as an option. Separate settings exist for the label (“Figure 1:”) and the text. This complete example uses a rectangle, so no image file is needed:
\documentclass{article}
\usepackage[font=small, labelfont=bf]{caption}
\begin{document}
\begin{figure}[htbp]
\centering
\rule{4cm}{1cm}
\caption{A small caption with a bold label.}
\end{figure}
\end{document}Footnotes
Footnotes are set in \footnotesize. To make every footnote larger or smaller, redefine that command once in the preamble:
\renewcommand{\footnotesize}{\small} % larger footnotes
\renewcommand{\footnotesize}{\scriptsize} % smaller footnotesBe aware that \footnotesize is also used elsewhere by some classes and packages, so this change may reach further than the footnotes. See LaTeX Footnotes for the other footnote settings.
Headers and footers
With fancyhdr, the header and footer fields are ordinary text, so a size declaration at the start of each field is all it takes:
\usepackage{fancyhdr}
\pagestyle{fancy}
\fancyhf{}
\fancyhead[L]{\small\itshape Font Sizes in LaTeX}
\fancyhead[R]{\small\thepage}
\fancyfoot[C]{\footnotesize Draft -- do not distribute}Section titles
The titlesec package changes heading formats. Its starred form keeps the standard layout and only swaps the font:
\usepackage{titlesec}
\titleformat*{\section}{\large\bfseries}
\titleformat*{\subsection}{\normalsize\bfseries}
\titleformat*{\subsubsection}{\normalsize\itshape}
% Full control, including an exact size via \fontsize:
\titleformat{\section}
{\fontsize{16}{19}\selectfont\bfseries}{\thesection}{1em}{}The sectsty package does the same job with \sectionfont{\large}, and KOMA-Script classes have \setkomafont{section}{\large\bfseries} built in. Do not load titlesec with KOMA or memoir; use their own mechanisms.
Title, author and date
The arguments of \title and \author accept size commands directly: \title{\Huge A Big Title} or \author{\large Ada Lovelace}. The titling package offers a tidier hook, \pretitle{\begin{center}\LARGE}.
Font Size in Math Mode
Math has its own size system. Every math expression is set in one of four styles: \displaystyle (displayed equations), \textstyle (inline math), \scriptstyle (first-level subscripts and superscripts) and \scriptscriptstyle (nested scripts). You can force any of them:
$\displaystyle \sum_{i=1}^{n} x_i$ % inline math with display-size limits
$\textstyle \frac{a}{b}$ % a small fraction in a display
$\scriptstyle x + y$ % script-size mathThe text size commands do not work inside math mode: $\small x$ produces the warning Command \small invalid in math mode and changes nothing. Apply the size command around the math instead; the math fonts follow the surrounding text size:
{\small $E = mc^2$} % small math, inline
{\footnotesize \[ E = mc^2 \]} % small displayed equationTo change the script sizes globally, use \DeclareMathSizes in the preamble. It takes the text size it applies to, then the sizes for text, script and scriptscript style. The defaults for a 10pt document are 10/10/7/5:
% For 10pt body text, use 7.5pt scripts and 6pt nested scripts
\DeclareMathSizes{10}{10}{7.5}{6}
% Must be declared for each body size you use, e.g. in a 12pt document:
\DeclareMathSizes{12}{12}{8}{6}Common Errors
| Message or symptom | Cause | Fix |
|---|---|---|
| Font shape `OT1/cmr/m/n' in size <15> not available, size <14.4> substituted | Computer Modern is only available at fixed sizes; \fontsize asked for one in between | Load \usepackage{lmodern}, or put \RequirePackage{fix-cm} before \documentclass, or use anyfontsize |
| Command \small invalid in math mode | A text size command inside $...$ or a display | Move it outside: {\small $x$}, or use \scriptstyle for the math itself |
14pt class option has no effect | The standard classes only know 10pt, 11pt and 12pt | Use extarticle, a KOMA class with fontsize=14pt, or memoir |
Text stays large after \large{word} | The command is outside the braces, so it applies to the rest of the group | Write {\large word} |
\fontsize changes nothing | Missing \selectfont | \fontsize{14}{17}\selectfont |
| Enlarged words overlap the line above | Baseline skip is fixed per paragraph, and the paragraph ended outside the group | Put \par or a blank line inside the group (also in the environment form) |
\huge and \Huge look the same | At 12pt both map to 24.88pt, the top of the scale | Use \fontsize with lmodern for anything larger |
Complete Example
\documentclass[12pt]{article}
\usepackage{lmodern}
\usepackage[font=small, labelfont=bf]{caption}
\usepackage{fancyhdr}
\setlength{\headheight}{14pt}
\usepackage{titlesec}
\usepackage{relsize}
% Headings one step larger than the body, in bold
\titleformat*{\section}{\Large\bfseries}
\titleformat*{\subsection}{\large\bfseries}
% Small running header, footnote-size page number
\pagestyle{fancy}
\fancyhf{}
\fancyhead[L]{\small\itshape Font sizes in LaTeX}
\fancyfoot[C]{\footnotesize\thepage}
% Slightly larger math scripts for a 12pt body
\DeclareMathSizes{12}{12}{9}{7}
\title{\Huge Font Sizes}
\author{\large Ada Lovelace}
\date{\normalsize \today}
\begin{document}
\maketitle
\section{Relative sizes}
The body is 12pt. {\small This sentence is small,} {\large this one is
large,} and this one is back to normal. A footnote keeps its own
size.\footnote{Set in the footnotesize setting, 10pt here.}
\begin{footnotesize}
A whole paragraph in footnote size, with the matching line spacing,
because the blank line ends the paragraph inside the group.
\end{footnotesize}
\section{Exact sizes}
{\fontsize{15}{18}\selectfont This paragraph is exactly 15pt on an
18pt baseline, which is not one of the ten standard steps.\par}
\subsection{Relative to the current size}
Prices: 10\,{\smaller EUR} and {\Large 10\,{\smaller EUR}} scale together.
\subsection{Math}
Inline $E = mc^2$, then {\small $E = mc^2$} in small, and
$\displaystyle \sum_{k=1}^{n} k = \frac{n(n+1)}{2}$ with display-size limits.
\begin{table}[htbp]
\centering
\caption{The caption is small and its label bold, via the caption package.}
\begin{tabular}{lr}
Size & Points \\
\hline
\verb|\small| & 10.95 \\
\verb|\large| & 14.4 \\
\end{tabular}
\end{table}
\end{document}Frequently Asked Questions
How do I change the font size in LaTeX?
Use a class option such as \documentclass[12pt]{article} for the document, {\large text} for a passage, or \fontsize{14}{19}\selectfont for a custom size with a scalable font.
Why does large text affect the following paragraph?
Size commands are declarations. Write {\large text}, not \large{text}, so the declaration is inside the group. End a resized paragraph with \par before closing that group.
Why does a custom size have the wrong line spacing?
The paragraph may end after its size group closes, or an existing line-spread multiplier may change the effective baseline. Test a wrapping paragraph, not just a single word, in the final template.
Can the standard article class use 14pt as its base size?
Its standard base options are 10pt, 11pt and 12pt. Use extarticle for its supported larger sizes or a class such as scrartcl with a fontsize option; follow publisher restrictions before switching classes.
Next Steps
For baseline spacing, see spacing in LaTeX. Continue with these related typography settings:
- Bold, Italics & Underline – Font weight and shape commands that combine with the size commands
- Page Size & Margins – Paper size and margins with the geometry package
- LaTeX Footnotes – Footnote numbering, placement and spacing
Documentation and a place to test
Consult the LaTeX font selection guide documentation and extsizes documentation for supported options. Test a complete example in LaTeX Preview, then check the PDF with your final document class.
Try your font size settings in Octree
Try these complete examples in Octree, then compare the compiled PDF before and after changing the class option or a local size declaration.
Open Octree →