A JavaScript display engine for mathematics that works in all browsers.
No more setup for readers. It just works.
在 MathJax 的官方文档 What is MathJax? 中有以下文字:
MathJax is an open-source JavaScript display engine for LaTeX and MathML that works in all modern browsers. ...
MathJax uses web-based fonts (in those browsers that support it) to produce high-quality typesetting that scales and prints at full resolution (unlike mathematics included as images)....
MathJax is modular, so it loads components only when necessary, and can be extended to include new capabilities as needed. MathJax is highly configurable, allowing authors to customize it for the special requirements of their web sites. Finally, MathJax has a rich application programming interface (API) that can be used to make the mathematics on your web pages interactive and dynamic.
要点总结如下:
MathJax 是开源的高质量的数学公式渲染引擎
支持现代浏览器
模块化,按需加载
总文件非常大,只能按需加载
正如 MathJax 官网 所说的 「 It just works.」一样, 一般使用 mathjax 非常简单:
If you write your own HTML (directly or via a template/theme engine), you can include MathJax by adding this snippet to your page: