1

I've recently seen How to "bubble in"/color fill an item counter ((A),(B),(C),...) in an enumerated list and I just wondered: what if I'd like to enumerate my list with the arabic numbers, i.e. 1,2,3 etc? What would be the code?

  • \begin{enumerate} \item whatever \end{enumerate} ? (With enumitem if something more fancy is needed.) – mbork Feb 27 '13 at 20:03
  • ok but I think that this kind of code was used there. – Y_gr Feb 27 '13 at 20:15
4

Just replace all occurences of \Alph by \arabic in How to "bubble in"/color fill an item counter ((A),(B),(C),...) in an enumerated list:

\documentclass{article}
\usepackage{tikz}

\newcommand*\circled[1]{\tikz[baseline=(char.base)]{%        
        \node[circle,fill=blue!20,draw,inner sep=2pt,opacity=0.5,text opacity=1] (char) {#1};}}

\def\cnt{\stepcounter{enumi}\arabic{enumi}}

\usepackage{enumitem}

\begin{document}
\renewcommand{\labelenumi}{(\arabic{enumi})}
\begin{enumerate}
\item Answer A
\item Answer B
\item[\circled{\cnt}] Answer C
\item Answer D
\item Answer E
\end{enumerate}

\end{document}

enter image description here

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.