Bold in LaTeX

To make text bold in LaTeX, wrap it in \textbf{…}. In math mode, use \mathbf{…} for upright bold letters such as vectors, and \bm{…} from the bm package for bold italic letters and bold Greek.

LaTeX
This word is \textbf{bold}, and {\bfseries this whole phrase} is too.
OutputA sentence where the word bold and a following phrase are set in bold.
Full document you can compile
example.tex
\documentclass{article}
\begin{document}
This word is \textbf{bold}, and {\bfseries this whole phrase} is too.
\end{document}

What is the difference between \textbf and \bfseries?

\textbf{…} takes its text as an argument. \bfseries is a switch that makes everything after it bold until the group ends, so it is the better fit for a whole paragraph or inside an environment you define.

How do you write math in bold in LaTeX?

\textbf doesn't work on formulas. \mathbf gives upright bold Latin letters and digits, the usual style for vectors and matrices, but leaves lowercase Greek unchanged. For bold Greek or bold italic letters, load bm and use \bm. \boldsymbol from amsmath does the same job; the bm documentation recommends \bm. The double-struck ℝ is a different style, covered in the blackboard bold guide.

LaTeX
\verb|\mathbf|: $\mathbf{v} = \mathbf{F}/m$, \quad
\verb|\bm|: $\bm{v} = \bm{F}/m$, \quad
Greek: $\bm{\alpha}$, $\bm{\nabla}$, $\boldsymbol{\Sigma}$
OutputBold v equals bold F over m with mathbf (upright) and with bm (italic), then bold alpha, bold nabla and bold Sigma.

Needs \usepackage{amsmath}, \usepackage{bm} in the preamble.

Full document you can compile
example.tex
\documentclass{article}
\usepackage{amsmath}
\usepackage{bm}
\begin{document}
\verb|\mathbf|: $\mathbf{v} = \mathbf{F}/m$, \quad
\verb|\bm|: $\bm{v} = \bm{F}/m$, \quad
Greek: $\bm{\alpha}$, $\bm{\nabla}$, $\boldsymbol{\Sigma}$
\end{document}

How do you make a whole formula bold?

Put \boldmath before the formula, outside math mode, inside a group. For a bold word inside a formula, write it as text: \text{\textbf{if}}.

LaTeX
Text in a formula: $\text{\textbf{if}}\ x > 0$, \quad whole formula: {\boldmath $x^2 + \alpha$}
OutputA formula with the bold word if, then the formula x squared plus alpha set entirely in bold.

Needs \usepackage{amsmath} in the preamble.

Full document you can compile
example.tex
\documentclass{article}
\usepackage{amsmath}
\begin{document}
Text in a formula: $\text{\textbf{if}}\ x > 0$, \quad whole formula: {\boldmath $x^2 + \alpha$}
\end{document}

How do you combine bold with italic?

Nest the commands: \textbf{\textit{…}} gives bold italic. For stress in running text, \emph is usually better than bold: it switches to italic, and back to upright inside italic text. To quote a word instead of stressing it, use proper quotation marks.

LaTeX
\textbf{Bold}, \textit{italic}, \textbf{\textit{both}}, and \emph{emphasis}.
OutputThe words Bold, italic, both in bold italic, and emphasis in italic.
Full document you can compile
example.tex
\documentclass{article}
\begin{document}
\textbf{Bold}, \textit{italic}, \textbf{\textit{both}}, and \emph{emphasis}.
\end{document}

Why does \bf give a warning?

\bf is the old LaTeX 2.09 form. It still works in the standard classes, but it resets other font settings, so {\bf\it text} isn't bold italic. Some classes such as KOMA-Script report it as an error. Use \textbf or \bfseries.

What other text styles are there?

See the font size guide and the colors guide. Bold Greek letters build on the commands in the Greek letters table. The LaTeX to HTML converter turns \textbf into <strong>.

Text drafted with AI from the cited documentation; every example compiled with TeX Live 2026; checked by Cem Demir. See the editorial policy.