0

In an article, several sections have an enumerate environment. What is the easiest way to let the counter continue across all the different environments?

It is obviously possible to use

\begin{enumerate}   
\setcounter{enumi}{5}    % last item of previous enumerate

at the start of every subsequent environment, but then one has to change all these numbers in the subsequent environments whenever an item is added in some section. Is there a better, automatic and simple way to do this?

Bernard
  • 271,350
  • 5
    The enumitem package has a resume key for that. –  Mar 20 '20 at 07:23
  • This must be the record for answer speed - thank you! –  Mar 20 '20 at 07:26
  • 1
    Yes, it has been answered almost 10 lease ago. ;-) https://tex.stackexchange.com/q/1669 –  Mar 20 '20 at 07:28
  • 3
    @Schrödinger'scat can answer and not answer your question at the same time ... but you can never guess both his speed and position ! – BambOo Mar 20 '20 at 07:35
  • That exactly what linguex package does, but without using environments (easy typing). – Fran Mar 20 '20 at 09:54

0 Answers0