X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Flayouts%2Ftheorems-chap-bytype.module;h=fe98e03b2e838639786f86e530df63fc3569c14c;hb=051c5f27284f00c20e95c5732bcfb04632c7cb18;hp=20decf168da2ebcc57b3b9e4d496dce7a6f01716;hpb=6b49b6b129af9417fea7ea907a44a46fbbd38340;p=lyx.git diff --git a/lib/layouts/theorems-chap-bytype.module b/lib/layouts/theorems-chap-bytype.module index 20decf168d..fe98e03b2e 100644 --- a/lib/layouts/theorems-chap-bytype.module +++ b/lib/layouts/theorems-chap-bytype.module @@ -1,4 +1,5 @@ -#\DeclareLyXModule{Theorems (Numbered by Type within Chapters)} +#\DeclareLyXModule{Standard Theorems (Numbered by Type within Chapters)} +#\DeclareCategory{Maths} #DescriptionBegin #Defines some theorem environments for use with non-AMS classes. Contrary to the #plain Theorem module, the different theorem types provided here each have a separate @@ -9,46 +10,47 @@ #Requires: theorems-bytype | theorems-ams-bytype #Excludes: theorems-std | theorems-ams | theorems-starred | theorems-sec | theorems-sec-bytype -# Author: Paul Rubin (hacked from Richard Heck's various modules) +# Author: Paul Rubin (hacked from Richard Kimberly Heck's various modules) -Format 49 +Format 99 + +Input theorems-counters-bytype.inc -# We need separate counters for each theorem-like style. Counter theorem - Within chapter + Within chapter End Counter corollary - Within chapter + Within chapter End Counter lemma - Within chapter + Within chapter End Counter proposition - Within chapter + Within chapter End Counter conjecture - Within chapter + Within chapter End Counter fact - Within chapter + Within chapter End Counter definition - Within chapter + Within chapter End Counter example - Within chapter + Within chapter End Counter problem - Within chapter + Within chapter End Counter exercise - Within chapter + Within chapter End Counter remark - Within chapter + Within chapter End Counter claim - Within chapter + Within chapter End Style Theorem