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 Answer
\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.
-
Also, if you're using
hyperref
you should use\@addtoreset
afterhyperref
was loaded.– SkillmonMar 28, 2020 at 18:17