]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/theorems-sec.module
Allow footnotes in floating tables via tablefootnote package
[lyx.git] / lib / layouts / theorems-sec.module
index 41305fe515a41e1966a81a3f08f64d854956c659..6d9b59ffebd558f5a2f017d6a2a4ea62a009f799 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 8
+Format 65
 
-Counter
-       Name           theorem
+Counter theorem
        Within         section
 End
 
 Style Theorem
        Preamble
-               \newtheorem{thm}{Theorem}[section]
+               \theoremstyle{plain}
+               \newtheorem{thm}{\protect\theoremname}[section]
        EndPreamble
 End