TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How do I make theorems and equations share numbering? The default numbering system goes like this:

Theorem 1. Blah blah blah...

1=0+1 (1)

Theorem 2. More blahs...

Theorem 3. No more blahs...

2=1+1 (2)

The numbers in the parenthesis are equation numbers. How do you change the above into this:

Theorem 1. Blah blah blah...

1=0+1 (2)

Theorem 3. More blahs...

Theorem 4. No more blahs...

2=1+1 (5)

I am using ntheorem package, but couldn't figure out how. Would I need to use a different package?

share|improve this question
up vote 22 down vote accepted

You just need to tell it to number your theorems using the equation counter.


Now \begin{thm} will be numbered the same as \begin{equation}.

share|improve this answer
Thank you, this worked! – user11126 Aug 23 '10 at 15:33

See the amsthm documentation. It is only a few pages long and includes a discussion of this point (as well as lots of others relating to theorem styles).

share|improve this answer
The questioner is using ntheorem, not amsthm. – Stefan Kottwitz Aug 21 '10 at 21:49

Here's a solution using the thmtools package in addition to ntheorem.




a^2 + b^2 = c^2

Some text.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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