X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Flayouts%2Ftheorems-sec.module;h=2ddffc569b9a90b6289b0a218362f0e8132dd3b3;hb=246b3d79e676481d0b56eb051757763260648c5c;hp=3be1c57af8a1997142551e4e2a072e040f36435c;hpb=9aad4bc27f607d869be86681dce1ef60f1053e23;p=lyx.git diff --git a/lib/layouts/theorems-sec.module b/lib/layouts/theorems-sec.module index 3be1c57af8..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 @@ -15,12 +17,7 @@ End Style Theorem Preamble + \theoremstyle{plain} \newtheorem{thm}{\protect\theoremname}[section] EndPreamble - LangPreamble - \providecommand{\theoremname}{_(Theorem)} - EndLangPreamble - BabelPreamble - \addto\captions$$lang{\renewcommand{\theoremname}{_(Theorem)}} - EndBabelPreamble End