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 Kimberly Heck <rikiheck@lyx.org>
24 \ifx\thechapter\undefined
25 \newtheorem{thm}{\protect\theoremname}
27 \newtheorem{thm}{\protect\theoremname}[chapter]