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

In my TeX document Theorems, Definitions, Lemmas are enumerated in the following way:

Definition 1.1

Lemma 1.1

Theorem 1.1

Definition 1.2

Lemma 1.2

Theorem 1.2

But I would like to have

Definition 1.1

Lemma 1.2

Theorem 1.3

Definition 1.4

Lemma 1.5

Theorem 1.6

How can I obtain this?

Edit. The begin of my document is:
















share|improve this question
What package are you using to generate these environments? Are you defining them without packages? Either way, include these in your post via an edit. – Werner Apr 3 '12 at 17:10
Welcome to TeX.SE. Seconding Werner's comment: It is always best to compose a fully compilable MWE that illustrates the problem including the \documentclass and the appropriate packages so that those trying to help don't have to recreate it. This will also serve as a test case and ensure that the solution actually works for you. – Peter Grill Apr 3 '12 at 17:21
very similar to (possible duplicate?) common-per-section-numbering-of-theorems-lemmas-etc – cmhughes Apr 3 '12 at 18:01
up vote 7 down vote accepted

Just use the first optional argument, that denotes the counter to share:




share|improve this answer
Very thanks for help. – Richard Apr 3 '12 at 18:20

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.