I've read suggestions to use \boldsymbol, but it seems to just be another name for \bm. The command \mathbf seems to have no effect whatsoever. Command \pmb makes it "super" bold, and a bit ugly (but that might have to do).
And none of these bold across an alignment character.
Command \boldmath kicks back the warning that it is not valid in math mode (which sounds like an oxymoron), making it difficult to use on the last line of an align statement. OTOH \mathbold doesn't cause any problems, or any bolding.
So how do you bold math? Especially math with \sec, \frac, \nicefrac in it at the end of a long \align statement, and maybe including the alignment character (unless that's a deal breaker).
I'd provide an MWE, but there is no one original copy. Instead, here are sample lines I would like to be able to bold.
Code: Select all
\documentclass[14pt,fleqn,reqno]{extarticle}
\usepackage{amsfonts,amsmath,amssymb,amsthm}
\usepackage{bm,nicefrac}
\begin{document}
Bold these lines
\begin{align*}
\vdots \\
&\sec \left(\frac{\pi}{4}x\right) \\
&\sec \left(\nicefrac{\pi x}{4}\right)
\end{align*}
\end{document}