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