Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

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?

share|improve this question
add comment

3 Answers

up vote 23 down vote accepted

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.

share|improve this answer
    
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. –  RoflcoptrException Feb 3 '11 at 18:58
    
Just call it differently, like \tick or any other name. The \check macro seems to be already defined. –  Martin Scharrer Feb 3 '11 at 19:02
add comment

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.

share|improve this answer
add comment

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}
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.