]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/theorems-sec.module
Fix bug #11410.
[lyx.git] / lib / layouts / theorems-sec.module
index d1537a7ec46f56a234362de872a3cf300a8d6ab0..eafe5296d1ee29596b60d2fc9bd85d1ce688bf34 100644 (file)
@@ -1,20 +1,25 @@
-#\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>
+# Author: Richard Kimberly Heck <rikiheck@lyx.org>
 
-Format 10
+Format 97
 
 Counter theorem
-       Within         section
+       GuiName Theorem
+       Within section
+       LaTeXName thm
 End
 
 Style Theorem
        Preamble
-               \newtheorem{thm}{Theorem}[section]
+               \theoremstyle{plain}
+               \newtheorem{thm}{\protect\theoremname}[section]
        EndPreamble
 End