I am trying to number my theorems as follows:
Theorem 1.A. First part of a theorem.
Theorem 1.B. Second part of the theorem.
Theorem 2. A theorem with no parts.
The following almost works:
\newtheorem{theorem}{Theorem}
\newtheorem{theorempart}{Theorem}[theorem]
But it does not increment the theorem counter as I want, so that
\begin{theorempart}First part of a theorem.
\end{theorempart}
\begin{theorempart}Second part of the theorem.
\end{theorempart}
\begin{theorem}A theorem with no parts.
\end{theorem}
gives:
Theorem 0.1. First part of a theorem.
Theorem 0.2. Second part of the theorem.
Theorem 1. A theorem with no parts.
Also, I don't know how to get the part-number to be a letter instead of a number.
I am using MiKTeX.
Best Answer
The model I used is that of the
subequations
environment inamsmath
:You enclose the part in which the theorems have to be "subnumbered" in the
subtheorem
environment, which takes as argument the name of the theorem-like environment you want to affect.The
\label
commands are not mandatory, but you can see that you can also set a "global" label for the subnumbered theorem.