GeneralChapter-Section-Number referencing

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
mt226
Posts: 2
Joined: Sun May 23, 2010 12:39 pm

Chapter-Section-Number referencing

Post by mt226 »

I'm writing a file in amslatex, documentstyle amsbook.

Say I have Thm. 3 in Sec. 2 of Ch.1. Inside Sec. 2, I want it referred to as Thm. 1. In Ch. 1, but outside Sec. 2, I want it referred to as Thm. 2.1. Finally, outside Ch. 1 it should be Thm. 1.2.3

How do I get latex to do this automatically?

Thanks,
Mak

Recommended reading 2024:

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

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

Post Reply