Renderer support
| Package | MathJax | KaTeX | XeTeX |
|---|---|---|---|
physics | MathJax: Full | KaTeX: None | XeTeX: Full |
Syntax#
\vectorbolds*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.
Collapse vectorbold to the short vb helper.
\vectorbold{#1} \vb{#1}Equivalent forms#
\mathbf{x}approximateStandard LaTeX equivalent for non-starred usage
\boldsymbol{x}approximateStandard LaTeX equivalent for starred usage
See also#
\vbphysics
Test cases#
| Input | Case | MathJax | KaTeX | XeTeX |
|---|---|---|---|---|
\vectorbold{a} | Positive · baseline | Pass | Fail | Pass |
\vectorbold*{a} | Positive · vary:s[0] | Pass | Fail | Pass |
\vectorbold a | Positive · bare[1] | Pass | Fail | Pass |