Home > Latex > Multi-level enumerated list in Latex

Multi-level enumerated list in Latex

For my PhD thesis writing, I’d like to have a nice multi-level enumerated list with custom numbering (1, 1.1, 1.2, …) like this:

1. First level
   1.1 Second level
   1.2 Second level
2. First level 
   2.1 Second level 
   2.2 Second level

With only enumerate command, I couldn’t have the second level displayed as expected. There are some workarounds with the enumitem package, but I have no success with the shortlabels option, for some reasons my enumitem.sty file does not have that option declared. A nice simple way to achieve this is adding these two lines:

\renewcommand{\labelenumi}{\arabic{enumi}.}
\renewcommand{\labelenumii}{\arabic{enumi}.\arabic{enumii}}

arabic (1, 2, 3, …) can be replaced with Roman (I, II, III, …) or alph (a, b, c, …) if necessary.

Then in the body of the tex, just call enumerate normally:

\begin{enumerate}
   \item First level
       \begin{enumerate}
          \item Second level
          \item Second level
       \end{enumerate}  
   \item First level
       \begin{enumerate}
          \item Second level
          \item Second level
       \end{enumerate} 
\end{enumerate}
Categories: Latex
  1. Veera
    July 26, 2012 at 5:52 pm

    Simple workaround. Thanks a lot and you saved my day!

  1. No trackbacks yet.

Leave a comment