Attention

Version 3 is now the current version of MathJax. This document is for version 2.

What’s New in MathJax v2.4

MathJax v2.4 is primarily a bug fix release. Over 80 display bugs, line-breaking problems, and interface issues have been resolved; for a detailed listing please check the release milestone. The following are some of the highlights.

Security

  • #256 Enable Content Security Policy compatibility.

Interface

  • #240 prevent two identical uses of \tag to cause identical element id.
  • #348 fix Show Math as window crashing in IE8.
  • #559 remove user cookie configuration.
  • #821 resolve cookie-related error in sandboxed iframes on Chrome.
  • #623 fix localization on IE6–8.
  • #685 fix MathMenu and MathZoom extensions loading when showMathMenu set to false.
  • #734 compress menu PNGs.
  • #814 add TeX/Asciimath as annotation-xml to MathML output.

Line-breaking

  • #617 add linebreaking support for mmultiscript elements.
  • #687 fix forced line breaking aligning badly.
  • #707 fix ignored line breaks between two mtext elements.

HTML-CSS/SVG/nativeMML display

  • #387 fix missing styling for merror in SVG output.
  • #391 fix linebreaking within fractions in SVG output.
  • #423, #460, #749, #824 Zoom improvements: fix zoom box overflow in mobile Safari, fix zoom box for widths in px, fix zoom box overlay in Chrome.
  • #470 fix AMScd rendering in native MathML output.
  • #473 override text-ident of enclosing paragraph.
  • #476 improve big /Downarrows.
  • #580 prevent CSS from overriding MathJax’s em/ex detection.
  • #619 fix: vertical stretching arrows in table cells can cause extra space between rows.
  • #699 fix table column spacing in NativeMathML output on Firefox.
  • #701 fix clipping of stretched delimiters in HTML-CSS output.
  • #703 fix math axis not scaled in script sizes.
  • #715 fix hat ^ too large with local STIX fonts in HTML-CSS.
  • #744 improve root symbol rendering in ever-changing but always buggy Chrome.
  • #770 add support for dotted borders to SVG output.
  • #820 fix integral overlapping with superscript using STIX fonts.
  • #813 remove some redundant fixes for Native MML on Firefox 29+.

TeX emulation

  • #367 prevent \mmltoken from creating annotation elements.
  • #377 improve   handling.
  • #389 fix operating spacing in \split and \multiline environments.
  • #477, #459 add \textsf and \texttt macros and enable mtextInheritFont for them.
  • #547 fix misalignment in nested fractions in HTML-CSS and SVG output.
  • #624 fix AMScd on IE6–7.
  • #632 fix \Big not accepting delimiters in braces
  • #667 fix loop in bbox.
  • #691 enable multiple \label in multiline environments like align, eqnarray, and gather.
  • #719 empty array lines should get correct height.
  • #739 fix \operatorname* and \DeclareMathOperator*.
  • #746 fix spacing for \left ... \right.
  • #793 allow unmatched groups in \begin \end` substitutions.
  • #794 fix spacing for \bmod.

Asciimath

  • #353 add option for TeX-like \phi and \varphii behavior.
  • #743 add mmlSpacing option and set to true.
  • #747 fix processing error with invisible grouping.

MathML Handling

  • #328 remove _moz-*-attributes and improve MathML processing in Firefox.
  • #460 fix default value of mo@symmetric.
  • #478 make mfenced element equivalent to its expanded form
  • #561 implement menclose notation phaseorangle.
  • #578 fix quote attributes for ms elements.
  • #614 handle nested math elements better.
  • #684 fix handling of double primes in superscripts.
  • #691, #692, update Content MathML extension: fix IE11, plus with leading negative number.
  • #763 fix mglyph elements rendering too small.

Fonts

  • #501 add workaround for broken Fedora STIX fonts configuration.
  • #517 reset min/max width for MathJax font test.
  • #576 improve font matching.
  • #615 check validity of font names.
  • #681 fix MathJax font test breaking responsive layout.
  • #711 detect new webfonts when locally installed.
  • #697 fix bold-italic for new webfonts.

Localization

  • #753 update locales from translatewiki.net; add Vietnamese, Asturia, Polish, Catalan, Czech, Kannada locales.
  • #777 fix menu orientation for RTL languages.

Misc.

  • #586 add all input processors to default.js.
  • #658 fix IE 11 recognized as Firefox.
  • #730 ignore rendering targets that have been removed from document.
  • #735 work around webfont bug in Chrome 32+.
  • #738 improve workaround for fixed position bug in old IE versions.
  • #737 add third-party path variable (for centralized custom extension hosting).