Hi guys,
I'm having trouble with my \newcommand numbering. I have :
\newtheorem{thm}{Theorem}[section]
\newtheorem{cor}[thm]{Corollary}
\newtheorem{lemma}[thm]{Lemma}
\newtheorem{proposition}[thm]{Proposition}
\newtheorem{condition}[thm]{Condition}
In my preamble. And am using \begin{lemma}...\end{lemma} etc
The problem is that my numberings are coming out as, for example,
Lemma 0.1
Then
Proposition 0.2.
Can somebody please tell me how to get numbers like 1, 2, 3 etc, and also have lemma, proposition numbers counting individually. i.e. lemma 1, proposition 1... lemma 2, proposition 2.
As always, with many thanks
Paul
Math & Science ⇒ Theorem / Lemma / Proposition Numbering
NEW: TikZ book now 40% off at Amazon.com for a short time.
- Stefan Kottwitz
- Site Admin
- Posts: 10324
- Joined: Mon Mar 10, 2008 9:44 pm
Theorem / Lemma / Proposition Numbering
Hi Paul,
have a look at the documentation of the used theorem package, I guess you're using amsthm, see here.
Check the optional parameters in brackets like [section] and [thm] and consider removing it. For instance \newtheorem{lemma}[thm]{Lemma} will count lemma like thm, that's not what you're expecting.
Stefan
have a look at the documentation of the used theorem package, I guess you're using amsthm, see here.
Check the optional parameters in brackets like [section] and [thm] and consider removing it. For instance \newtheorem{lemma}[thm]{Lemma} will count lemma like thm, that's not what you're expecting.
Stefan
LaTeX.org admin