56

I'd like to define a list like the following:

enter image description here

The nearest I found while googling was this:

\begin{itemize}
\item[-] foo
\item[*] bar
\end{itemize}

But how can I now use a cross or a check symbol?

3 Answers 3

63

Use e.g. the \Checkmark and \XSolidBrush symbols from the bbding package. Good alternatives are \ding{51} and \ding{55} from the pifont package.

\usepackage{bbding}
%...
\begin{itemize}
  \item[\Checkmark] foo
  \item[\XSolidBrush] bar
\end{itemize}

You can even define a special macro for it:

\newcommand*\tick{\item[\Checkmark]}
\newcommand*\fail{\item[\XSolidBrush]}
% ...
\begin{itemize}
  \tick foo
  \fail  bar
\end{itemize}

See either the comprehensive symbol list (search for "Checkmark") or detexify to find other symbols if you don't like the one above.

3
  • Thanks. Very good answer, all I need. However I want to add that your macro fails in my document: ! LaTeX Error: Command \check already defined. Feb 3, 2011 at 18:58
  • Just call it differently, like \tick or any other name. The \check macro seems to be already defined. Feb 3, 2011 at 19:02
  • On Debian-based systems you need to install texlive-fonts-extra to use bbding.
    – rkta
    Jun 16, 2018 at 16:42
23

Use a package which provides such symbols, such as MnSymbol, bbding or pifont. There are more. Use math mode within the square brackets if required.

Example:

\documentclass[a4paper,10pt]{article}
\usepackage{pifont}
\begin{document}
\begin{itemize}
 \item[\ding{51}] yes
 \item[\ding{55}] no 
\end{itemize}
\end{document}

enter image description here

You could define your own name for the symbol by \newcommand.

16

Dingbats are easy to obtain, from symbol packages like pifont etc. Further more, pifont package provides a dinglist environment:

% in preamble \usepackage{pifont}
\begin{dinglist}{52}
  \item foo
  \item bar
\end{dinglist}

enter image description here

In standard classes, itemize environments use \labelitemi, \labelitemii, \labelitemiii and \labelitemiv for item labels. You can also redefine them and use standard itemize.

% preamble
\usepackage{pifont}
\renewcommand\labelitemi{\ding{52}}
% document
\begin{itemize}
  \item foo
  \item bar
\end{itemize}

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .