Theorem numbering in LaTeX

前端 未结 6 1716
半阙折子戏
半阙折子戏 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:06

    Putting the following code in the preamble seems to have the desired effect:

    \usepackage{amsthm}
    \newtheorem{thm}{Theorem}[subsection]
    \renewcommand{\thethm}{\arabic{subsection}.\arabic{thm}}
    

    I don't understand why you want this particular theorem numbering system, but the code does what you want: LaTeX output

提交回复
热议问题