4

How could we reset enumeration after each part? I.e. how can we have part I with chapters 1,2,3 etc, and then part II with chapter 1,2,3 ?

1
  • 2
    Usually chapters are numbered sequentially ignoring parts; resetting the numbers would make cross-references to the chapters quite clumsy: “in chapter 3 of part 2 we discussed…”
    – egreg
    Jul 11 '13 at 11:04
5
\makeatletter
\@addtoreset{chapter}{part}
\makeatletter

will do what you ask, although it is perhaps more normal to also do

\renewcommand{\thechapter{\thepart.\arabic{chapter}}

so the chapters are prefixed with the part number, unless the parts are sufficient;y distinct that you never need to cross reference between them.

1
  • Also, if you're using hyperref you should use \@addtoreset after hyperref was loaded.
    – Skillmon
    Mar 28 '20 at 18:17

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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