Skip to Content

Math

Part of a series about Diplograph’s Design, this note is a mix of design documentation and test content.

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 nineteenth century revival of late eighteenth century Didones.

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