X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Flayouts%2Ftheorems-chap.module;h=73966247ed7106da5cff1cc41d31a02f485f3b4a;hb=c8c1c15631712d458e98b612ba8c049a7ae4d260;hp=b9f0bd1d812f1d3bc04d1c11c156981054100cd3;hpb=f9377c8bcc63c4bbf2fb598a7de287b7c4259585;p=lyx.git diff --git a/lib/layouts/theorems-chap.module b/lib/layouts/theorems-chap.module index b9f0bd1d81..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 27 +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