Getting Bold Text Inside Math Mode
Math mode in LaTeX doesn't bold things the way you'd expect. The default \textbf command just disappears or throws an error depending on your setup. You need specific packages or commands to actually get bold glyphs in equations. This is one of those things that trips people up constantly, and honestly, the solutions aren't all that well documented outside of old stack exchange threads. Regular text boldface uses font weight changes. Math mode uses completely separate font families. The computer modern math fonts don't even have bold variants built in by default. When you try \textbf{x} inside math mode, you're essentially asking LaTeX to apply a text formatting command to a math glyph. It ignores it or errors out. The fix requires either loading a package that provides bold math fonts or building boldness from the existing math alphabet. I spent three hours last month debugging a thesis document where the advisor wanted every vector and matrix symbol in bold throughout the equations. The document compiled fine but produced regular italic math symbols everywhere. I had been using \mathbf on Greek letters like \alpha and \beta, which just returns them unchanged because Greek letters don't have bold math font variants in standard CMYK output. The workaround was switching to the bm package and using \bm{} instead, which actually thickens the stroke of any glyph whether it's Latin or Greek.
The bm Package Approach
Load it with \usepackage{bm} and then use \bm{expression} anywhere you need bold math. This works across most delimiters, subscripts, superscripts, and nested fractions. It's the cleanest solution and handles edge cases better than manual overrides. The downside is it changes the appearance slightly — the strokes are thicker rather than switching to a dedicated bold typeface, which matters if you're submitting to a journal with strict font requirements. If you can't load additional packages, there are workarounds. The \boldsymbol command from amsmath does roughly the same thing as bm but with less consistent coverage, particularly on stacked fractions and binomial coefficients. I ran into a case where \boldsymbol{\frac{a}{b}} produced misaligned numerator and denominator because it wraps each piece individually before boldening. The bm package handles this correctly by rendering the entire expression first and then applying the bold weight uniformly. For simple Latin variables only, \mathbf{} works fine. It won't touch Greek letters or calligraphic fonts, but if you're only dealing with x, y, z style symbols it gets the job done without any package dependencies.
Practical Considerations
The biggest issue I keep running into is inconsistency across different output formats. PDF output with bm looks sharp. But when I compile to postscript for a printer, some of the bold math glyphs degrade because the underlying stroke-thickening algorithm doesn't map cleanly to Type 1 font substitution. I've started keeping a fallback set of equations using regular weight with explicit notes for the typesetter rather than risk inconsistent bold rendering in print runs. If you're working in Overleaf or a similar environment, bm is available by default. If you're dealing with an older university template that pins an outdated amsmath version, \boldsymbol might be your only option and you'll need to check each equation manually for alignment issues. It usually takes about ten minutes to audit a twenty-page document this way, and it saves you from getting a revision request on the final proof stage.
Get the Full Details
