]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/theorems-sec.module
We have the magic keyword ObsoletedBy which allows renaming styles
[lyx.git] / lib / layouts / theorems-sec.module
index 3be1c57af8a1997142551e4e2a072e040f36435c..84632bcc5b6f20613aaa897c46e24c8b9ba2d485 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 14
+Format 26
 
 Counter theorem
        Within         section
@@ -15,6 +17,7 @@ End
 
 Style Theorem
        Preamble
+               \theoremstyle{plain}
                \newtheorem{thm}{\protect\theoremname}[section]
        EndPreamble
        LangPreamble