20

I'm using

\usepackage{amsthm}
\newtheorem{theorem}{Theorem}
\newtheorem{proposition}{Proposition}

The numberings of Theorem and Proposition are not consecutive (I get Theorem 1 followed by Proposition 1 instead of Theorem 1 followed by Proposition 2). How can I fix it?

I need this numbering because otherwise I would have Theorem 1, Proposition 1, Lemma 1, Corollary 1, Remark 1, etc. which I think is very confusing if I reference Proposition 1 later.

4
  • Why you need that numbering? LaTeX and its packages are usually made ​​for standard document composition.
    – osjerick
    Nov 12, 2013 at 1:58
  • 1
    @osjerick Please see my edit.
    – Kunal
    Nov 12, 2013 at 2:00
  • several variations on the numbering of theorem-class objects, including this one, are covered in the user's guide: texdoc amsthm. Nov 12, 2013 at 15:00
  • You helped me do the opposite (consecutive to non-consecutive). So, here goes the upvote! :-P May 20, 2021 at 22:14

1 Answer 1

19

The \newtheorem construction offers two optional arguments. The first one fixes your numbering. In this case it means that proposition should use the same counter as theorem.

\documentclass{article}

\usepackage{amsthm}
\begin{document}


\newtheorem{theorem}{Theorem}
\newtheorem{proposition}[theorem]{Proposition}

\begin{theorem}
1+1=2.
\end{theorem}

\begin{proposition}
1+2=3
\end{proposition}

\end{document}

enter image description here

2
  • Oh I see, thanks. So if I want remark to use the same numbering as theorem, proposition, and corollary, do I put \newtheorem{theorem,proposition,corollary}[remark]{Remark}?
    – Kunal
    Nov 12, 2013 at 2:06
  • 4
    @Kunal Rather one by one. If the main is theorem, then \newtheorem{remark}[theorem]{Remark} and so on. Nov 12, 2013 at 2:08

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.