14

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.

  • Why you need that numbering? LaTeX and its packages are usually made ​​for standard document composition. – OSjerick Nov 12 '13 at 1:58
  • 1
    @osjerick Please see my edit. – Kunal Nov 12 '13 at 2:00
  • several variations on the numbering of theorem-class objects, including this one, are covered in the user's guide: texdoc amsthm. – barbara beeton Nov 12 '13 at 15:00
15

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

  • 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 '13 at 2:06
  • 4
    @Kunal Rather one by one. If the main is theorem, then \newtheorem{remark}[theorem]{Remark} and so on. – Przemysław Scherwentke Nov 12 '13 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.