adding math to hugo

posted: May 26, 2021

with the help of this nice explanation I was able to add math-typesetting to my blog. The framework is KaTeX and it supports a variety of LaTeX math typesetting.

This enables me to write fomulas like these:

$$ z_{i}(t) = (\lambda + i\omega + \gamma |z_{i}(t)|^{2})z_{i}(t) + \sum_{j=0}^{N} \kappa_{i\leftarrow j} e^{i \phi_{i \leftarrow j}}z_{j}(t - \tau_{i\leftarrow j}) $$

It also allows to write math symbols like $\infty$ within text. This is pretty cool for things like $\tfrac{1}{3}$.