amsfonts
Provides an extensive collection of specialized mathematical fonts and symbols commonly used in advanced mathematical typesetting.
Overview
Delivers a comprehensive set of professional-quality fonts specifically designed for mathematical and scientific documents, expanding LaTeX's typographical capabilities significantly.
- Features blackboard bold letters for set notation and number systems
- Includes distinctive fraktur fonts often used in physics and mathematics
- Offers additional mathematical symbols beyond standard LaTeX offerings
- Contains specialized versions of bold math italic and Greek letters in subscript sizes
- Incorporates Euler mathematical fonts for a distinctive aesthetic
- Includes Cyrillic fonts and enhanced Computer Modern small caps
Widely adopted in academic publishing, research papers, and mathematical textbooks where precise and professional mathematical typography is essential. The fonts are available in both Adobe Type 1 format and Metafont source, ensuring high-quality output across different compilation methods.
Getting Started
To use amsfonts
, include it in your document preamble:
\documentclass{article}
\usepackage{amsfonts}
For access to all mathematical symbols provided by the package, use the amssymb package which loads amsfonts automatically:
\documentclass{article}
\usepackage{amssymb}
Examples
Using mathematical blackboard bold symbols from the amsfonts package.
The set of real numbers is denoted by $\mathbb{R}$, while the set of complex numbers is denoted by $\mathbb{C}$. Other common sets include the integers $\mathbb{Z}$, the natural numbers $\mathbb{N}$, and the rational numbers $\mathbb{Q}$.
Using mathematical fraktur symbols from the amsfonts package.
Lie algebras are often denoted using fraktur letters such as $\mathfrak{g}$, $\mathfrak{h}$, and $\mathfrak{sl}(n)$. The general linear Lie algebra can be written as $\mathfrak{gl}(n)$.
Using additional mathematical symbols provided by the amssymb package (which loads amsfonts).
\documentclass{article}
\usepackage{amssymb}
\begin{document}
Here are some useful mathematical symbols:
\begin{itemize}
\item $\therefore$ (therefore) and $\because$ (because)
\item $\emptyset$ (empty set) and $\varnothing$ (variant empty set)
\item $\square$ (square) and $\blacksquare$ (filled square)
\item $\triangleleft$ and $\triangleright$ (triangles)
\item $\lesssim$ and $\gtrsim$ (less/greater than or approximately equal to)
\end{itemize}
\end{document}