Resetting Theorem Counter (Number) For Definition Environment

Yqazra's picture

In my (book) document I start a new chapter without starting a section. I expect the first definition in this chapter to be numbered with "2.0.1". However, the definition is numbered "2.0.2".

I have tried adding following command within the preamble:



or after


but it did not help. What should I do?

template.tex2.29 KB
template.pdf30.98 KB
John MacKendrick's picture

The problem is that your

The problem is that your definition environment is numbered as if it is a theorem. Define the definition environment in your document preamble as


Instead of