[Tex/LaTex] How to make all math equations bold by default

boldequations

I am using the bm package which provides the \bm command to boldify equations.
However, all my equations need to be bold, and I find using the \bm command tedious. Is there a way to make the equations (including inline equations) bold by default without wrapping them with the \bm command?

Best Answer

The \boldmath macro does this. It is provided by the LaTeX core and switches to bold math for all following math material. There is an \unboldmath to switch it off again. These macros must be used outside the math code.

\documentclass{article}

\begin{document}
\boldmath

$x=2$

\[ x=2 \]

\end{document}