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

When using LaTeX for numbered theorems (or other numbered environments for that matter), if you have a theorem, and then you want to give a reformulation of the theorem, is there anyway to get LaTeX to number your first theorem, say Theorem 5, and your reformulation as say Theorem 5'?

To obtain numbered theorems, I am not using any package, just using the command


in my preamble.

share|improve this question
up vote 3 down vote accepted

For a one-off use, perhaps the simplest is to say

\addtocounter{theorem}{-1}% so next theorem will be 5 again then
\begingroup% local redefinition of theorem counter printing

Or for example wrap it in an environment such as


then use an alttheorem environment after a theorem one.

share|improve this answer
Thanks for that. Would there be any way to incorporate this into a newly defined environment? – David Ward Sep 3 '12 at 13:04
yes sure (I'll put it in the answer as code formatting in comments is rubish) – David Carlisle Sep 3 '12 at 13:05
Thanks for that. – David Ward Sep 3 '12 at 13:24
Wouldn't it be safer to use \label, \ref just in case the restated theorem is not exactly after the original one? – Gonzalo Medina Sep 3 '12 at 13:58
@GonzaloMedina It might be although it's a bit harder as by default \ref doesn't necessarily return something locally reusable as \thetheorem (and if you poke at \ref internals you have to be careful not to trip over hyperref which changes them) – David Carlisle Sep 3 '12 at 14:14

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.