Renderer support
| Package | MathJax | KaTeX | XeTeX |
|---|---|---|---|
physics | MathJax: Full | KaTeX: None | XeTeX: Full |
Syntax#
\vbs*starm{a}math contentArgspec s m — one optional and one mandatory argument. Reading argspecs
Examples#
In TeXForm#
TeXForm parses this entry as prefix syntax; the package determines its argument specification.
Canonicalize vb to an explicit mathbf wrapper.
\vb{#1} \mathbf{#1}Equivalent forms#
\vectorbold{x}exact\mathbf{x}approximateStandard LaTeX equivalent for non-starred usage
\boldsymbol{x}approximateStandard LaTeX equivalent for starred usage
See also#
\vectorboldphysics
Test cases#
| Input | Case | MathJax | KaTeX | XeTeX |
|---|---|---|---|---|
\vb{a} | Positive · baseline | Pass | Fail | Pass |
\vb*{a} | Positive · vary:s[0] | Pass | Fail | Pass |
\vb a | Positive · bare[1] | Pass | Fail | Pass |