Renderer support
| Package | MathJax | KaTeX | XeTeX |
|---|---|---|---|
physics | MathJax: Full | KaTeX: None | XeTeX: Full |
Syntax#
\qqtexts*starm:T{a}text contentArgspec s m:T — one optional and one mandatory argument. Reading argspecs
Examples#
In TeXForm#
TeXForm parses this entry as prefix syntax; the package determines its argument specification.
Expands to#
\qqtext{#1} \quad\text{#1}\quad If the command is starred, the initial \quad is omitted, yielding \text{#1}\quad .
Equivalent forms#
\qqtext{#1} ≈ \quad\text{#1}\quadexact\qqtext*{#1} ≈ \text{#1}\quadexact
See also#
Test cases#
| Input | Case | MathJax | KaTeX | XeTeX |
|---|---|---|---|---|
\qqtext{a} | Positive · baseline | Pass | Fail | Pass |
\qqtext*{a} | Positive · vary:s[0] | Pass | Fail | Pass |
\qqtext a | Positive · bare[1] | Pass | Fail | Pass |
\qqtext{a^2} | Negative · neg:T[1] | Pass | Fail | Fail |