Earlier quoted context omitted.
Honestly, I really don't know. MathJax has been very janky for some reason. I have tried using KaTeX ( https://katex.org ) but couldn't get it to work properly and some equations just looked "off".
I had to give up on both: they seem great until your page needs more than 10 formulae and it starts to take quite a lot of seconds for your page to finish loading for folks. Instead I switched to preprocessing my pages to extract latexy blocks, literally run them through latex and pdf2svg to turn them into clean SVG image and replace the on-page latex code with presized elements: now your content doesn't jump around…
Show HN: LaTeX.css – Make your website look like a LaTeX document
41–50 of 113 posts
Re: Show HN: LaTeX.css – Make your website look like a LaTeX document
#42I hated the look of LaTeX documents when I first started university, especially the font. I don't know what happened, but I eventually fell in love Computer Modern. Something about it just looks great. Maybe it's just Stockholm Syndrome.
Re: Show HN: LaTeX.css – Make your website look like a LaTeX document
#43Re: Show HN: LaTeX.css – Make your website look like a LaTeX document
#44Re: Show HN: LaTeX.css – Make your website look like a LaTeX document
#45I hated the look of LaTeX documents when I first started university, especially the font. I don't know what happened, but I eventually fell in love Computer Modern. Something about it just looks great. Maybe it's just Stockholm Syndrome.
The problem is that it's much too thin and therefore hard to read on computer screens. I'm sure it looks great on paper printed with the old Xerox laser printers that were around when it was made, but in its current form it's just way too thin to be read on a screen. Someone on a German forum made a wider version of it which (imo) looks much better [1]. [1] https://www.typografie.info/3/topic/22238-ist-die-computer-m…
Related: the serif font Equity comes in two grades to compensate for such types of printers (though both grades are thicker than Computer Modern), and discusses the rationale for this feature: https://mbtype.com/pdf/equity-type-specimen.pdf#page=5
Re: Show HN: LaTeX.css – Make your website look like a LaTeX document
#46Why do some of the equations show up as rendered by MathJax, but others still read `$\mathbb{R}$`?
Re: Show HN: LaTeX.css – Make your website look like a LaTeX document
#47I hated the look of LaTeX documents when I first started university, especially the font. I don't know what happened, but I eventually fell in love Computer Modern. Something about it just looks great. Maybe it's just Stockholm Syndrome.
I think it's because the font is correlated with higher-than-average quality for random docs one finds on the web.
However, there is a part of the curve where random failed grad student and retired professors become conspiracy cranks and email you half-baked theories about the shape of the universe, typeset in Latex -- and those get through the filter unfortunately.
Re: Show HN: LaTeX.css – Make your website look like a LaTeX document
#48Putting anything mathematics-related on the Web and making it look half-decent is such a chore. Thank you for making it easier!
MathJax and KaTeX are a great thing, but there's a contrast between formulas and the rest of the document unless you use something like this.
The comments here as of now fall into two groups:
- "Who needs it and why?"
People who want to present or discuss mathematics and proofs on the Web. If you ask, you're not one of them.
- "This does not exactly like LaTeX!"
Duh. It does not. Only TeX looks like TeX.
You know what else TeX does? It takes forever to compile, and the nice-looking result is a PDF that most people will be too lazy to download.
So, we have the ArXiV. And if your website is not the ArXiV, linking to PDFs is far from ideal. Static generation is a chore.
This is a compromise.
TL;DR: great work, much needed and appreciated
Re: Show HN: LaTeX.css – Make your website look like a LaTeX document
#49I hated the look of LaTeX documents when I first started university, especially the font. I don't know what happened, but I eventually fell in love Computer Modern. Something about it just looks great. Maybe it's just Stockholm Syndrome.
I think a lot of people go through a life cycle of Computer Modern. I originally was indifferent, but once I learned LaTeX I used it since it was the default and it signaled to people that I knew LaTeX. Now I prefer Utopia/Fourier instead. Computer Modern seems to "thin", in my opinion, but I still use it on occasion. Some colleagues of mine really love it, though. I can see why some people like it since it's the def…
Re: Show HN: LaTeX.css – Make your website look like a LaTeX document
#50[1] https://www.youtube.com/watch?v=jlX_pThh7z8 (video)