Math & ScienceTheorem / Lemma / Proposition Numbering

Information and discussion about LaTeX's math and science related features (e.g. formulas, graphs).
Post Reply
jediwhelan
Posts: 16
Joined: Fri Jul 25, 2008 5:54 pm

Theorem / Lemma / Proposition Numbering

Post by jediwhelan »

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

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

User avatar
Stefan Kottwitz
Site Admin
Posts: 10324
Joined: Mon Mar 10, 2008 9:44 pm

Theorem / Lemma / Proposition Numbering

Post by Stefan Kottwitz »

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
LaTeX.org admin
Post Reply