X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Flayouts%2Ftheorems-sec.module;h=295d026410e37e5802f243053aa34ce35f72492e;hb=8d0d3ea0905172b4a1fba7fbfadba83ff61671c6;hp=5b877e813c8cd94d976a923ba9c780cd8b6c65cf;hpb=a2f4949d3842eb2fe5a692031a8f6ccb995b3d24;p=lyx.git diff --git a/lib/layouts/theorems-sec.module b/lib/layouts/theorems-sec.module index 5b877e813c..295d026410 100644 --- a/lib/layouts/theorems-sec.module +++ b/lib/layouts/theorems-sec.module @@ -1,20 +1,25 @@ -#\DeclareLyXModule{Theorems (By Section)} +#\DeclareLyXModule{Standard Theorems (Numbered by Section)} +#\DeclareCategory{Maths} #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 -# Author: Richard Heck +# Author: Richard Kimberly Heck -Format 11 +Format 89 Counter theorem - Within section + GuiName Theorem + Within section + LaTeXName thm End Style Theorem Preamble - \newtheorem{thm}{Theorem}[section] + \theoremstyle{plain} + \newtheorem{thm}{\protect\theoremname}[section] EndPreamble End