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

I have two definitions defined as follows:

\newtheorem{definition_1}{Definition 1}[chapter]
    Definition 1 text here.

\newtheorem{definition_2}{Definition 2}[chapter]
    Definition 2 text here.

With references to them as


Both give me the same definition number (3.1). I have enabled the associated package:


How do I fix this?

share|improve this question
up vote 9 down vote accepted

You needn't define a new environment at each use:



Text of the definition

Text of the second definition

\ref{defa} and \ref{defb}

All theorem-like environment are declared before \begin{document}.

share|improve this answer
Thanks, that worked perfectly. – Josh Jul 5 '11 at 20:37

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.