4 ms·
You can compare MathJax, KaTeX, and your browser's MathML support with this website I made: https://mk12.github.io/web-math-demo/ https://mk12.github.io/web-mat
by mk12 3y ago
You can compare MathJax, KaTeX, and your browser's MathML support with this website I made: https://mk12.github.io/web-math-demo/ https://mk12.github.io/web-math-demo/
- xworld21 3y agoCool! Would you consider adding a web font with the proper OpenType features to render the MathML content? The Igalia work in Chrome is quite decent when the font is good, but for now it needs to be set via CSS (presumably Chrome does not feel like bundling a math font just yet). Some nice demos are at https://fred-wang.github.io/MathFonts/mozilla_mathml_test/ https://fred-wang.github.io/MathFonts/mozilla_mathml_test/ (with Latin Modern, the TeX Gyre's, FiraMath – other fonts are still glitchy).
- mk12 3y agoOh interesting, I didn't realize that. I will try to look into that sometime (or would accept a patch if anyone else wants to).
- runarberg 3y agoNice. Do you accept PRs for other libraries. I wrote one myself a bit ago and wouldn’t mind seeing it there
- mk12 3y agoSure, if it's a viable alternative (e.g. can at least handle all the examples in the dropdown), I'd accept a PR to include it.
- Paul-Craft 3y agoNeat. Have you considered adding latex.js to the site?
- mk12 3y agoThanks. I hadn't heard of latex.js before, but I just looked it up now, and it says "Math is typeset using KaTeX."
- Paul-Craft 3y agoI wasn't aware of that. Where did you find that info?
- mk12 3y agoIt says it in Section 9 of the default example loaded in the playground: https://latex.js.org/playground.html https://latex.js.org/playground.html
- Paul-Craft 3y agoOf course. Thanks! Silly me, looking in the documentation... lol