Renderer support
| Package | MathJax | KaTeX | XeTeX |
|---|---|---|---|
base | MathJax: Full | KaTeX: Full | XeTeX: Partial |
Syntax#
\mathchoicem{a}math contentm{b}math contentm{c}math contentm{d}math contentArgspec m m m m — four mandatory arguments. Reading argspecs
Examples#
In TeXForm#
TeXForm parses this entry as prefix syntax; the package determines its argument specification.
Test cases#
| Input | Case | MathJax | KaTeX | XeTeX |
|---|---|---|---|---|
\mathchoice{a}{b}{c}{d} | Positive · baseline | Pass | Pass | Pass |
\mathchoice a{b}{c}{d} | Positive · bare[0] | Pass | Pass | Fail |
\mathchoice{a}b{c}{d} | Positive · bare[1] | Pass | Pass | Fail |
\mathchoice{a}{b}c{d} | Positive · bare[2] | Pass | Pass | Fail |
\mathchoice{a}{b}{c}d | Positive · bare[3] | Pass | Pass | Fail |