1
\documentclass{article}
\usepackage{enumitem,pifont,xcolor}% http://ctan.org/pkg/{enumitem,pifont,xcolor}
\definecolor{myblue}{RGB}{0,29,119}
\begin{document}

\begin{itemize}[label={\color{myblue}\Pifont{pzd}{\char36}}]
\item Sample text
\begin{itemize}[label={\color{green}\Pifont{pzd}{\char228}}]
  \item Sample text
  \item Sample text
  \begin{itemize}[label={\color{red!50}\Pifont{pzd}{\char127}}]
    \item Sample text
  \end{itemize}
 \end{itemize}
\end{itemize}
\end{document}

In this code, \char36, how can I know the shape of a character by using numbers?

  • Welcome to TeX.SE! – AboAmmar Aug 4 at 22:40
  • 1
    Note that the pifont package provides \ding{<number>}, which is easier than using \char: for instance, \ding{36} is much shorter than \Pifont{pzd}{\char36}. – egreg Aug 5 at 9:34
3

You can consult the package manual to check any symbols you want and their respective numbers. The pdf is here: pifont – Access to PostScript standard Symbol and Dingbats fonts

enter image description here

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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