MathJax

Source: Wikipedia, the free encyclopedia.
MathJax
Developer(s)American Mathematical Society
Stable release
3.2.2[1] / June 8, 2022; 22 months ago (2022-06-08)
Repository
Written in
Cross-platform
TypeMathematical software
LicenseApache License 2.0
Websitewww.mathjax.org Edit this on Wikidata

MathJax is a

ASCIIMathML markup.[2][3][4] MathJax is released as open-source software under the Apache License
.

The MathJax project started in 2009 as the successor to an earlier JavaScript mathematics formatting library,

MathJax is used by web sites including

Features

MathJax is downloaded as part of a web page, scans the page for mathematical markup, and typesets the mathematical information accordingly. Thus, MathJax requires no installation of software or extra

fonts on the reader's system. This allows MathJax to run in any browser with JavaScript support, including mobile devices.[16]

MathJax can display math by using a combination of

SVG rendering.[17]

In the case of HTML and CSS typesetting, MathJax maximizes math display quality by using

fonts are available on the user's system. If this does not work, MathJax provides images of any symbols needed.[clarification needed
] MathJax can be configured to enable or disable web fonts, local fonts, and image fonts.

MathJax uses the

STIX fonts for including mathematics in web pages. Installing the fonts on the local computer improves MathJax’s typesetting speed.[18]

MathJax can display mathematical notation written in LaTeX or MathML markup. Because MathJax is meant only for math display, whereas LaTeX is a document layout language, MathJax only supports the subset of LaTeX used to describe mathematical notation.[16]

MathJax also supports math accessibility by exposing MathML through its API to assistive technology software, as well as the basic WAI-ARIA "role" and older alt attributes.[19]

The MathJax architecture is designed to support the addition of input languages and display methods in the future via dynamically loaded modules. MathJax also includes a JavaScript API for enumerating and interacting with math instances in a page.

Browser compatibility

MathJax renders math in most popular browsers, including Internet Explorer 6+, Firefox 3+, Google Chrome 0.3+, Safari 2.0+, Opera 9.5+, iPhone/iPad Safari, and the Android browser. Some older versions of browsers do not support web fonts (with the @font-face CSS construct), so they have to use MathJax image font mode. The browser compatibility list is available at the official site.[20]

Plugin support

MathJax can be easily added to many popular web platforms.[21]

Node.js

MathJax can be used in Node.js since version 3;[22] for version 2, the MathJax-node library[23] provides Node.js compatibility.

Equation editor compatibility

Any MathJax equation displayed in a supported browser can be copied out in

Mathematica, MathType, MathMagic, Firemath for re-using.[24]

Equations generated in MathML or LaTeX format by any 3rd party equation editor can be used in MathJax enabled web pages.

TeX support

MathJax replicates the math environment commands of LaTeX. AMS-LaTeX math commands are supported via extensions. MathJax also supports TeX macros and miscellaneous formatting like \color and \underline.[25]

MathML support

MathJax added partial support for MathML 2.0 and some MathML 3.0 constructs in its beta 2 release. MathJax supports presentation MathML and, as of version 2.2, provides experimental support for content MathML.[26]

CDN servers

The MathJax site has been providing a content delivery network (CDN) where the JavaScript needed for MathJax to work can be loaded by the browser at run time from the CDN. This simplifies the installation and ensures the latest version of the library is always used. Over time usage of the server has grown from 1.3TB per month traffic in 2011 to 70TB per month in 2017. Due to increasing cost of hosting the server, the main CDN server shut down at the end of April 2017. Alternative third party CDN servers are available.[27]

See also

References

  1. ^ "MathJax v3.2.2". MathJax. 2022-06-08.
  2. ^ "MathJax: Rich Math display from LaTeX and MathML". 17 November 2015.
  3. ^ "MathJax AsciiMath support". Archived from the original on 2018-03-23. Retrieved 2013-04-07.
  4. ISBN 978-0-9926471-0-0.{{cite journal}}: CS1 maint: DOI inactive as of March 2024 (link
    )
  5. .
  6. ^ "AMS becomes managing partner of the MathJax Consortium". 2013-03-20.
  7. ^ "MathJax Sponsorship".
  8. ^ "arXiv.org help – What is MathJax?".
  9. ^ "MathJax on ScienceDirect". Archived from the original on 2014-08-26. Retrieved 2014-08-24.
  10. ^ "MathSciNet What's New".
  11. S2CID 16123116
    .
  12. ^ "Extension:Math - MediaWiki". www.mediawiki.org. Retrieved 2017-04-06.
  13. ^ "What is MathJax?".
  14. ^ "IEEE Xplore Help". ieeexplore.ieee.org. Retrieved 2021-08-05.
  15. ^ "All-Russian Mathematical Portal".
  16. ^
  17. ^ "MathJax v2.0-beta now available on CDN". February 11, 2012.
  18. ^ MathJax Font Help Archived 2012-07-28 at the Wayback Machine accessed 2012-08-14.
  19. ^ "MathJax: Accessibility".
  20. ^ "MathJax: Browser Compatibility". Archived from the original on 2015-04-06. Retrieved 2017-06-05.
  21. ^ "Using MathJax in popular web platforms". Archived from the original on 2017-08-31. Retrieved 2017-06-05.
  22. ^ "What's New in MathJax 3".
  23. ^ "mathjax-node". 5 June 2018.
  24. ^ "Copy and Paste Math".
  25. ^ "MathJax: Supported LaTeX Commands". Archived from the original on 2018-12-16. Retrieved 2017-06-05.
  26. ^ "MathJax MathML Support — MathJax 2.3 documentation". Archived from the original on 2018-12-15. Retrieved 2014-02-14.
  27. ^ "MathJax CDN shutting down on April 30, 2017". MathJax. 31 March 2017.

External links