-#\DeclareLyXModule{Theorems (Order By Section)}
+#\DeclareLyXModule{Standard Theorems (Numbered by Section)}
+#\DeclareCategory{Maths}
#DescriptionBegin
-#Numbers theorems and the like by section.
+#Numbers theorems and the like by section (i.e., the counter is reset at
+#each section start).
#DescriptionEnd
#Requires: theorems-std | theorems-ams
+#Excludes: theorems-chap
-# Author: Richard Heck <rgheck@comcast.net>
+# Author: Richard Kimberly Heck <rikiheck@lyx.org>
-Format 7
+Format 89
-Counter
- Name theorem
- Within section
+Counter theorem
+ GuiName Theorem
+ Within section
+ LaTeXName thm
End
Style Theorem
Preamble
- \newtheorem{thm}{Theorem}[section]
+ \theoremstyle{plain}
+ \newtheorem{thm}{\protect\theoremname}[section]
EndPreamble
End