]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/theorems-sec.module
Autoconf: use included boost when system boost is not available
[lyx.git] / lib / layouts / theorems-sec.module
index 5b877e813c8cd94d976a923ba9c780cd8b6c65cf..295d026410e37e5802f243053aa34ce35f72492e 100644 (file)
@@ -1,20 +1,25 @@
-#\DeclareLyXModule{Theorems (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 11
+Format 89
 
 Counter theorem
-       Within         section
+       GuiName Theorem
+       Within section
+       LaTeXName thm
 End
 
 Style Theorem
        Preamble
-               \newtheorem{thm}{Theorem}[section]
+               \theoremstyle{plain}
+               \newtheorem{thm}{\protect\theoremname}[section]
        EndPreamble
 End