Syntax#
\newcolumntypem{a}math contentO{0}:I[1]optional integerm{b}math contentArgspec m O{0}:I m — one optional and two 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 |
|---|---|---|---|---|
\newcolumntype{a}{b} | Positive · baseline | Pass | Fail | Fail |
\newcolumntype{a}[1]{c} | Positive · vary:o[1] | Pass | Fail | Fail |
\newcolumntype a{b} | Positive · bare[0] | Pass | Fail | Fail |
\newcolumntype{a}b | Positive · bare[2] | Pass | Fail | Fail |
\newcolumntype{a}[a]{b} | Negative · neg:I[1] | Fail | Fail | Fail |