The amssymb package

Adds about 200 math symbols and the alphabets \mathbb and \mathfrak, for example \mathbb{R}, \leqslant, \nmid and \therefore.

Loading the package

\usepackage{amssymb}

Plain LaTeX has no blackboard bold letters for number sets and only a few negated relations. amssymb gives names to the symbols of the AMS fonts: negated relations such as \nleq and \nsubseteq, slanted inequality signs, more arrows, \varnothing, \square and others.

The package loads amsfonts, which provides \mathbb and \mathfrak. It does not depend on amsmath; you can load either one without the other.

Main commands

\mathbb{R}Blackboard bold capital letter, used for number sets.
\mathfrak{g}Fraktur letter.
\leqslant, \geqslantInequality signs with a slanted lower bar.
\nmid, \nleq, \nsubseteqNegated relations: does not divide, not less than or equal, not a subset.
\varnothingEmpty set as a slashed circle.
\therefore, \becauseThree dots for "therefore" and "because".
\square, \blacksquareOpen and filled square, often used as an end-of-proof mark.

Complete example

\documentclass{article}
\usepackage{amssymb}
\begin{document}
The number sets satisfy
$\mathbb{N} \subsetneq \mathbb{Z} \subsetneq \mathbb{Q} \subsetneq \mathbb{R}$.

For every $x \in \mathbb{R}$ with $x \geqslant 0$ there is a root $\sqrt{x}$.

Since $3 \nmid 10$, the set $\{k \in \mathbb{Z} : 3k = 10\}$ equals $\varnothing$.

Let $\mathfrak{g}$ be a Lie algebra. $\therefore$ $a \lesssim b$. \hfill $\blacksquare$
\end{document}
Result
The compiled example

Open in the editor

Compiled with pdfLaTeX from TeX Live 2023.

Pitfalls

Related pages