Document ClassesPlease help with \numberwithin

Information and discussion about specific document classes and how to create your own document classes.
Post Reply
demizon
Posts: 2
Joined: Fri Jul 25, 2008 2:38 am

Please help with \numberwithin

Post by demizon »

Hi
How do I number within a chapter or a section more than just 1 object?
What I want is that there is no Definition 1.1. and Theorem 1.1. at the same time...
I'm using an AMS article class
Thanks

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: 10322
Joined: Mon Mar 10, 2008 9:44 pm

Please help with \numberwithin

Post by Stefan Kottwitz »

Hi demizon,

welcome to the board!
Have a look at the amsthm documentation, that issue is explained in section 3 Numbering modifications. Just one additional parameter to \newtheorem is necessary.

Stefan
LaTeX.org admin
demizon
Posts: 2
Joined: Fri Jul 25, 2008 2:38 am

Re: Please help with \numberwithin

Post by demizon »

thanks a lot
Post Reply