Equations numbered by section
Posted Sun Jun 18 00:02:41 -0500 2006
By default, LaTeX will number your equations sequentially as (1), (2), etc. If you use a document class that allows for chapters, such as book, then LaTeX will include the chapter number in each equation number; so the first equation in chapter 1 will be (1.1), then (1.2), etc. If you have a lot of equations in a document of class article, it can be useful to include the section number in a similar way. To do this, put the following in your preamble (before \begin{document}):
\makeatletter
\@addtoreset{equation}{section}
\renewcommand{\theequation}{\thesection.\arabic{equation}}
\makeatother
