X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Flayouts%2Ftheorems-chap.module;h=62ebe07d1b5dd7cb7aa7411a658945ffcb4de4c4;hb=ce071eec92fe406721a0e925eb2b6152963e42f2;hp=f72d8b85db95c2936b2740f0bc47c7512c69dc05;hpb=185b2ff053b8aa5124f3e3664c140aa025329e10;p=lyx.git diff --git a/lib/layouts/theorems-chap.module b/lib/layouts/theorems-chap.module index f72d8b85db..62ebe07d1b 100644 --- a/lib/layouts/theorems-chap.module +++ b/lib/layouts/theorems-chap.module @@ -1,14 +1,16 @@ -#\DeclareLyXModule{Theorems (By Chapter)} +#\DeclareLyXModule{Theorems (Numbered by Chapter)} #DescriptionBegin -#Numbers theorems and the like by chapter. Use this module only with -#layouts that provide a chapter environment. +#Numbers theorems and the like by chapter (i.e., the counter is reset at +#each chapter start). Use this module only with document classes that provide a chapter +#environment. #DescriptionEnd #Requires: theorems-std | theorems-ams #Excludes: theorems-sec +#Category: theorems # Author: Richard Heck -Format 14 +Format 59 Counter theorem Within chapter @@ -23,10 +25,4 @@ Style Theorem \newtheorem{thm}{\protect\theoremname}[chapter] \fi EndPreamble - LangPreamble - \providecommand{\theoremname}{_(Theorem)} - EndLangPreamble - BabelPreamble - \addto\captions$$lang{\renewcommand{\theoremname}{_(Theorem)}} - EndBabelPreamble End