Theorem numbering in LaTeX

前端 未结 6 1702
半阙折子戏
半阙折子戏 2020-12-16 06:16

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

6条回答
  •  一整个雨季
    2020-12-16 07:10

    In a slightly less hacky way, you may create a fake counter that is reset with subsection, and redefine its \the to your liking:

    \newcounter{fakecnt}[subsection]
    \def\thefakecnt{\arabic{subsection}}
    \newtheorem{thm}{Theorem}[fakecnt]
    

提交回复
热议问题