X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Flayouts%2Ftheorems-chap-bytype.module;h=11f6a50a641ed0033a92a25c46974a0e6576b27c;hb=28f76b84c96323e4dad43140121aae01820b4c38;hp=517a956b6402b73aa0c1a3e91786c5fc28373a25;hpb=4fa5cbddcef5d4090d29850da38e6dc20d961b7c;p=lyx.git diff --git a/lib/layouts/theorems-chap-bytype.module b/lib/layouts/theorems-chap-bytype.module index 517a956b64..11f6a50a64 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 59 +Format 104 + +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