Renderer support
| Package | MathJax | KaTeX | XeTeX |
|---|---|---|---|
base | MathJax: Full | KaTeX: Full | XeTeX: None |
textmacros | MathJax: Full | KaTeX: Full | XeTeX: None |
Syntax#
\mkernm: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 | Fine math kerning between symbols where the inserted space should not become a line-break opportunity. |
textmacros | m:L | text | Used for explicit kerning-style horizontal spacing adjustments. |
In TeXForm#
TeXForm parses this entry as prefix syntax; the package determines its argument specification.
Collapse mkern to the explicit mspace command.
\mkern #1 \mspace{#1}Equivalent forms#
\mspace{10mu}approximate\mspaceis the macro equivalent\kern 10ptapproximate\kernuses absolute units rather than mu\mspace{#1}exact
See also#
Test cases#
| Input | Case | MathJax | KaTeX | XeTeX |
|---|---|---|---|---|
\mkern{1pt} | Positive · baseline | Pass | Pass | Fail |
\mkern 1pt | Positive · bare[0] | Pass | Pass | Fail |
\mkern{a} | Negative · neg:L[0] | Fail | Fail | Fail |
| Input | Case | MathJax | KaTeX | XeTeX |
|---|---|---|---|---|
\mkern{1pt} | Positive · baseline | Pass | Pass | Fail |
\mkern 1pt | Positive · bare[0] | Pass | Pass | Fail |
\mkern{a} | Negative · neg:L[0] | Fail | Fail | Fail |