Renderer support
| Package | MathJax | KaTeX | XeTeX |
|---|---|---|---|
boldsymbol | MathJax: Full | KaTeX: Full | XeTeX: Full |
Syntax#
\boldsymbolm{a}math contentArgspec m — one mandatory argument. Reading argspecs
Common tasks#
How to bold an italic math symbol#
How to bold a relation or operator#
Examples#
In TeXForm#
TeXForm parses this entry as prefix syntax; the package determines its argument specification.
Equivalent forms#
\bm{#1}exactRequires the bm package in standard LaTeX; typically preferred over
\\boldsymbol.\mathbf{#1}approximateApplies bold Roman font, which does not bold Greek letters by default and overrides the original font family.
Test cases#
| Input | Case | MathJax | KaTeX | XeTeX |
|---|---|---|---|---|
\boldsymbol{a} | Positive · baseline | Pass | Pass | Pass |
\boldsymbol a | Positive · bare[0] | Pass | Pass | Pass |