You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
MathJax does not implement dimen registers, count registers, token registers, boxes, or many of the other low-level internals of actual TeX. In particular, the means \thickmuskip and other similar registers, are not implemented. MathJax only processes explicit dimensions for \mskip and other macros that take dimensions.
This was also true in v2. There reason your example "worked" is that v2 had a very simplistic approach to array environment preambles: it completely ignored any characters other than c, l, and r, so your r@{\mskip\thickmuskip}l was reduced to rcl (the 'c' from within the "thick" in \thickmuskip) before being processed. In contrast, v4 implements most of the array preamble options from array.sty, and so actually tries to handle \mskip\thickmuskip, but it looks for an explicit dimension, and can't process \thickmuskip (which is not defined in MathJax in any case).
As you may have guessed, \; is not short for \mskip\thickmuskip in MathJax.
Issue Summary
\mskip\thickmuskip
yieldsMissing dimension or its units for \mskip
in math mode with MJ4, but shouldn't.Of note:
\;
(shorthand for\mskip\thickmuskip
) doesn't yield an error.Steps to Reproduce:
Observed: Typesetting error
Expected: No typesetting error, like MJ2:
https://codepen.io/alexedgcomb/pen/qBwpByG
Technical details:
I am NOT using a MathJax configuration and loading MathJax via:
Supporting information:
Issue present in MJ4.0.0-alpha.1: https://codepen.io/alexedgcomb/pen/MWRrWPX
Issue NOT present with
\;
in beta.4: https://codepen.io/alexedgcomb/pen/yLrpLxK (also not present in alpha.1)The text was updated successfully, but these errors were encountered: