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, 2013 at 11:04

1 Answer 1

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, 2020 at 18:17

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .