New MembersEnumeration Counter with intervening Text

You would like to introduce yourself before starting to post? That's a nice idea and here is the forum for you...
Post Reply
aralluna9
Posts: 1
Joined: Sun Mar 18, 2012 7:29 pm

Enumeration Counter with intervening Text

Post by aralluna9 »

I'd like to have certain items enumerated continuously throughout a monograph. I can achieve this as follows:

Code: Select all

\usepackage{enumerate}
\begin{enumerate}
\setcounter{enumi}{+1}
  \item
\end{enumerate}
But, when I have intervening text, lists, chapters, etc., I have to set the counter manually each time. Ideally, I need a command in the preamble that sets the counter variable and increments it when called by each relevant enumeration. Does code for doing this exist?
Last edited by Stefan Kottwitz on Sun Mar 18, 2012 7:43 pm, edited 1 time in total.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Enumeration Counter with intervening Text

Post by localghost »

I'm not sure if I understand you right. But probably you are looking for the enumitem package which adds among other things the resume option to the {enumerate} environment. The package manual has the details.


Best regards and welcome to the board
Thorsten
Post Reply