X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Flayouts%2Ftheorems-chap.module;h=804be2631a6326eb632b557e82f0ffedbaa81eed;hb=051c5f27284f00c20e95c5732bcfb04632c7cb18;hp=b37f4c0a5e90999d1fa5703328a47a69cad5b47c;hpb=c48c33cf3a291432568f13947ec4025bac2e39ac;p=lyx.git diff --git a/lib/layouts/theorems-chap.module b/lib/layouts/theorems-chap.module index b37f4c0a5e..804be2631a 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 19 +Format 99 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