X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Flayouts%2Ftheorems-sec.module;h=2ddffc569b9a90b6289b0a218362f0e8132dd3b3;hb=246b3d79e676481d0b56eb051757763260648c5c;hp=7c95bf0a43938efc3c880cb8775b49a16e472081;hpb=b32b4a545c3d4b5e6b3b22b1339360a7ed07ae07;p=lyx.git diff --git a/lib/layouts/theorems-sec.module b/lib/layouts/theorems-sec.module index 7c95bf0a43..2ddffc569b 100644 --- a/lib/layouts/theorems-sec.module +++ b/lib/layouts/theorems-sec.module @@ -1,12 +1,15 @@ -#\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 -Format 10 +Format 45 Counter theorem Within section @@ -14,6 +17,7 @@ End Style Theorem Preamble - \newtheorem{thm}{Theorem}[section] + \theoremstyle{plain} + \newtheorem{thm}{\protect\theoremname}[section] EndPreamble End