Renderer support
| Package | MathJax | KaTeX | XeTeX |
|---|---|---|---|
base | MathJax: Full | KaTeX: Full | XeTeX: None |
textmacros | MathJax: Full | KaTeX: Full | XeTeX: None |
Syntax#
\mskipm:L{1em}dimensionArgspec m:L — one mandatory argument. Same argspec in base and textmacros. Reading argspecs
Examples#
Package variants#
| Package | Signature | Allowed mode | Notes |
|---|---|---|---|
base | m:L | math | Manual math spacing between atoms using an explicit dimension. |
textmacros | m:L | text | Used to insert an explicit skip amount written as a dimension value. |
In TeXForm#
TeXForm parses this entry as prefix syntax; the package determines its argument specification.
Collapse mskip to the explicit mspace command.
\mskip #1 \mspace{#1}Equivalent forms#
\mspace #1exactMathJax maps both names to the same parse method with no extra unit check.
\hskip{5mu}exact\mspace{#1}exact
See also#
Test cases#
| Input | Case | MathJax | KaTeX | XeTeX |
|---|---|---|---|---|
\mskip{1pt} | Positive · baseline | Pass | Pass | Fail |
\mskip 1pt | Positive · bare[0] | Pass | Pass | Fail |
\mskip{a} | Negative · neg:L[0] | Fail | Fail | Fail |
| Input | Case | MathJax | KaTeX | XeTeX |
|---|---|---|---|---|
\mskip{1pt} | Positive · baseline | Pass | Pass | Fail |
\mskip 1pt | Positive · bare[0] | Pass | Pass | Fail |
\mskip{a} | Negative · neg:L[0] | Fail | Fail | Fail |