npm mathjax 4.0.0-rc.4
MathJax v4.0.0-rc.4

latest release: 4.0.0
2 months ago

This is the release candidate release for version 4.0. The major new features for this version are:

  • The speech generation has been moved to a webworker to improve performance.

  • The expression explorer internals have been rewritten to work more reliably in more browser/os/screen-reader combinations, both during expression exploration, as well as when the page is being read as a whole.

  • The default font has been changed from mathjax-modern to a new font, mathjax-newcm, based on the New Computer Modern font. It has the same look as mathjax-modern, but with more character coverage and a slightly darker weight.

  • MathJax has now moved to using scoped npm packages, so the mathjax-full package is being replaced by @mathjax/src, and the fonts are now of the form @mathjax/mathjax-newcm-font. The mathjax package remains un-scoped, however, so the URLs for obtaining this release of MathJax only need to change the version number.

  • The textmacros package is now included in the combined components by default, so macros within \text{} and other text-mode macros should be processed. See the release notes for more information.

  • The begingroup TeX extension is included in this release. See the release notes for more details.

  • New promise-based versions of the render(), convert(), and rerender() methods of the MathDocument class have been added, so that direct calls to MathJax.startup.document.convertPromise(), etc. can be made with support for asynchronous loads, relieving you from having to use mathjax.handleRetriesFor() yourself. There is also a new whenReady() method that can be used to synchronize your code with MathJax's typesetting pipeline. See the release notes for more information.

Much more documentation is available in the release notes, including information on potential breaking changes, as well as details about how the separation of the speech generation into a webworker affects node applications.

Note that 4.0.0-rc.1 to rc.3 were removed due to issues with the releases (we are using a new release process that had some glitches to be ironed out).

Don't miss a new mathjax release

NewReleases is sending notifications on new releases.