X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Flayouts%2Ftheorems-chap-bytype.module;h=2bc0c17fd693a771392e6a99802e4e05d5fd9462;hb=761648b1f7d1df9de87921143b8004b6d3dd21e9;hp=80afac54894adc75eaf28dd8667bae0692745eb6;hpb=e11bda2cea6b43dc195a340bb42c7209a556c26b;p=lyx.git diff --git a/lib/layouts/theorems-chap-bytype.module b/lib/layouts/theorems-chap-bytype.module index 80afac5489..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 67 +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