LaTeX Guide

LaTeX Font Size

Three layers of control: document-class option for the base size, ten size commands for inline overrides, and \fontsize + extsizes for anything non-standard.

The 10-second answer

% 1. Set base size in \documentclass
\documentclass[12pt]{article}

% 2. Inline size changes (scoped to braces)
{\large larger text}
{\small smaller text}

% 3. Custom size (works anywhere)
{\fontsize{14}{17}\selectfont fourteen-point text}

% 4. Non-standard base sizes
\documentclass[14pt]{extarticle}

The 10 size commands (and what they actually produce)

The commands are relative — what they produce depends on the document class's base size:

Command10pt class11pt class12pt class
\tiny5pt6pt6pt
\scriptsize7pt8pt8pt
\footnotesize8pt9pt10pt
\small9pt10pt11pt
\normalsize (default)10pt11pt12pt
\large12pt12pt14pt
\Large14pt14pt17pt
\LARGE17pt17pt20pt
\huge20pt20pt25pt
\Huge25pt25pt25pt

Common patterns

Override section heading sizes

\usepackage{titlesec}
\titleformat{\section}{\Large\bfseries}{\thesection}{1em}{}
\titleformat{\subsection}{\large\bfseries}{\thesubsection}{1em}{}

Document with 14pt body

\documentclass[14pt]{extarticle}
\usepackage[utf8]{inputenc}
\begin{document}
This document has a 14-point body.
\end{document}

Mixed sizes inline

Normal body text.
{\small Smaller note in footnote-style.}
{\Large Important callout.}
Back to normal.

Common mistakes

  • Forgetting \selectfont after \fontsize. \fontsize{14}{17} alone does nothing.
  • Trying 14pt without extsizes. The standard article class only accepts 10/11/12pt. Use extarticle for other sizes.
  • Size leaking outside intended scope. Wrap with braces: {\large text}, not \large text.
In Typst, font size is one line
#set text(size: 14pt)        // global
#text(size: 18pt)[heading]   // inline

No package juggling, no \selectfont. Try TypeTeX free.

Start writing in Typst

Frequently Asked Questions

How do I set the default font size in LaTeX?

Pass it as a class option: \documentclass[12pt]{article}. The standard classes (article, report, book) accept 10pt (default), 11pt, and 12pt. Anything else (8pt, 14pt, 17pt, etc.) requires the extsizes package.

How do I use 14pt or other custom sizes?

Use the extsizes package: \documentclass[14pt]{extarticle} (or extreport, extbook). Supports 8pt, 9pt, 10pt, 11pt, 12pt, 14pt, 17pt, and 20pt. For arbitrary sizes use \fontsize{14}{17}\selectfont — first number is point size, second is line spacing.

How do I temporarily change font size for a section of text?

Use one of the size commands inside a group: {\small smaller text} or {\Large bigger text}. The braces scope the change so it doesn't bleed into the rest of the document. For multi-paragraph spans, use \begin{small} ... \end{small}.

What's the difference between \Large and \LARGE?

\Large is bigger than \large (capital L), and \LARGE is bigger still (all caps). The full size hierarchy from smallest to largest: \tiny, \scriptsize, \footnotesize, \small, \normalsize, \large, \Large, \LARGE, \huge, \Huge.

How do I set arbitrary font size like 13pt?

\fontsize{13}{15.6}\selectfont — the second number (line spacing) is conventionally 1.2x the size. You must call \selectfont after \fontsize to actually apply the change. This works anywhere, even mid-paragraph.

How do I change section heading sizes?

Redefine \section, \subsection, etc., or use the titlesec package. Quick example: \usepackage{titlesec} \titleformat{\section}{\Large\bfseries}{\thesection}{1em}{}. This makes all \section headings render at \Large bold instead of the default.

Why doesn't my font size change persist?

Three common reasons: (1) you put it inside a group that ended (the braces { } limit scope); (2) you used \fontsize but forgot \selectfont; (3) a package or class is overriding it later. Test by adding the size command at the top of \begin{document} and seeing if it sticks.

What's the math font size?

Math typesetting uses three sizes automatically: text style (inline math), display style (full-size equations), and script style (subscripts/superscripts). Override with \displaystyle, \textstyle, \scriptstyle, or \scriptscriptstyle. To change all math sizes globally, use \DeclareMathSizes (advanced).

Are LaTeX font sizes the same as Word's font sizes?

Yes. 12pt in LaTeX is 12pt in Word. The visual difference between LaTeX and Word at the same size comes from font choice (Computer Modern vs Calibri) and line spacing, not the point size itself.

More LaTeX guides