Stage 2 · Text and documents 11 / 48 ≈ 18 min read

LaTeX Font Sizes and Typefaces: Tiny to Huge, Bold, Italic

Font sizes in LaTeX are ten named rungs on a ladder the class file defines, and typeface changes are three separate attributes: family, series and shape. This lesson gives the exact numbers behind each rung, the declaration-versus-command distinction that decides where a change stops, why bold italic silently comes out bold upright in Computer Modern, and which font packages to load when you want a different look without breaking the mathematics.

    Ten size switches, and what a size switch actually sets

    LaTeX never asks you for a point size while you are writing. You move along a ladder of ten named rungs — \tiny, \scriptsize, \footnotesize, \small, \normalsize, \large, \Large, \LARGE, \huge, \Huge — and the class file decides what each rung means in points. The indirection is deliberate: change the base size once and every rung, the leading and the equation spacing move together, which is what keeps a 90-page report from having to be re-tuned.

    On the default 10pt base of the standard article class the rungs are 5, 7, 8, 9, 10, 12, 14, 17, 20 and 24pt, on 6, 8, 9.5, 10, 12, 14, 18, 22, 24 and 28pt of leading. The steps are not uniform: \small to \normalsize is 1.11×, \normalsize to \large is 1.2×, \LARGE to \huge is 1.18×. Anyone quoting these numbers from memory should check them the way the last paragraph of this section shows, because a class or a class option changes the whole column.

    A size switch does four things at once. It selects the font at the new size; it sets \baselineskip, the nominal distance from one baseline to the next; it resets \lineskip and \lineskiplimit, which take over when two lines carry tall material such as fractions or display maths; and it redefines the surrounding skip registers such as \abovedisplayskip and \belowdisplayshortskip, so a displayed equation after \small sits tighter than the same equation after \normalsize. Nothing in that list is "only the glyph size", which is why the manual calls these size changing commands rather than font commands.

    To see the numbers your own document really resolved, write them to the log rather than the page: \makeatletter \typeout{large = \f@size pt on \f@baselineskip pt}\makeatother inside the group you are testing. \f@size and \f@baselineskip are the two internal macros every size switch defines, \typeout sends text to the .log, and \makeatletter is what lets those @-names be typed at all. \showthe\baselineskip is the interactive equivalent when you want TeX to stop and answer.

    The ten LaTeX size commands as a ladder of point sizes and leading at a 10pt base COMMAND GLYPH SIZE LEADING WHAT \normalsize LOOKS LIKE NEXT TO IT \tiny 5 pt 6 pt Ag 123 \scriptsize 7 pt 8 pt Ag 123 \footnotesize 8 pt 9.5 pt Ag 123 \small 9 pt 10 pt Ag 123 \normalsize 10 pt 12 pt Ag 123 \large 12 pt 14 pt Ag 123 \Large 14 pt 18 pt Ag 123 \LARGE 17 pt 22 pt Ag 123 \huge 20 pt 24 pt Ag 123 \Huge 24 pt 28 pt Ag 123 capitalisation is the only difference between these three Values are the standard article class at its 10pt base — they come from size10.clo, so a different base or class changes every row. A size switch sets both columns, not just the point size.
    The ten rungs of a size ladder at a 10pt base, with the leading each one brings along.

    Declarations, groups and why the paragraph break belongs inside the braces

    All ten commands are declarations: they change a setting until the current group ends, and they take no argument. There is no \textlarge{...} in the base system — the \text… command forms exist only for family, series and shape — so the scope of a size change is whatever the braces around it cover: {\large … }. Forgetting the braces is how a single stray \large turns the remaining four pages of a document into large type.

    The position of the paragraph break matters for a mechanical reason. TeX takes the interline glue for a line from the \baselineskip that is in force when that line is contributed to the vertical list, and the last line of a paragraph is contributed when \par is processed. So in {\large text text\par} every line, including the final one, is spaced on the larger leading; in {\large text text}\par the closing brace restores \normalsize first, and exactly one line comes out with the wrong distance to its neighbour. Write the \par, or the blank line that stands for it, inside the group.

    Environments group for you. \begin{quote}\small …\end{quote} is safe without any \par of your own because \end{quote} ends the paragraph while still inside the environment's scope. The same is true of \begin{center}, \begin{tabular} cells, footnotes and captions — which is also why a footnote comes out smaller than the text that called it: the class wraps footnote material in \footnotesize for you.

    One trap survives all of this: \normalfont, which people reach for to "undo" a size change, does not touch the size at all. It resets family, series and shape to the document defaults at the current size. To return to the body size you need \normalsize explicitly, and to return to the body look as a whole you want both.

    Why the paragraph break has to sit inside the braces when a size declaration is in force RIGHT — \par INSIDE THE GROUP {\large line one … line two … line three …\par} every gap = the large leading, because \baselineskip is still the one \large installed when \par runs WRONG — THE BRACE CLOSES FIRST {\large line one … line two … line three …} % blank line / \par comes here the last two lines sit 8pt apart instead of 14pt: one short line, and the paragraph looks mis-set. A size switch is a declaration, so its scope is the enclosing group — and there is no \textlarge{…} command form to fall back on. Environments (quote, center, a footnote) group and end the paragraph for you, which is why they are the safer habit.
    Where the closing brace and the paragraph break sit decides whether the last line keeps the leading of the size inside the group.

    Bold, italic, slanted, small caps: two attributes, not one

    The LaTeX font-selection scheme describes any font by five attributes: encoding, family, series, shape and size. Weight is the series — \mdseries (m) against \bfseries (bx, bold extended) — and posture is the shape: \upshape (n), \itshape (it), \slshape (sl, slanted, an obliqued upright design) and \scshape (sc, small caps). Each has a declaration form and a command form that takes an argument: \bfseries/\textbf, \itshape/\textit, \slshape/\textsl, \scshape/\textsc, \upshape/\textup, \mdseries/\textmd. Prefer the \text… forms inside running text, because the braces are then visible in the source and the scope cannot leak.

    Because a font is requested by name of those attributes, LaTeX can only give you what exists. \textbf{\textit{...}} asks for series bx and shape it at once, and Computer Modern — and Latin Modern, its vector successor — has no bold italic text font. LaTeX substitutes the closest thing it has and tells you so in the log: Font shape `T1/cmr/bx/it' undefined, using `T1/cmr/bx/n' instead. What you see on the page is bold upright, so the difference is invisible unless you read the log. Fix it by choosing a family that ships the shape (Times through newtxtext or mathptmx, Palatino through newpxtext or mathpazo), or by using fontspec with any system font that has all four faces.

    \emph is not a synonym for \textit. It asks for emphasis, and the implementation is shape-aware and nestable: inside ordinary upright text it produces italic, and inside italic text it switches back to upright with the surrounding text re-italicised, which is the correct typographic behaviour and the reason style guides say to write \emph and reserve \textit for "this word is literally in italics".

    Mathematics has its own parallel set, and it does not follow the text font. \mathrm, \mathbf, \mathit, \mathsf and \mathtt switch math families; \mathbf reaches only letters and digits, so \mathbf{\pi} is still an ordinary π — you want \boldsymbol{\pi} from the amsfonts bundle, or \bm{\pi} from the bm package, which also bolds operators and delimiters. \pmb fakes bold by printing a shifted copy on top, which works for any glyph at the cost of slightly soft edges.

    \mathrm{d}x \quad \mathbf{A}\mathbf{b} \quad \mathit{u} \quad \mathtt{code} \quad \mathsf{H} \quad \boldsymbol{\Omega} \quad \mathbb{R} \quad \mathcal{O}
    \mathrm{d}x \quad \mathbf{A}\mathbf{b} \quad \mathit{u} \quad \mathtt{code} \quad \mathsf{H} \quad \boldsymbol{\Omega} \quad \mathbb{R} \quad \mathcal{O}
    Left: the five math font attributes side by side. Right: \mathbf leaves π untouched, \boldsymbol and \pmb do not.
    \mathbf{\pi} \quad \boldsymbol{\pi} \quad \pmb{\pi} \quad \pi
    \mathbf{\pi} \quad \boldsymbol{\pi} \quad \pmb{\pi} \quad \pi
    The five font attributes LaTeX resolves, and the bold-italic cell that Computer Modern does not have A FONT REQUEST HAS FIVE PARTS T1 / cmr / bx / it / 10pt encoding · family · series · shape · size — each one is set by its own command, and the request is resolved as a whole family \rmfamily \sffamily \ttfamily series \mdseries \bfseries shape \upshape \itshape \slshape \scshape size \tiny … \Huge (the ladder of the other diagram) command forms that take an argument: \textbf \textit \textsc \texttt \emph declarations leak to the end of the group, commands cannot — that is the whole difference. THE SHAPE TABLE OF THE DEFAULT TEXT FONT (cmr) SERIES m (medium) SERIES bx (bold) shape n (upright) shape it (italic) shape sl (slanted) shape sc (small caps) Normal Bold Normal Bold — upright! Normal substituted Normal substituted No T1/cmr/bx/it file exists, so \textbf{\textit{x}} is answered with bx/n. The log line is the only symptom: Font shape `T1/cmr/bx/it' undefined Fix: a family with all four faces (newtxtext, mathpazo, any fontspec font).

    Picking the family: encoding, Latin Modern and the packages worth loading

    Two lines at the top of almost every document do more than any later font command. \usepackage[T1]{fontenc} asks for the 8-bit West-European font encoding instead of the older OT1; \usepackage{lmodern} then loads Latin Modern, the vector-redrawn Computer Modern with more glyphs and better hints. With OT1, accented letters such as \'e are composed at print time from a separate accent and an e, so a hyphenator cannot break inside the word, a reader copying text out of the PDF gets "´e" instead of "é", and \textsc with accents can be missing outright. T1 has the precomposed slots, so those problems go away — at the price of different font-shape names (T1/cmr/m/n rather than OT1/cmr/m/n) and slightly looser spacing around some punctuation.

    To change the body font itself, load a package rather than redefining \rmdefault by hand. For a Times look use newtxtext with newtxmath; mathptmx is the older equivalent and times is obsolete — it changes only the text family, so your maths stays Computer Modern and the two clash visibly. For Palatino use newpxtext plus newpxmath, or mathpazo; for Palatino-like book faces there is tgpagella; for Charter there is XCharter. The rule that keeps documents sane: change text and maths together, or change neither.

    The two companion families are switchable per run without touching the body font: \textsf{...}/\sffamily for sans and \texttt{...}/\ttfamily for typewriter, backed by the helvet, tgheros, courier and tgtt packages. Helvetica is optically wider than most text faces, which is why helvet takes a scaled=0.92 option (and the couriers package a scaled=0.8 one). To make sans the default, declare \renewcommand{\familydefault}{\sfdefault} in the preamble; the declaration takes effect when the class selects \normalfont at \begin{document}.

    Under XeLaTeX or LuaLaTeX the whole 8-bit layer disappears and fontspec replaces it: \setmainfont, \setsansfont, \setmonofont take system font names, any Unicode character can be typed directly, and \setmainfont{...}[BoldFont=..., SmallCapsFont=...] reaches individual faces. Math then wants unicode-math. Do not mix the two worlds — fontspec together with fontenc and inputenc is a common crash on the way from a pdfTeX template to a XeLaTeX one.

    \documentclass[11pt]{article}
    
    % Text encoding first, then the fonts. With XeLaTeX or LuaLaTeX you delete
    % these two lines and load fontspec instead.
    \usepackage[T1]{fontenc}
    \usepackage{lmodern}
    
    % Times-like text with matching maths (instead of the obsolete "times").
    \usepackage{newtxtext}
    \usepackage{newtxmath}
    
    % Sans and typewriter companions, both optically scaled down a little.
    \usepackage[scaled=0.92]{helvet}
    \usepackage[scaled=0.8]{couriers}
    
    \usepackage{bm}       % \bm{...} bolds symbols that \mathbf cannot reach
    
    \begin{document}
    
    \textnormal{Roman (the default family).} \quad
    \sffamily{Sans serif.} \quad
    \ttfamily{Typewriter.} \normalfont
    
    \textbf{Bold.} \textit{Italic.} \textsl{Slanted.} \textsc{Small caps.}
    \emph{Emphasis, which inside \emph{italic} turns upright instead of doubling
    the italic shape.} \textup{Upright again.}
    
    \textbf{\textit{Bold italic}} -- with Computer Modern or Latin Modern this
    prints \emph{bold upright}, because no bx/it shape exists in those families;
    the log says so: \texttt{Font shape `T1/cmr/bx/it' undefined}.
    
    Maths keeps its own font switches, independent of the text family above:
    \[
      \mathrm{rank}(A) \quad \mathbf{A}\mathbf{x} = \mathbf{b} \quad
      \bm{\omega} \times \mathbf{r} \quad \mathcal{L}(\theta) \quad \mathbb{E}[X]
    \]
    
    \end{document}

    Mathematics has its own four-step size ladder

    Inside maths the sizes are not the ten rungs but four styles: \displaystyle, \textstyle, \scriptstyle and \scriptscriptstyle. TeX picks them for you: a displayed equation uses display style, inline maths uses text style, a subscript drops one step and a subscript of a subscript drops to scriptscript. The visible difference is not only size — display style puts the limits of \sum and \int above and below the operator, text style moves them to the side, and fractions shrink their own contents by the same rule.

    The relative steps are roughly 0.7 and 0.5 of the current size, and "current" means the text size that surrounds the maths. That is why {\small …} around a paragraph shrinks its inline fractions too, and why forcing \displaystyle inside a \small passage produces a line that pokes above its neighbours: you have overridden the size but not the leading of the surrounding paragraph.

    Two ways to force a style: the amsmath shortcuts \tfrac, \dfrac and \cfrac for fractions, and \displaystyle typed at the start of a group for everything else. The one you will need most often is inside array, matrix and cases — those environments typeset in text style by default, so nested fractions come out small unless each cell gets \dfrac or a leading \displaystyle.

    Sizing of delimiters is a separate mechanism: \left/\right grow a bracket to fit the tallest item in the group, while \bigl, \Bigl, \biggl and \Biggl (with matching r forms) step through four fixed heights. Automatic sizing is usually too generous around tall fractions, and it also breaks across & alignment cells, which is why aligned equations nearly always use the manual forms.

    \displaystyle \sum_{n=1}^{\infty} \frac{1}{n^{2}} = \frac{\pi^{2}}{6} \qquad \sum_{n=1}^{\infty} \frac{1}{n^{2}} \qquad \scriptstyle \sum_{n=1}^{\infty} \frac{1}{n^{2}} \qquad \scriptscriptstyle \sum_{n=1}^{\infty} \frac{1}{n^{2}}
    \displaystyle \sum_{n=1}^{\infty} \frac{1}{n^{2}} = \frac{\pi^{2}}{6} \qquad \sum_{n=1}^{\infty} \frac{1}{n^{2}} \qquad \scriptstyle \sum_{n=1}^{\infty} \frac{1}{n^{2}} \qquad \scriptscriptstyle \sum_{n=1}^{\infty} \frac{1}{n^{2}}

    A base size the class does not offer

    The standard classes accept exactly three base sizes: 10pt, 11pt and 12pt, given as class options. Each one simply loads a different file — size10.clo, size11.clo, size12.clo — containing the ten rungs and the leading that goes with them. Writing \documentclass[14pt]{article} does not give you 14pt: the option is unknown, the class carries on at 10pt and the log records it in one forgettable line, Unused global option(s): "14pt". That line is the whole diagnosis, and it is why "the option did nothing" is a log-reading exercise, not a bug report.

    Four clean routes exist for any other base size. The extsizes bundle ships extarticle, extreport and extbook with 8, 9, 10, 11, 12, 14, 17 and 20pt options and interfaces identical to the standard classes. KOMA-script offers fontsize=13pt on its own classes, and its scrextend package brings the same key to a non-KOMA class: \usepackage[fontsize=13pt]{scrextend}. The fontsize package provides \changefontsize{13pt} plus \SelectThisToChangeTheDocumentBaseSize. Under XeLaTeX or LuaLaTeX you scale the font instead: \setmainfont{...}[Scale=1.05].

    Check what you got with the same log trick as the first section: \makeatletter \typeout{base \@ptsize}\makeatother prints 0, 1 or 2 for the standard three, and \typeout{leading \f@baselineskip} inside {\normalsize … } prints the paragraph distance the class chose.

    Before reaching for any of this, ask whether the real complaint is size or spacing. A page that feels cramped is usually short of leading, not of points: \linespread{1.05}\selectfont in the preamble loosens every line — the \selectfont is not decoration, because \linespread only stores a factor and the new value is applied when a size is next selected. The setspace package wraps that pair as \setstretch{1.05} and keeps the list and caption spacing consistent; it belongs to the page-layout lesson, where the rest of the vertical rhythm lives.

    \begin{array}{ll} \text{encoding} & \texttt{T1 / OT1 / TU} \\ \text{family} & \texttt{rmfamily / sffamily / ttfamily} \\ \text{series} & \texttt{mdseries / bfseries} \\ \text{shape} & \texttt{upshape / itshape / slshape / scshape} \\ \text{size} & \texttt{tiny \ldots Huge} \end{array}
    \begin{array}{ll} \text{encoding} & \texttt{T1 / OT1 / TU} \\ \text{family} & \texttt{rmfamily / sffamily / ttfamily} \\ \text{series} & \texttt{mdseries / bfseries} \\ \text{shape} & \texttt{upshape / itshape / slshape / scshape} \\ \text{size} & \texttt{tiny \ldots Huge} \end{array}
    % A base size the standard classes do not offer. Pick ONE of the four routes
    % below; the rest are commented out so the file still compiles.
    
    % Route 1 -- the extsizes bundle: 8, 9, 10, 11, 12, 14, 17, 20 pt, and it
    % ships extarticle/extreport/extbook with the same interfaces as the standard
    % classes.
    \documentclass[14pt,a4paper]{extarticle}
    
    % Route 2 -- KOMA-script's standalone shim, works with any class:
    % \documentclass[a4paper]{article}
    % \usepackage[fontsize=13pt]{scrextend}
    
    % Route 3 -- KOMA-script classes carry it natively:
    % \documentclass[fontsize=13.5pt,paper=a4]{scrartcl}
    
    % Route 4 -- XeLaTeX/LuaLaTeX: scale the loaded font instead of the ladder.
    % \documentclass[a4paper]{article}
    % \usepackage{fontspec}
    % \setmainfont{TeX Gyre Pagella}[Scale=1.05]
    
    \usepackage[T1]{fontenc}
    \usepackage{caption}
    
    \begin{document}
    
    % What the class actually resolved the rungs to -- look in the .log file.
    \makeatletter
    \typeout{base \@ptsize\space pt; normalsize on \f@baselineskip\space pt leading}
    \makeatother
    
    \section{Captions and tables take their size from the class, not from you}
    
    \begin{table}[ht]
      \centering
      \small                       % shrinks the tabular ...
      \captionsetup{font=normalsize}  % ... but not this caption
      \begin{tabular}{lrr}
        \hline
        Sample & $n$ & Mean \\
        \hline
        A      & 120 & 4.18 \\
        B      & 145 & 3.90 \\
        \hline
      \end{tabular}
      \caption{\texttt{\textbackslash small} applies to everything inside the
               environment, so the caption has to be opted out explicitly.}
    \end{table}
    
    {\Huge\bfseries A display line in the middle of the page\par}
    \noindent and the body text resumes at \normalsize immediately afterwards,
    because the braces ended the declaration's scope.
    
    \end{document}

    Four recipes that cover most real requests

    Smaller table text, normal-size caption. A \small placed just after \begin{table} shrinks the whole block including the caption, because the declaration is still in scope when \caption runs. Load caption and add \captionsetup{font=normalsize} in the same block, or move the size change inside the group that holds only the tabular.

    A short block of small print. Wrap it in an environment that groups and ends the paragraph for you: \begin{quote}\small … \end{quote}. Do not do it with \vspace plus a size declaration plus a manual \par; you will get either leaked scope or wrong leading, and the environment gives you the indentation as a bonus.

    One oversized line in the middle of a page. {\Huge\bfseries …\par} followed by \noindent if the next paragraph should not be indented. If the line is actually a heading, restyle the heading instead: with titlesec use \titleformat{\section}{\LARGE\bfseries}{}{0em}{}, with KOMA-script \addtokomafont{section}{\LARGE}. Hand-typed sizes in headings do not survive a class switch and do not appear in the table of contents with the rest of the style.

    Footnotes smaller, or larger. The class applies \footnotesize inside every footnote, and the same rung is used by captions and by table notes in the standard classes — so \renewcommand{\footnotesize}{\scriptsize} quietly shrinks your captions too. KOMA-script isolates the case with \addtokomafont{footnote}{\scriptsize}; otherwise redefine the internal \@makefntext block rather than the size name.

    \documentclass[10pt,a4paper]{article}
    \usepackage[T1]{fontenc}
    \usepackage{lmodern}
    \usepackage{amsmath}
    
    \begin{document}
    
    \section*{The ten rungs, in one paragraph each}
    
    {\tiny tiny -- the smallest rung the class defines.\par}
    {\scriptsize scriptsize -- footnote-of-a-footnote territory.\par}
    {\footnotesize footnotesize -- what captions and \texttt{footnote} bodies use.\par}
    {\small small -- tables, and anything you want to fit without shrinking the page.\par}
    {\normalsize normalsize -- the base size, set by the class option, not by you.\par}
    {\large large -- subheadings in many classes.\par}
    {\Large Large -- capital L, one rung above \texttt{\textbackslash large}.\par}
    {\LARGE LARGE -- two capital Ls.\par}
    {\huge huge -- lower-case h.\par}
    {\Huge Huge -- the top rung, 24pt on a 10pt base.\par}
    
    \section*{Where a size change belongs}
    
    % Right: the paragraph break is inside the group, so the final line keeps
    % the leading that \large selected.
    {\large This sentence is long enough to wrap, and the \par inside the braces
    is what stops the last line from being spaced on the outer baselineskip.\par}
    
    % Wrong: the group closes first, so exactly one line comes out tight.
    {\large This sentence is long enough to wrap, and the paragraph break falls
    outside the braces, which is how the last line ends up with the wrong
    distance to the line above it.}\par
    
    % Right again: the quote environment groups the text and ends the paragraph
    % inside that group, so no \par of your own is needed.
    \begin{quote}
    \small
    A quote environment already scopes the declaration for you, and
    \verb|\end{quote}| closes the paragraph while still inside that scope.
    \end{quote}
    
    \end{document}

    Lesson cheat sheet

    One key line of code from each section — jump to it or copy it straight from here.

    Section Key code
    \mathrm{d}x \quad \mathbf{A}\mathbf{b} \quad \mathit{u} \quad \mathtt{code} \quad \mathsf{H} \quad \boldsymbol{\Omega} \quad \mathbb{R} \quad \mathcal{O}
    \displaystyle \sum_{n=1}^{\infty} \frac{1}{n^{2}} = \frac{\pi^{2}}{6} \qquad \sum_{n=1}^{\infty} \frac{1}{n^{2}} \qquad \scriptstyle \sum_{n=1}^{\infty} \frac{1}{n^{2}} \qquad \scriptscriptstyle \sum_{n=1}^{\infty} \frac{1}{n^{2}}
    \documentclass[14pt,a4paper]{extarticle}
    \documentclass[10pt,a4paper]{article}

    Common mistakes

    • {\large text} with the closing brace before the paragraph ends: the last line is spaced on the outer \baselineskip, and the ragged line is the only symptom. Put \par (or the blank line) inside the braces.
    • Typing \large with no group around it and letting it run to the end of the document. Every size switch is a declaration; the scope is the enclosing group, and at top level that is the rest of the file.
    • Expecting \textbf{\textit{…}} to print bold italic in Computer Modern or Latin Modern. Neither family has a bx/it shape, LaTeX substitutes bx/n, and the only evidence is a Font shape … undefined line in the log.
    • Using \normalfont to undo a size change. It resets family, series and shape at the current size; you need \normalsize as well.
    • \documentclass[14pt]{article} — an option the standard classes do not have. The build succeeds at 10pt and the log says Unused global option(s). Use extsizes, scrextend or fontsize=… on a KOMA class.
    • Old-style declarations \rm, \bf, \it instead of \rmfamily, \bfseries, \itshape. The obsolete forms pick a font at a fixed size, so \large\bf text gives you the 10pt bold font rather than bold at large.
    • Loading times and wondering why the body looks like Times but every equation still looks like Computer Modern: that package changes only the text family. Use newtxtext with newtxmath, or mathptmx.

    Questions about this lesson

    How do I make text bigger in LaTeX?
    Wrap the text in a group and put a size declaration at the start of it: {\large ... \par}. There is no \textlarge{...} command in the base system, and the closing brace is what stops the change, so leaving it out makes everything after that point larger. For one word or one phrase, scale the font instead of the size: \Large is a rung, not a command taking an argument.
    What is the difference between \large, \Large and \LARGE?
    Three consecutive rungs of the same ladder: on a 10pt base they are 12pt, 14pt and 17pt, each with its own leading. Capitalisation is the only difference in the names, and there is no \Llarge or \HUGE, so a wrong capitalisation gives you "Undefined control sequence" rather than a silent fallback.
    Why is bold italic not working in LaTeX?
    Because the font you are using has no bold italic face. Computer Modern and Latin Modern do not, so \textbf{\textit{text}} is substituted with bold upright and the log reports Font shape `T1/cmr/bx/it undefined. Load a text family that ships all four faces (newtxtext or mathpazo for Times and Palatino looks), or use fontspec with XeLaTeX or LuaLaTeX and any system font.
    How do I change the default font size of a document?
    Use a class option: \documentclass[12pt]{article} accepts 10pt, 11pt and 12pt only. For anything else, switch to extsizes (extarticle with options up to 20pt), add \usepackage[fontsize=13pt]{scrextend} to any class, or set fontsize=13pt on a KOMA-script class. \documentclass[14pt]{article} does nothing except print an Unused global option(s) warning in the log.
    Why did \footnotesize change the line spacing as well as the glyph size?
    Size switches set \baselineskip and the surrounding display skips at the same time they select the font, which is what keeps a small block of text from having oversized gaps between its lines. If you want smaller glyphs on the same leading, that is a leading question, not a size question: \linespread{factor}\selectfont or the setspace package.
    How do I use a font size that is not in the list, like 13pt?
    Do not try to name it as a switch. Either change the base size (extsizes, scrextend, KOMA fontsize) so that one of the ten rungs lands where you want it, or scale the font: \usepackage{fontspec} with \setmainfont{...}[Scale=1.08] under XeLaTeX or LuaLaTeX. For one-off oversized material \Huge plus a class-defined heading style is usually the honest answer.

    Live playground: edit the LaTeX, see it render

    The preview updates as you type — break it on purpose to see how errors look.

    KaTeX error
    Try an example

    Keep reading

    Three ways into the same idea: the notation itself, the lesson that teaches it, and an article that applies it.