X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Flayouts%2Ftheorems-sec.module;h=295d026410e37e5802f243053aa34ce35f72492e;hb=8d0d3ea0905172b4a1fba7fbfadba83ff61671c6;hp=909a72baa82f1379519538427062f200d85c199a;hpb=d5d665482e118d5c993717c0ec0406b94c57aa1f;p=lyx.git diff --git a/lib/layouts/theorems-sec.module b/lib/layouts/theorems-sec.module index 909a72baa8..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 -#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 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