]> git.lyx.org Git - features.git/blobdiff - lib/layouts/theorems-sec.module
Merge branch 'master' of git.lyx.org:lyx
[features.git] / lib / layouts / theorems-sec.module
index ed210e3313b9b785890bb25c1c806b6677a4ad24..e146346cb2cfe90caa2e5b0fe1792889a0280636 100644 (file)
@@ -1,20 +1,25 @@
-#\DeclareLyXModule{Theorems (Order By Section)}
+#\DeclareLyXModule{Standard Theorems (Numbered by Section)}
+#\DeclareCategory{Maths}
 #DescriptionBegin
-#Order theorems by section.
+#Numbers theorems and the like by section (i.e., the counter is reset at
+#each section start).
 #DescriptionEnd
-#Requires: Theorems | Theorems (AMS)
+#Requires: theorems-std | theorems-ams
+#Excludes: theorems-chap
 
-# Author: Richard Heck <rgheck@comcast.net>
+# Author: Richard Kimberly Heck <rikiheck@lyx.org>
 
-Format 6
+Format 95
 
-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