I would like to reset the counters for everything, figures, tables, algorithms, lemmas, definitions, equations and others. So that they start at one again, for every chapter.
Is it possible or do I have to do it separately for each?
PS: I use \documentclass[11pt]{book}
.
Best Answer
Basically you need to do it for each. The numbering system is based on counters, and each number has its own counter. Resetting all counters would include things you don't want to reset, like page numbers. As said in the comments, different document classes treat the counters different. In
book
for example, things likesection
,subsection
,equation
,table
andfigure
are automatically reset at each chapters start. But for exampletheorem
andlemma
, and other things you define by your self, you need define it such that it the counter reset at chapter start. For example:First chapter:
Second chapter: