1 #\DeclareLyXModule{Standard Theorems (Numbered by Chapter)}
2 #\DeclareCategory{Maths}
4 #Numbers theorems and the like by chapter (i.e., the counter is reset at
5 #each chapter start). Use this module only with document classes that provide a chapter
8 #Requires: theorems-std | theorems-ams
9 #Excludes: theorems-sec
11 # Author: Richard Heck <rgheck@comcast.net>
22 \ifx\thechapter\undefined
23 \newtheorem{thm}{\protect\theoremname}
25 \newtheorem{thm}{\protect\theoremname}[chapter]