X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Flayouts%2Ftheorems-sec.module;h=2ddffc569b9a90b6289b0a218362f0e8132dd3b3;hb=246b3d79e676481d0b56eb051757763260648c5c;hp=eb18d3e67b605fd081d1da25a5a5b698eed4bcaf;hpb=d252730dff10221be69df2a8c889cd311ae20e27;p=lyx.git diff --git a/lib/layouts/theorems-sec.module b/lib/layouts/theorems-sec.module index eb18d3e67b..2ddffc569b 100644 --- a/lib/layouts/theorems-sec.module +++ b/lib/layouts/theorems-sec.module @@ -1,20 +1,23 @@ -#\DeclareLyXModule{Theorems (Order By Section)} +#\DeclareLyXModule{Theorems (Numbered by Section)} #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 +#Category: theorems # Author: Richard Heck -Format 7 +Format 45 -Counter - Name theorem +Counter theorem Within section End Style Theorem Preamble - \newtheorem{thm}{Theorem}[section] + \theoremstyle{plain} + \newtheorem{thm}{\protect\theoremname}[section] EndPreamble End