I have a problem with theorem numbering in LaTeX. I can make it number by subsection, e.g
Theorem 1.2.1
for the first theorem in the second subsection of the first section. But I need it to show me
only the numbers of the subsection and the theorem, but not the section number, like this:
Theorem 2.1
I use
\newtheorem{thm}{Theorem}[subsection]
for the numbering.
Putting the following code in the preamble seems to have the desired effect:
I don’t understand why you want this particular theorem numbering system, but the code does what you want:
