If you are at all concerned with performance and can sacrifice a couple features (fewer supported text formatting options & mathematical elements, less legacy support for some browsers). Katex is a great alternative. https://katex.org/
MathJax
21–30 of 44 posts
Re: MathJax
#22Re: MathJax
#23(edit 4: my comment is off-topic, sorry) Mathjax reminds me of the AJAX hype. What happened to it? These days no one talks about AJAX. There was material design a few years later but that was just the looks. Is AJAX now replaced with React.js? or a combination of other stuff (like HTML5 and modern-JS and React.js and stuff)? edit: I just looked up Angular and apparently it was rewritten in Typescript, a strict supers…
Re: MathJax
#24(edit 4: my comment is off-topic, sorry) Mathjax reminds me of the AJAX hype. What happened to it? These days no one talks about AJAX. There was material design a few years later but that was just the looks. Is AJAX now replaced with React.js? or a combination of other stuff (like HTML5 and modern-JS and React.js and stuff)? edit: I just looked up Angular and apparently it was rewritten in Typescript, a strict supers…
I think your footnote [3] is a reference to an HN comment of mine. I think you should know I actually like typescript even though the "superset of JS" thing is a bit oversold.
Re: MathJax
#25I use MathJax for rendering equations on https://ultimateelectronicsbook.com/ and it's worked very well from a rendering quality perspective. I looked at Katex for performance, but it didn't support all of the LaTeX formatting that I use. You can scroll through https://ultimateelectronicsbook.com/systems-of-equations/ for a particularly formatting-heavy example with lots of matrix equations and augmented matrices, wo…
Slightly off-topic, but I really like the layout and feel of your website. I find the fonts and colours to be quite pleasing, and the site loads incredibly quickly.
Re: MathJax
#26(edit 4: my comment is off-topic, sorry) Mathjax reminds me of the AJAX hype. What happened to it? These days no one talks about AJAX. There was material design a few years later but that was just the looks. Is AJAX now replaced with React.js? or a combination of other stuff (like HTML5 and modern-JS and React.js and stuff)? edit: I just looked up Angular and apparently it was rewritten in Typescript, a strict supers…
AJAX hype is like indoor plumbing hype. Everyone realized it was good, and now it's everywhere all the time, although only plumbers talk about it. I think your footnote [3] is a reference to an HN comment of mine. I think you should know I actually like typescript even though the "superset of JS" thing is a bit oversold.
For context, as somewhat of an outsider, I knew about Crockford 'JS: The Good Parts' and knew the community cared about working within the limits of a sane "subset" of JS.
A few years later, I hear Typescript is everywhere and JS folks love it. I didn't pay attention to what it really claims to be, but made a connection with the Crockford book, and started mentioning in discussion with acquaintances that it's a subset of JS (it must be because that's what the community wanted).
Lo and behold, one of them heard TS is a "superset", not a subset, and dissed me as a knowledgeable tech person, despite himself knowing so little that barely weeks ago he didn't know the difference between Java and Javascript.
Sorry, I'm done with this mess.
Re: MathJax
#27I use MathJax for rendering equations on https://ultimateelectronicsbook.com/ and it's worked very well from a rendering quality perspective. I looked at Katex for performance, but it didn't support all of the LaTeX formatting that I use. You can scroll through https://ultimateelectronicsbook.com/systems-of-equations/ for a particularly formatting-heavy example with lots of matrix equations and augmented matrices, wo…
I'm developing KeenWrite[0], a desktop-based text editor that provides real-time rendering of TeX. It has two TeX-related HTML export formats: SVG (no rendering for either client or server) or TeX (requires client-side rendering). Behind the scenes it uses a highly-optimized version of JMathTeX[1] that includes a custom renderer to handle translating math font glyphs into SVG paths.
Re: MathJax
#28If you are at all concerned with performance and can sacrifice a couple features (fewer supported text formatting options & mathematical elements, less legacy support for some browsers). Katex is a great alternative. https://katex.org/
Actually, the recent MathJax 3 is quite fast as you can see in this benchmark: https://www.intmath.com/cg5/katex-mathjax-comparison.php?pro... Still not as fast as KaTeX though.
My android phone gets ~2700ms for KaTeX, ~3100ms for MathJax 3, ~17000ms for MathJax 2.7. There were times KaTeX and MathJax traded which I'm guessing is due to page size differences and my poor Internet connection.
Re: MathJax
#29I use them together but there is a pretty noticeable delay with tikzjax - I'm not sure of any alternatives at this point.
Re: MathJax
#30I use MathJax for rendering equations on https://ultimateelectronicsbook.com/ and it's worked very well from a rendering quality perspective. I looked at Katex for performance, but it didn't support all of the LaTeX formatting that I use. You can scroll through https://ultimateelectronicsbook.com/systems-of-equations/ for a particularly formatting-heavy example with lots of matrix equations and augmented matrices, wo…
> If you have the option to consider server-side equation rendering, your users may thank you. I'm developing KeenWrite[0], a desktop-based text editor that provides real-time rendering of TeX. It has two TeX-related HTML export formats: SVG (no rendering for either client or server) or TeX (requires client-side rendering). Behind the scenes it uses a highly-optimized version of JMathTeX[1] that includes a custom ren…
I hope to see more server-side solutions. The customizability and client-side overhead (you only need to render once on the server, possibly with caching) is not something a client-side library can achieve.