In an article, I need the counter for Theorems (Lemmas), like Theorem X.Y. But, somewhere I do not need the counter for the Theorems, for example: in preface/appendix or somewhere else like Theorem.

Q: How to define the environment for the Theorem or Lemma.

  • Can you please add a minimal working example (MWE)? An tell us what X and Y should be? – user36296 Dec 21 '16 at 3:22
  • @samcarter X.Y means the counting number associated to the section/chapter. i.e. Theorem 1.2. – DLIN Dec 21 '16 at 6:00

With amsthm you can define a new theorem environment using


If you want an unnumbered version similar to this, then use


Use the theorem* environment inside the preface or appendix, and theorem elsewhere. Here is a minimal example:

enter image description here





This is a numbered theorem.

This is an unnumbered theorem.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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