I’ve been wanting to have a personal site for a long time. I’ve always been very particular in my choice of tech stack, and I had never found anything that felt perfect, until now! This site ticks every box.
- Typst as the content. I’ve been a fan of typst the moment I heard of it (4 years now!). It is the modern Latex, better in every way, extensible etc.
- Static-CMS. Static sites are great, free to host on many platforms, but there was always some friction to actually producing content. Here I can (and you can) edit in the browser, from anywhere and see it live in the website.
Every equation on this page is written in Typst and exported as native MathML. No JavaScript renders it; the browser does, using the same New Computer Modern Math font Typst uses for PDF.1 Firefox has rendered MathML for years; Chromium caught up in version 109, and Safari follows its own WebKit implementation.
Inline and display
The Gaussian integral sits inline, and its -dimensional cousin2 Valid for symmetric positive-definite : diagonalise it and the integral factorises into one-dimensional Gaussians. gets its own line:
Aligned systems
Maxwell’s equations in differential form:3 In SI units. In Gaussian units the factors of and give way to powers of .
Matrices, cases and Dirac notation
The geometric phase picked up around a closed loop is treated in the note on the Berry phase.
A plot drawn with plain Typst
curve and exported as SVG.The escape hatch
If a browser ever draws an equation badly, svg-math renders that one as SVG:
and now this is neat! This is really cool!!