Math & Science ⇒ Theorem / Lemma / Proposition Numbering
-
jediwhelan
- Posts: 16
- Joined: Fri Jul 25, 2008 5:54 pm
Theorem / Lemma / Proposition Numbering
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
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
- Stefan Kottwitz
- Site Admin
- Posts: 10397
- Joined: Mon Mar 10, 2008 9:44 pm
Theorem / Lemma / Proposition Numbering
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