]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/theorems-sec.module
stdstarsections.inc, tufte-handout.layout: whitespace
[lyx.git] / lib / layouts / theorems-sec.module
index ed210e3313b9b785890bb25c1c806b6677a4ad24..dd29e3ca58aa0bb01e89022f75045ab82d141370 100644 (file)
@@ -1,20 +1,23 @@
-#\DeclareLyXModule{Theorems (Order By Section)}
+#\DeclareLyXModule{Theorems (Numbered by Section)}
 #DescriptionBegin
-#Order theorems by section.
+#Numbers theorems and the like by section (i.e., the counter is reset at
+#each section start).
 #DescriptionEnd
-#Requires: Theorems | Theorems (AMS)
+#Requires: theorems-std | theorems-ams
+#Excludes: theorems-chap
+#Category: theorems
 
 # Author: Richard Heck <rgheck@comcast.net>
 
-Format 6
+Format 35
 
-Counter
-       Name           theorem
+Counter theorem
        Within         section
 End
 
 Style Theorem
        Preamble
-               \newtheorem{thm}{Theorem}[section]
+               \theoremstyle{plain}
+               \newtheorem{thm}{\protect\theoremname}[section]
        EndPreamble
 End