]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/theorems-sec.module
Wininstaller, fix bug where previous installations, with emergency version greater...
[lyx.git] / lib / layouts / theorems-sec.module
index d1537a7ec46f56a234362de872a3cf300a8d6ab0..8a3b36f28cf96a847d7293292946169468291f96 100644 (file)
@@ -1,13 +1,15 @@
-#\DeclareLyXModule{Theorems (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 66
 
 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