KaTeX – Fast math typesetting library for the web
We tried using KaTeX for <a href="https://www.arxiv-vanity.com" rel="nofollow">https://www.arxiv-vanity.com</a> but unfortunately it doesn’t support a lot of commonly used stuff. I forget what most of that was now... over/underbrace is one I recall.<p>In the end we used MathJax pre-rendered on the server, which is the same speed as pre-rendered KaTeX: <a href="https://github.com/mathjax/MathJax-node" rel="nofollow">https://github.com/mathjax/MathJax-node</a><p>We’ve also done lots of tweaking to make it support as much stuff on the arXiv as possible. Our MathJax config is a fun read: <a href="https://github.com/arxiv-vanity/engrafo/blob/master/src/converter/math.js" rel="nofollow">https://github.com/arxiv-vanity/engrafo/blob/master/src/conv...</a>