Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

Possible Duplicate:
Resuming a list

What is the best way to extend an enumeration such that the next enumeration environment does not start with one but with the number following the last item from the previous enumeration? (Let's ignore the problem of nested enumerate environments.)

\documentclass{article}

\begin{document}
    \begin{enumerate}
    \item One
    \item Two    
    \end{enumerate}

    Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod. 

    \begin{enumerate}
    \item Three
    \item Four     
    \end{enumerate}
\end{document}

This is a Duplicate

See Resuming a list.

share|improve this question
add comment

marked as duplicate by Seamus, Jake, Alan Munn, Joseph Wright May 30 '11 at 13:45

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

2 Answers

This solution doesn't use any package:

\documentclass{article}
\begin{document}
  It is possible to save the contents of \texttt{enumi} at the end of an enumeration:
  \begin{enumerate}
    \item This is an item.
    \item This is another item. We will now stop the enumeration.
    \newcounter{enumTemp}
    \setcounter{enumTemp}{\theenumi}
  \end{enumerate}
  \texttt{enumTemp} is now \theenumTemp. We can continue the enumeration like so:
  \begin{enumerate}
    \setcounter{enumi}{\theenumTemp}
    \item The list goes on
    \item and on.
  \end{enumerate}
  You can also put everything into your own macros for convenience. Note that this is a bit hackish, but it works.
\end{document}
share|improve this answer
add comment

Try to uncommment the second section.

\documentclass{article}
\usepackage{enumitem}
\begin{document}
  \section{Hahaha}
    \begin{enumerate}
      \item First 
      \item Second 
    \end{enumerate}
  %\section{Hihihi}
    \begin{enumerate}[resume] % to resume
      \item Third 
      \item Fourth 
    \end{enumerate}
\end{document}
share|improve this answer
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.