]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/theorems-sec.module
iucr.layout: use Item_Environment for a style as proposed by Jürgen
[lyx.git] / lib / layouts / theorems-sec.module
index 7c95bf0a43938efc3c880cb8775b49a16e472081..8675d2d9b2fb8d3c15cc018b488d760f2103200d 100644 (file)
@@ -1,12 +1,15 @@
-#\DeclareLyXModule{Theorems (Order By Section)}
+#\DeclareLyXModule{Theorems (Numbered by Section)}
 #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
+#Category: theorems
 
 # Author: Richard Heck <rgheck@comcast.net>
 
-Format 10
+Format 54
 
 Counter theorem
        Within         section
@@ -14,6 +17,7 @@ End
 
 Style Theorem
        Preamble
-               \newtheorem{thm}{Theorem}[section]
+               \theoremstyle{plain}
+               \newtheorem{thm}{\protect\theoremname}[section]
        EndPreamble
 End