I would like to have my theorems numbered in the following way.
Theorem 1. Blah-blah
Theorem 2. More blah-blah
Section 1.
Theorem 1.1. Special blah
Theorem 1.2. More special blah
Section 2
Theorem 2.1. Another special blah
and so on, preferably using the amsmath
package. I've been struggling for a while with this, can anyone suggest a simple solution? I would also like to be able to \label
and \ref
all theorems.
Best Answer
Here's a simple solution. Define your structures without their counters being subordinate to the section counter and just before the first
\section
use\numberwithin
from theamsmath
(or\counterwithin
from thechngcntr
package) package to add thesection
counter: