I'm writing a mathematics paper with \documentclass{amsart}
,
and I would like my theorems, definitions, propositions, etc.,
to be numbered "like subsections",
i.e.,
if a given theorem is the fourth in section 3,
it should be called Theorem 3.4.
The usual way to do this seems to be the following:
\newtheorem{theorem}[subsection]{Theorem}
\newtheorem{proposition}[subsection]{Proposition}
\newtheorem{definition}[subsection]{Definition}
...
That is, the counter used by the theorem, proposition, definition, etc environments is the default subsection counter.
The problem with this, however, is that it interferes with subsection numbering. For example:
- Suppose that I'm in section 3.
- Then, I start a subsection, which is appropriately called section 3.1.
- Then, the first theorem I type will be called 3.2, but since it is actually the first theorem in section 3, I feel it should be called theorem 3.1.
- If, after that, I start another subsection, it will be called section 3.3, but since it is the second subsection, I feel it should be called section 3.2 instead... and so on.
The solution I imagined for this was to create another counter that works exactly like subsection but independent of it, but I have failed to do this. I am only able to create new counters that use one number, not "nested" counters, like subsection or subsubsection, if that makes any sense. Any help in doing that or other solutions to my problem would be greatly appreciated.
subsection
as the driving counter then.\newtheorem{theorem}{Theorem}[section]
. Are you sure you want theorems, propositions and definitions to be numbered separately?