Consecutive numbering of problems in successive sections.

Peter Flynn peter at silmaril.ie
Sun Jul 19 23:21:23 CEST 2020


On 19/07/2020 21:37, Djones9976 via texhax wrote:
> I am working on a textbook in quantum mechanics and would like to 
> include problems in each section.   How can I program for consecutive 
> numbering.  The command sequence I am using now is as follows:
> 
> \section*{Problems}
> \begin{enumerate}
> \setcounter{enumi}{4}
> \item First problem;
> \item Second problem.
> \end{enumerate}

Have a look at the enumitem package, which provides for suspending and 
resuming a numbered list.

Peter


More information about the texhax mailing list.