Documentation/Math & Equations/How to Make Math Symbols Bold in LaTeX (\boldsymbol, \bm, \mathbf)
Math & Equations

How to Make Math Symbols Bold in LaTeX (\boldsymbol, \bm, \mathbf)

Bold math symbols are used to denote vectors, matrices, and tensors across many disciplines. LaTeX offers several commands — \mathbf, \boldsymbol, and \bm — each with different capabilities and limitations. Choosing the right one depends on whether you're bolding Latin letters, Greek letters, or operators. Bibby AI intelligently suggests the appropriate bold command based on context, eliminating the guesswork that plagues users in Overleaf.

\mathbf for Latin Letters Only

\mathbf works for uppercase and lowercase Latin letters but produces upright (non-italic) bold, and it does NOT work on Greek letters or math symbols:

\documentclass{article}
\usepackage{amsmath}
\begin{document}

% Works: Latin letters
$\mathbf{A} \mathbf{x} = \mathbf{b}$

% FAILS: Greek letters (\mathbf{\alpha} just gives regular alpha)
$\mathbf{\alpha}$ % Does NOT produce bold alpha!

% Note: \mathbf makes letters upright (not italic)
$\mathbf{v}$ vs $v$ % bold upright vs italic

\end{document}

\bm for Everything (Recommended)

The bm package provides \bm{}, which makes ANY math symbol bold while preserving italics. This is the most versatile option:

\usepackage{bm}

% Bold italic Latin letters
$\bm{v} = \bm{a} + \bm{b}$

% Bold Greek letters (works!)
$\bm{\alpha}, \bm{\beta}, \bm{\Sigma}$

% Bold operators and symbols
$\bm{\nabla} f, \quad \bm{\hat{e}}_1$

% Bold entire expressions
$\bm{A^{-1}b}$

\boldsymbol as a Fallback

\boldsymbol from amsmath works for many symbols but can fail for some. It's available without extra packages but less reliable than \bm:

\usepackage{amsmath}

% Works for Greek letters
$\boldsymbol{\alpha}, \boldsymbol{\beta}$

% Works for most math symbols
$\boldsymbol{\nabla} \times \boldsymbol{E}$

% Practical recommendation: define shortcuts
\newcommand{\vect}[1]{\bm{#1}}
\newcommand{\mat}[1]{\bm{#1}}

$\vect{x} = \mat{A}^{-1} \vect{b}$

💡 Tips

  • Use \bm{} as your default — it handles Latin, Greek, and symbols uniformly with bold italic.
  • Define semantic commands like \vect{} and \mat{} so you can change the bold style globally later.
  • \mathbf produces upright bold, which is correct for matrix names (\mathbf{A}) in some conventions.
  • If \bm fails on a specific symbol, try \pmb{} (poor man's bold) — it works by overprinting, so use as a last resort.

Try This in Bibby AI

Write LaTeX faster with AI auto-complete and instant compilation.

Start Writing Free

Related Tutorials

How to Make Math Symbols Bold in LaTeX (\boldsymbol, \bm, \mathbf) | Bibby AI