The pifont package

Prints the symbols of the Zapf Dingbats font by number with \ding, for example check marks, crosses, arrows and circled digits.

Loading the package

\usepackage{pifont}

LaTeX itself has no check mark. amssymb adds \checkmark, but no cross that pairs with it. pifont gives access to the roughly 190 symbols of Zapf Dingbats, which belongs to the standard PostScript fonts. Each symbol has a number between 33 and 254.

Common numbers: 51 and 52 are check marks, 55 and 56 crosses, 43 a pointing hand, 72 a star, 212 an arrow. 172 to 181 are the circled digits 1 to 10, and 182 to 191 the same digits white on black.

Main commands

\ding{51}The symbol with number 51, a check mark.
\newcommand{\cmark}{\ding{51}}A name of your own for a symbol you use often.
\begin{dinglist}{43} ... \end{dinglist}An itemize list with symbol 43 as bullet.
\begin{dingautolist}{172} ... \end{dingautolist}A numbered list that starts with symbol 172 and takes the next symbol for each item.
\dingline{35}A line across the page made of copies of one symbol; 35 is a pair of scissors.
\dingfill{224}Fills the rest of the line with a symbol, like \dotfill.

Complete example

\documentclass{article}
\usepackage{pifont}
\newcommand{\cmark}{\ding{51}}
\newcommand{\xmark}{\ding{55}}
\begin{document}
\begin{tabular}{lcc}
Feature & Basic & Pro \\
\hline
Export as PDF & \cmark & \cmark \\
Team accounts & \xmark & \cmark \\
\end{tabular}

\begin{dingautolist}{172}
\item Open the file.
\item Start the run.
\end{dingautolist}
\end{document}
Result
The compiled example

Open in the editor

Compiled with pdfLaTeX from TeX Live 2023.

Pitfalls

Related pages