]> 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 eb18d3e67b605fd081d1da25a5a5b698eed4bcaf..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 7
+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