X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Flayouts%2Ftheorems-sec.module;h=2ddffc569b9a90b6289b0a218362f0e8132dd3b3;hb=246b3d79e676481d0b56eb051757763260648c5c;hp=7fb0b436b50a08eb2112ec958f1715bf486b28bd;hpb=185b2ff053b8aa5124f3e3664c140aa025329e10;p=lyx.git diff --git a/lib/layouts/theorems-sec.module b/lib/layouts/theorems-sec.module index 7fb0b436b5..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 14 +Format 45 Counter theorem Within section @@ -18,10 +20,4 @@ Style Theorem \theoremstyle{plain} \newtheorem{thm}{\protect\theoremname}[section] EndPreamble - LangPreamble - \providecommand{\theoremname}{_(Theorem)} - EndLangPreamble - BabelPreamble - \addto\captions$$lang{\renewcommand{\theoremname}{_(Theorem)}} - EndBabelPreamble End