# 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$ (external link). The rendering is done during site generation; there’s no client-side JavaScript needed. $\KaTeX$ isn’t a full $\TeX$ environment, but I haven’t found it lacking.

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

$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.