X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Flayouts%2Ftheorems-chap-bytype.module;h=2bc0c17fd693a771392e6a99802e4e05d5fd9462;hb=761648b1f7d1df9de87921143b8004b6d3dd21e9;hp=c2026392386878a13f7f45c9292e7436b2a17a47;hpb=bbf287a3c603b40e41007be54872e939b996319d;p=lyx.git diff --git a/lib/layouts/theorems-chap-bytype.module b/lib/layouts/theorems-chap-bytype.module index c202639238..2bc0c17fd6 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 @@ -11,43 +12,55 @@ # Author: Paul Rubin (hacked from Richard Heck's various modules) -Format 68 +Format 82 # We need separate counters for each theorem-like style. Counter theorem + GuiName Theorem Within chapter End Counter corollary + GuiName Corollary Within chapter End Counter lemma + GuiName Lemma Within chapter End Counter proposition + GuiName Proposition Within chapter End Counter conjecture + GuiName Conjecture Within chapter End Counter fact + GuiName Fact Within chapter End Counter definition + GuiName Definition Within chapter End Counter example + GuiName Example Within chapter End Counter problem + GuiName Problem Within chapter End Counter exercise + GuiName Exercise Within chapter End Counter remark + GuiName Remark Within chapter End Counter claim + GuiName Claim Within chapter End