We know that the book
class follows the structure below for numbering equations:
Chapter 1
First Equation (1.1)
Second Equation (1.2)
Chapter 2
First Equation (2.1)
Second Equation (2.2)
Third Equation (2.3)
I want the custom numbering format
described below:
Chapter 1
First Equation (1)
Second Equation (2)
Chapter 2
First Equation (1)
Second Equation (2)
Third Equation (3)
As you can see the chapter number
is not shown in the equation
tag, but the equation numbers are reset as a new chapter is introduced. In addition, the equations are counted within each chapter
.
Please tell me how to perform this action in LaTeX
?
Best Answer
All you need to do is execute
in the preamble.
A minimal working example (MWE):