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?

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

1 Answer 1

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

You must log in to answer this question.

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