X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Flayouts%2Ftheorems-sec.module;h=2ddffc569b9a90b6289b0a218362f0e8132dd3b3;hb=246b3d79e676481d0b56eb051757763260648c5c;hp=d1537a7ec46f56a234362de872a3cf300a8d6ab0;hpb=85cf71f69ab3f7f39cee7c2578de8ad7e70be332;p=lyx.git diff --git a/lib/layouts/theorems-sec.module b/lib/layouts/theorems-sec.module index d1537a7ec4..2ddffc569b 100644 --- a/lib/layouts/theorems-sec.module +++ b/lib/layouts/theorems-sec.module @@ -1,13 +1,15 @@ -#\DeclareLyXModule{Theorems (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 @@ -15,6 +17,7 @@ End Style Theorem Preamble - \newtheorem{thm}{Theorem}[section] + \theoremstyle{plain} + \newtheorem{thm}{\protect\theoremname}[section] EndPreamble End