Skip to Content

Math

Math is typeset with KaTeX\KaTeX (external link). The rendering is done during site generation; there’s no client-side JavaScript needed. KaTeX\KaTeX isn’t a full TeX\TeX environment, but I haven’t found it lacking.

Both inline C(n,k)=(nk)=n!k!(nk)!C(n, k) = \binom{n}{k} = \frac{n!}{k!(n-k)!} and display variants are supported:

C(n,k)=(nk)=n!k!(nk)! C(n, k) = \binom{n}{k} = \frac{n!}{k!(n-k)!}

The primary type is based on Computer Modern, developed by Donald Knuth in METAFONT. Knuth based his designs on Monotype Modern, a 19th century revival of late 18th century Didones.

See Also
Ink’s CommonMark Extensions: Math
Typesetting Math Without Computers Was a Whole Thing