X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Flayouts%2Ftheorems-chap.module;h=73966247ed7106da5cff1cc41d31a02f485f3b4a;hb=c8c1c15631712d458e98b612ba8c049a7ae4d260;hp=e6a975add920d255fdd68c54b88bec028a41e5c2;hpb=99bbf5b42ac3d74d7082559c0b9b76e585827c90;p=lyx.git diff --git a/lib/layouts/theorems-chap.module b/lib/layouts/theorems-chap.module index e6a975add9..73966247ed 100644 --- a/lib/layouts/theorems-chap.module +++ b/lib/layouts/theorems-chap.module @@ -1,4 +1,5 @@ -#\DeclareLyXModule{Theorems (Numbered by Chapter)} +#\DeclareLyXModule{Standard Theorems (Numbered by Chapter)} +#\DeclareCategory{Maths} #DescriptionBegin #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 @@ -6,14 +7,15 @@ #DescriptionEnd #Requires: theorems-std | theorems-ams #Excludes: theorems-sec -#Category: theorems -# Author: Richard Heck +# Author: Richard Kimberly Heck -Format 24 +Format 98 Counter theorem - Within chapter + GuiName Theorem + Within chapter + LaTeXName thm End Style Theorem @@ -25,10 +27,4 @@ Style Theorem \newtheorem{thm}{\protect\theoremname}[chapter] \fi EndPreamble - LangPreamble - \providecommand{\theoremname}{_(Theorem)} - EndLangPreamble - BabelPreamble - \addto\captions$$lang{\renewcommand{\theoremname}{_(Theorem)}} - EndBabelPreamble End