General ⇒ Connecting documents
Connecting documents
I am using a "book" document class and I include a number of chapters using "\include" command. I am getting the theorems and corollaries numbers as 1, 2, 3, .... in continuation across the chapters? Can I have them numbered as we get section numbering. eg Corollary 2.3 for Corollary 3 in chapter 2. If this is not possible, then can we have numbers not in continuation across the chapters. eg. if Chapter is ending with Corollary 7, then I want first Corollary in Chapter 2 numbered as 1. I am getting it numbered as 8.
Thank you,
Omkar
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
- Stefan Kottwitz
- Site Admin
- Posts: 10335
- Joined: Mon Mar 10, 2008 9:44 pm
Re: Connecting documents
use the \numberwithin command of amsmath or the chngcntr package.
Stefan