答案1
答案2
对我来说,常规符号和数字之间没有区别,\bm
切换字体确实并且间距不同:\boldmath
\mathbf
\documentclass{article}
\usepackage{mathtools}
\usepackage{bm}
\newcommand{\mathcontent}{%
a=f \equiv 2 \mod 4%
}
\begin{document}
\[ a=f \equiv 2 \mod 4\]
\[\bm{a = f \equiv 2 \mod 4}\]
\[\mathbf{a = f \equiv 2 \mod 4}\]
\boldmath
\[ a = f \equiv 2 \mod 4\] \unboldmath
Now all using \verb!\boldmath!
\boldmath
\fboxsep=0pt
\fbox{$\mathcontent$}
\fbox{$\bm{\mathcontent}$}
\fbox{$\mathbf{\mathcontent}$}
\end{document}