]> git.lyx.org Git - features.git/blobdiff - lib/layouts/theorems-sec.module
Update layout formats
[features.git] / lib / layouts / theorems-sec.module
index 5b877e813c8cd94d976a923ba9c780cd8b6c65cf..d2fcf45db392df34889073437536a56d12ee12d7 100644 (file)
@@ -1,13 +1,15 @@
-#\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>
 
-Format 11
+Format 80
 
 Counter theorem
        Within         section
@@ -15,6 +17,7 @@ End
 
 Style Theorem
        Preamble
-               \newtheorem{thm}{Theorem}[section]
+               \theoremstyle{plain}
+               \newtheorem{thm}{\protect\theoremname}[section]
        EndPreamble
 End