19

I want to be able to use number in my nested list, but its changing to alpha like in this picture. I would like to appear as 1 then 1.1, 1.2, 1.3 instead of a,b,c.

Any help?

  • 1
    Your picture does not show a nested list, just a plain list – Andrew Swann Aug 5 '13 at 7:51
  • 3
    the picture link is dead. – MichaelChirico Sep 1 '16 at 14:56
27

You can use the enumitem package to customise lists. To achieve list numbering as you ask, use

\begin{enumerate}[label*=\arabic*.]

to begin each of your lists.

Here is an example of such a nested list.

\documentclass{article}
\usepackage{enumitem}
\begin{document}
Here is some document text.
\begin{enumerate}[label*=\arabic*.]
  \item First item
  \item Second item
  \begin{enumerate}[label*=\arabic*.]
    \item First subitem
    \item Second subitem
    \item Third subitem
  \end{enumerate}
  \item Third item
\end{enumerate}
\end{document}

enter image description here

| improve this answer | |
  • 1
    +1 Perhaps you could expand your answer with a complete sample document showing a nested list. – Andrew Swann Aug 5 '13 at 7:50
  • 9
    Instead of adding [label*=\arabic*.] to every enumerate environment, you can make it global by adding \setlist[enumerate]{label*=\arabic*.} in the preamble. – user11232 Aug 5 '13 at 11:03

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.