X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Flayouts%2Ftheorems-sec.module;h=295d026410e37e5802f243053aa34ce35f72492e;hb=8d0d3ea0905172b4a1fba7fbfadba83ff61671c6;hp=ed210e3313b9b785890bb25c1c806b6677a4ad24;hpb=8d541e36753cc01d43d47d0f4f3273bdd3ec40a9;p=lyx.git diff --git a/lib/layouts/theorems-sec.module b/lib/layouts/theorems-sec.module index ed210e3313..295d026410 100644 --- a/lib/layouts/theorems-sec.module +++ b/lib/layouts/theorems-sec.module @@ -1,20 +1,25 @@ -#\DeclareLyXModule{Theorems (Order By Section)} +#\DeclareLyXModule{Standard Theorems (Numbered by Section)} +#\DeclareCategory{Maths} #DescriptionBegin -#Order theorems by section. +#Numbers theorems and the like by section (i.e., the counter is reset at +#each section start). #DescriptionEnd -#Requires: Theorems | Theorems (AMS) +#Requires: theorems-std | theorems-ams +#Excludes: theorems-chap -# Author: Richard Heck +# Author: Richard Kimberly Heck -Format 6 +Format 89 -Counter - Name theorem - Within section +Counter theorem + GuiName Theorem + Within section + LaTeXName thm End Style Theorem Preamble - \newtheorem{thm}{Theorem}[section] + \theoremstyle{plain} + \newtheorem{thm}{\protect\theoremname}[section] EndPreamble End