]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/theorems-sec.module
DocBook: implement title for layouts that previously missed it.
[lyx.git] / lib / layouts / theorems-sec.module
index 41305fe515a41e1966a81a3f08f64d854956c659..a1c6c06c391fcd655ab9c9ccb006cb2a05e24a04 100644 (file)
@@ -1,20 +1,24 @@
-#\DeclareLyXModule{Theorems (Order 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 8
+Format 85
 
-Counter
-       Name           theorem
+Counter theorem
+       GuiName Theorem
        Within         section
 End
 
 Style Theorem
        Preamble
-               \newtheorem{thm}{Theorem}[section]
+               \theoremstyle{plain}
+               \newtheorem{thm}{\protect\theoremname}[section]
        EndPreamble
 End