X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Flayouts%2Ftheorems-bytype.module;h=e2b7428d1282b37f2baf61d2807758e3cee6fe00;hb=9ca91b25664221978c336527002e66a7d18c95ef;hp=d66e15f899825c55088fadf56787987f2e33ee79;hpb=69b1ea0ecf5191b937b9e6239aea1d266593bbbc;p=features.git diff --git a/lib/layouts/theorems-bytype.module b/lib/layouts/theorems-bytype.module index d66e15f899..e2b7428d12 100644 --- a/lib/layouts/theorems-bytype.module +++ b/lib/layouts/theorems-bytype.module @@ -1,4 +1,5 @@ -#\DeclareLyXModule{Theorems (Numbered by Type)} +#\DeclareLyXModule{Standard Theorems (Numbered by Type)} +#\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,36 +10,11 @@ #DescriptionEnd #Excludes: theorems-std | theorems-ams | theorems-starred | theorems-ams-bytype -# Author: Paul Rubin (hacked from Richard Heck's theorems-std.module) +# Author: Paul Rubin (hacked from Richard Kimberly Heck's theorems-std.module) -Format 30 - -# We need separate counters for each theorem-like style. -Counter theorem -End -Counter corollary -End -Counter lemma -End -Counter proposition -End -Counter conjecture -End -Counter fact -End -Counter definition -End -Counter example -End -Counter problem -End -Counter exercise -End -Counter remark -End -Counter claim -End +Format 95 +Input theorems-counters-bytype.inc Input theorems-bytype.inc Input theorems-proof.inc @@ -59,4 +35,5 @@ Style Proof \providecommand{\proofname}{Proof} \fi EndPreamble +# No LangPreamble or BabelPreamble, since babel knows \proofname already. End