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