Renderer support
| Package | MathJax | KaTeX | XeTeX |
|---|---|---|---|
base | MathJax: Full | KaTeX: Full | XeTeX: Partial |
Syntax#
\hboxm:T{a}text contentArgspec m:T — one mandatory argument. Reading argspecs
Common tasks#
How to freeze the size of a label#
Examples#
In TeXForm#
TeXForm parses this entry as prefix syntax; the package determines its argument specification.
Equivalent forms#
\mbox{#1}exactIn MathJax base, both map to BaseMethods.HBox with style 0.
See also#
Test cases#
| Input | Case | MathJax | KaTeX | XeTeX |
|---|---|---|---|---|
\hbox{a} | Positive · baseline | Pass | Pass | Pass |
\hbox a | Positive · bare[0] | Pass | Pass | Fail |
\hbox{a^2} | Negative · neg:T[0] | Pass | Fail | Fail |