Possible Duplicate:
Continuous v. per-chapter/section numbering of figures, tables, and other document elements

I have written my thesis in document class 'article' (don't ask me why). Now I want to number my equations by sections, i.e. in section 1 they should go 1.1, 1.2, ..., in section 2 they should go 2.1, 2.2, ...

I don't want to change the document class (e.g. to 'report') because then I would have to change all sections to chapters, subsections to sections and because I fear a lot of other unintended consequences.

How can solve this?

Thanks for any help!

marked as duplicate by lockstep, yo', cmhughes, Marco Daniel, Gonzalo Medina May 18 '12 at 3:17

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.


The amsmath package provides the command \numberwithin which can be used in your document as


enter image description here

A MWE follows



\section{Here is a section}

Not the answer you're looking for? Browse other questions tagged or ask your own question.