## Resetting Theorem Counter (Number) For Definition Environment

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:

\makeatletter
\makeatother
after

\newtheorem{definition}[theorem]{Definition}

or after

\newtheorem{theorem}{Theorem}[section]

but it did not help. What should I do?

AttachmentSize
template.tex2.29 KB
template.pdf30.98 KB

### 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

\newtheorem{definition}{Definition}[section]