Mathematics is a language that needs a typographer fluent in two dimensions.
The Hard Case
Mathematical notation is the hardest common problem in typesetting: symbols stacked in two dimensions, fractions, subscripts of subscripts, special alphabets, and spacing rules that change with context. In Hot Metal Typesetting it was slow and expensive; early Phototypesetting1 did it badly. That failure led Donald Knuth to build TeX.
TeX and LaTeX
TeX, first released in 1978 and rewritten as TeX82, treats typesetting as computation. It sets a paragraph by considering all possible line breaks at once and choosing the best combination (the Knuth-Plass algorithm, see Justification and Hyphenation), and encodes the spacing conventions of mathematics in detail. Leslie Lamport's LaTeX, a set of macros released in the 1980s, made TeX practical for ordinary authors, separating structure (\section, \begin{theorem}) from presentation. The default face is Knuth's Computer Modern,2 now commonly Latin Modern.
Legacy
LaTeX became the standard for mathematics, physics, and computer science, and its look is the look of the scientific paper. On the web, MathJax and KaTeX render TeX notation in browsers, which is how Obsidian displays math in this vault. Kenneth's Reitz LaTeX theme borrows LaTeX's page, not its math: the measure, the heading ratios, and the reading face (see Draft to Document Why I Made My Notes Look Like LaTeX Papers).
Further Reading
The TeXbook is Knuth's own manual. The TeX point (1/72.27 inch) is a small fossil of the hot metal world inside every LaTeX document.
Related
- Donald Knuth
- The TeXbook
- Computer Modern
- Latin Modern
- Microtypography
- Justification and Hyphenation
- Practice & Principles
Phototypesetting replaced metal with light. Letter images were stored as film negatives on discs, grids, or strips, and the machine flashed light through them onto photographic paper or film, which was then used to make offset printing plates.↩
Computer Modern is the family Donald Knuth designed for TeX (see Typesetting Math with TeX).↩