ok heres the re edit

  \section{Schwarzschild Manifold as a Graph}
Let $m\in\mathbb{R}$ be such that $m>0$ and consider the manifold
S=\left\{(r,x)|(r,x)\in{(2m,\infty){\times}S^2} \right\}.
Now equip $S$ with the Riemannian metric
where $(\theta,{\phi})$ are the standard polar coordinates on $S^2$. Then we call $(S,g_S)$ the Schwarzschild manifold.

{The Positive Mass Theorem for Graphs over $\mathbb{R}^3$}
{\textnormal{(Positive Mass Theorem for graphs over $\mathbb{R}^3$)}} 
 m_{ADM}=\frac{1}{16\pi}\int_MR\frac{1}{\sqrt{1+|\nabla f|^2}}\,dV_g.

i get the first section as 0.1, first defn as 0.1.1 which is okay. but when the new chapter stats, the theorem starts as 0.1.2?

  • 1
    Welcome to TeX.SX. You can highlight code by selecting it and clicking the button marked {} above the text field. See our TeX.SX starter guide for more information on how the site works. Commented Jun 10, 2013 at 18:22
  • You have a misplaced label. See Understanding how references and labels work
    – Alan Munn
    Commented Jun 10, 2013 at 18:24
  • even when i remove the label it doesnt work. its carrying on the numbers from the last section of the last chapter, but i definetly ended both of them. also, if i start a new section after the chapter, it all works fine. but i dont want to have a section there?
    – thomas
    Commented Jun 10, 2013 at 18:42
  • \section is renumbered from zero when the chapter changes, but \subsection isn't -- it resets at each \section. so at the chapter break, \setcounter{subsection}{0} explicitly. Commented Jun 10, 2013 at 18:55
  • Please make a complete (small) document that shows the probem: remove any text that you can remove while still showing the problem. (You will probably solve it yourself while trying to make this file:-) note it is very unusual to have 0 at all 4.0.1 is very strange numbering to get from a report class document. Commented Jun 10, 2013 at 18:59

1 Answer 1


amsthm sets counters for theorems and friends with a mechanism essentially the same as used for \numberwithin. if the command used for the numbering of a counter isn't preceded by the "within" element, the affected counter isn't reset. this reset then has to be done explicitly.

in this case, there is no \section preceding the theorem that begins the chapter, so it's necessary, after the chapter is invoked, to reset the theorem counter:


by the way, it's not recommended to use \begin{chapter} ... \end{chapter}. just \chapter{...} is preferable.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .