back

by mbustamanter·5y ago·view on hn ↗
I am actually thinking of starting a math blog where I have to use extensive use of mathematical symbols. Using computer modern would also be nice. My idea was to keep the blog as minimalistic as possible, but I have not figured out how to do it the way I like. Terry Tao's blog [0] uses images for math symbols, and other people use MathJax [1] (but macros, which are used for convenience take too long to load). Maybe I'll just have to keep linking to PDFs.

[0] https://terrytao.wordpress.com/

[1] https://www.mathjax.org/

4 comments
MathJax works well for me, but I also don't make extensive use of macros. It's also possible to demacro your tex.

I'll also note that Terry started his site a long time ago, when mathjax either didn't exist or worked poorly. He's used the same latex2html compiler for a long time (as it isn't broken), but the images are pretty silly. Now it's pretty straightforward to make a simple math site [1] (in the style of the bettermotherfucking website [2]).

[1]: https://davidlowryduda.com/static/simplemathpage.html [2]: http://bettermotherfuckingwebsite.com

KaTeX is much faster, but has more limited support for macros. It is a good choice for little or moderate math content, but for some use cases Mathjax is (almost) the only practical choice.
If you want to go with a default LaTeX style, you could look into LaTeX.css [0] (disclaimer: I'm the author of the project).

[0] https://latex.vercel.app/

Math-heavy documents using MathJax seem to take longer to load than PDF versions of similar documents, and don’t look quite as good. I would say, for highly mathematical content, you might as well just use LaTeX and link to PDFs. You can use hyperlinks to go back and forth between PDF and HTML documents, so the experience can be basically seamless for the reader. It helps to format the PDFs with web reading in mind, rather than using typical journal paper styles.