Text FormattingSection numbering by Chapter in AMS Book class

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
texman
Posts: 3
Joined: Tue Mar 01, 2011 11:37 pm

Section numbering by Chapter in AMS Book class

Post by texman »

Hello all,

I use amsbook style.

I am unable to figure out how to make the numbering and referencing of theorems and the like be 1.2.3 where 1 is the chapter, 2 is the section and 3 is the 3rd "theoremlike item" in chapter 1 section 2.

At the moment I just get a section number and an item number (also for referencing). This is annoying because there can be an item 2.2 both in chapter 1 and in chapter 5 and the referencing does not discern between these two.

HELP!!

Thanks a lot, Cheers, Bob.
Last edited by texman on Wed Mar 02, 2011 11:09 am, edited 1 time in total.

Recommended reading 2024:

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

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

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

texman
Posts: 3
Joined: Tue Mar 01, 2011 11:37 pm

Re: Section numbering by Chapter in AMS Book class

Post by texman »

OK, I figured it out.

\renewcommand{\thesection}{\thechapter.\arabic{section}}

did it.

Sorry, should have looked a little longer.

Cheers, Bob.
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Section numbering by Chapter in AMS Book class

Post by localghost »

Then please mark the topic (not the last post) accordingly as written in Section 3 of the Board Rules (to be read before posting).


Best regards and welcome to the board
Thorsten
texman
Posts: 3
Joined: Tue Mar 01, 2011 11:37 pm

Section numbering by Chapter in AMS Book class

Post by texman »

localghost wrote:Then please mark the topic (not the last post) accordingly as written in Section 3 of the Board Rules (to be read before posting).


Best regards and welcome to the board
Thorsten
Hi Thorsten,

Done.

Cheers, Bob.
Post Reply