]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/theorems-sec.module
Natbib authoryear uses (Ref1; Ref2) by default.
[lyx.git] / lib / layouts / theorems-sec.module
index 3b2887dd2f6bcb09405e5f4ee3338d1ffcc3ca2a..2ddffc569b9a90b6289b0a218362f0e8132dd3b3 100644 (file)
@@ -1,20 +1,23 @@
-#\DeclareLyXModule{Theorems (Order 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 9
+Format 45
 
-Counter
-       Name           theorem
+Counter theorem
        Within         section
 End
 
 Style Theorem
        Preamble
-               \newtheorem{thm}{Theorem}[section]
+               \theoremstyle{plain}
+               \newtheorem{thm}{\protect\theoremname}[section]
        EndPreamble
 End