[Tex/LaTex] Resuming a list

#enumeratelists

I'd like to be able to resume an enumerated list, continuing the old numbering, after some intervening text which should not be formatted like a list item. Is there a nice way to do this?

In particular, I don't want to start a second list with a hard-coded initial counter value, because that will break if I change the number of items in the first list.

Best Answer

This can easily be done using the enumitem package, for example:

\documentclass[12pt]{article}
\usepackage{enumitem}
\begin{document}
\begin{enumerate}
  \item One
  \item Two
  \end{enumerate}
Some text
\begin{enumerate}[resume]
  \item Three
\end{enumerate}
\end{document} 

Output:

alt text

Alternatively, the package mdwlist provides the commands \suspend and \resume for temporarily ending a list and restarting it.

Related Question