LaTeX text size

A practical review of LaTeX text-size commands: what they change in source and output, when they help, and when plain text is the better choice.

Is this transformation suitable for your intended use?

LaTeX text-size commands fit well when you are writing for a TeX engine, or a math renderer that accepts the same switches, and you need type hierarchy that follows the document class: body at the class default, notes and captions a step smaller, a short label or heading a step larger. The main benefit is that size is declared in named steps tied to that default, so the whole document stays on one scale instead of a scatter of one-off measurements.

The decisive tradeoff is that size lives in markup the destination must compile. The words keep their meaning; the appearance travels with the letters only after LaTeX runs or a compiled page is opened. Overusing huge or tiny switches fights the class, can overflow boxes, and makes the source harder to scan. Plain text is preferable when you are exchanging content for email, tickets, diffs, search, forms, or any editor that will not typeset the file. Size is presentation. If the file will never be compiled, the commands are extra syntax with no visual payoff.

What this transformation actually changes

The mechanism is formatting. You add a size switch in the source; at compile time the engine selects a matching font size and lays out the glyphs. Character order, Unicode code points, and the letters you typed stay in place. This is a stored-markup change that produces a visual size change in the compiled view. String reversal, mirrored glyph appearance, decorative look-alike substitution, and bidirectional display flipping are separate operations.

Calling the result a font change is easy to over-read. In ordinary use you are changing size, often with the same family and the optical design that belongs to that size, rather than picking a new typeface. It is also a different layer from a CSS font-size rule. CSS applies in HTML. LaTeX size commands apply in the TeX run, unless a later pipeline maps those commands onto HTML and CSS, in which case you have two presentation systems and should treat them as such.

Scope is grouping. A switch such as \large stays in effect until the group ends or another switch replaces it. Wrapping the command and its text in braces keeps the change local. An explicit pair, \fontsize with a size and a baseline skip, then \selectfont, sets a numeric size instead of a named step. Named steps still follow the class option (commonly 10, 11, or 12 point for the body). This review does not measure the resulting point sizes; they vary by class, option, and font setup.

{\Large A short label}

The following sentence returns to the size that was in force outside the group.

\fontsize{12}{14.5}\selectfont
Same letters; size and baseline skip are set numerically.

In that pattern the input characters and the output characters are the same run of text. Combining marks and multi-code-point emoji, when present, keep their stored order because nothing is reversing or reshaping the code-point sequence. What changes is how large the engine draws the run, and how tightly the lines are spaced.

CommandUsual role
\tinySmallest standard switch; cramped labels
\scriptsizeA step above tiny; often used where space is tight
\footnotesizeFootnotes and similar secondary matter
\smallSlightly smaller than body copy
\normalsizeClass default body size
\largeFirst step up; short emphasis or minor headings
\LargeFurther step up
\LARGEDisplay-scale type still below the largest switches
\hugeVery large display type
\HugeLargest standard switch

Math mode has a related but separate set of style commands (display, text, script, scriptscript). Those change the math style, which also changes apparent size, and they are a different set from the ten text-mode switches above. If the goal is a numbered section or a real heading, a sectioning command carries structure that size alone does not.

Will the result stay readable and usable after copying or sharing?

You are usually sharing one of two artifacts: the source, which still contains the size commands, or a compiled page such as a PDF, which shows the sized type. Copy and paste follows the artifact. Claims below about specific apps or assistive technology are out of scope; no named destination was tested for this review.

  • Share the source: the words remain editable, search in the file finds the original letters, and a TeX-aware environment can recover the sized layout. A reader without that environment sees markup.
  • Share a compiled PDF: readers see the larger or smaller type. Pasting from the page typically yields the words without the size commands, and hyphenation or line breaks from the layout can appear in the paste.
  • Share stripped plain text: the meaning of the sentences is intact. Any hierarchy that existed only as a size switch is gone unless you replace it with structure (headings, lists, or explicit labels).

Reading order of the characters is unchanged because the transformation does not reverse or mirror the stored string. Visual reading order on a typeset page still follows the document’s language and direction settings, which size commands do not replace. Accessibility is the open gap: size-alone emphasis is a weak stand-in for semantic structure, and how a given screen reader or PDF tag tree announces larger type depends on how the file was produced. That behavior was not verified here, so it should not be assumed to hold in every environment.

Search and editing follow the same split. In the source, search matches the original words; the size commands sit beside them as markup. In a PDF, search quality depends on the extractor and the way fonts were embedded, which is unverified for any named tool. You edit size in the source. Appearance inside a copied PDF extract is not a reliable place to make that edit.

Keep a plain-text equivalent when the next step is grep, diff, paste into a form, archival as content, or hand-off to people who will not run LaTeX. Keep the sized source when the deliverable is a typeset document and the size steps are doing real hierarchy work. If you only need the words to be understood, skip the transformation.

What this review does not settle

Exact rendered point sizes for each named switch were not measured. Copy and paste into particular editors, browsers, or mail clients was not tested. Assistive-technology behavior was not tested. Packages that remap size commands, and HTML or CSS pipelines that approximate them, can differ from core LaTeX; those paths need their own check against the engine you actually use.