Text Formatting ⇒ Section numbering by Chapter in AMS Book class
Section numbering by Chapter in AMS Book class
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.
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
Re: Section numbering by Chapter in AMS Book class
\renewcommand{\thesection}{\thechapter.\arabic{section}}
did it.
Sorry, should have looked a little longer.
Cheers, Bob.
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Section numbering by Chapter in AMS Book class
Best regards and welcome to the board
Thorsten
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Section numbering by Chapter in AMS Book class
Hi Thorsten,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
Done.
Cheers, Bob.