Renderer support
| Package | MathJax | KaTeX | XeTeX |
|---|---|---|---|
base | MathJax: Full | KaTeX: None | XeTeX: Partial |
Syntax#
\hsizem:L{1em}dimensionArgspec m:L — one mandatory argument. Reading argspecs
Examples#
In TeXForm#
TeXForm parses this entry as prefix syntax; the package determines its argument specification.
Equivalent forms#
\hsize=#1exactMathJax also accepts an optional literal = before the dimension, but that prefix is not representable in the current ArgSpec model.
\hsize #1exactUnbraced raw dimensions are accepted as long as they form a valid TeX dimension with units.
Test cases#
| Input | Case | MathJax | KaTeX | XeTeX |
|---|---|---|---|---|
\hsize{1pt} | Positive · baseline | Pass | Fail | Fail |
\hsize 1pt | Positive · bare[0] | Pass | Fail | Pass |
\hsize{a} | Negative · neg:L[0] | Fail | Fail | Fail |