From b4341a8daecd3f24be6556b54a70fd48e10837ea Mon Sep 17 00:00:00 2001 From: Richard Heck Date: Thu, 10 Jan 2008 05:14:12 +0000 Subject: [PATCH] Minor tweaks, and a new module for unnumbered theorems only. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22464 a592a061-630c-0410-9148-cb99ea01b6c8 --- lib/layouts/theorems-ams.module | 6 ++++-- lib/layouts/theorems-chap.module | 3 +-- lib/layouts/theorems-sec.module | 2 +- lib/layouts/theorems-starred.module | 13 +++++++++++++ lib/layouts/theorems-std.module | 7 ++++--- 5 files changed, 23 insertions(+), 8 deletions(-) create mode 100644 lib/layouts/theorems-starred.module diff --git a/lib/layouts/theorems-ams.module b/lib/layouts/theorems-ams.module index 1cf6a76b1d..41764e218b 100644 --- a/lib/layouts/theorems-ams.module +++ b/lib/layouts/theorems-ams.module @@ -1,9 +1,11 @@ #\DeclareLyXModule{Theorems (AMS)} #DescriptionBegin #Defines theorem environments and the proof environment using the extended -#AMS machinery. The theorems are numbered consecutively throughout the document. +#AMS machinery. Both numbered and unnumbered types are provided. By default, +#the theorems are numbered consecutively throughout the document. This can be +#changed by loading one of the Theorems (Ordered By ...) modules. #DescriptionEnd -#Excludes: Theorems +#Excludes: Theorems | Theorems (Starred) # Original Author : David L. Johnson # Probably broken by Jean-Marc Lasgouttes diff --git a/lib/layouts/theorems-chap.module b/lib/layouts/theorems-chap.module index e7422cd047..aae92e23f4 100644 --- a/lib/layouts/theorems-chap.module +++ b/lib/layouts/theorems-chap.module @@ -1,7 +1,6 @@ #\DeclareLyXModule{Theorems (Order By Chapter)} #DescriptionBegin -#Defines some theorem environments for use with non-AMS classes. The theorems are -#numbered by chapter. +#Numbers theorems and the like by chapter. #DescriptionEnd #Requires: Theorems | Theorems (AMS) diff --git a/lib/layouts/theorems-sec.module b/lib/layouts/theorems-sec.module index ed210e3313..704ac589ba 100644 --- a/lib/layouts/theorems-sec.module +++ b/lib/layouts/theorems-sec.module @@ -1,6 +1,6 @@ #\DeclareLyXModule{Theorems (Order By Section)} #DescriptionBegin -#Order theorems by section. +#Numbers theorems and the like by section. #DescriptionEnd #Requires: Theorems | Theorems (AMS) diff --git a/lib/layouts/theorems-starred.module b/lib/layouts/theorems-starred.module new file mode 100644 index 0000000000..5ee9b8a4ef --- /dev/null +++ b/lib/layouts/theorems-starred.module @@ -0,0 +1,13 @@ +#\DeclareLyXModule{Theorems (Starred)} +#DescriptionBegin +#Defines only unnumbered theorem environments, and the proof environment, using +#the extended AMS machinery. +##DescriptionEnd +#Excludes: Theorems (AMS) | Theorems (Starred) | Theorems (Order By Section) | Theorems (Order By Chapter) + +# Author: Richard Heck + +Format 6 + +Input theorems-starred.inc +Input theorems-proof.inc diff --git a/lib/layouts/theorems-std.module b/lib/layouts/theorems-std.module index 81ab56e9ac..1c2d7dd679 100644 --- a/lib/layouts/theorems-std.module +++ b/lib/layouts/theorems-std.module @@ -1,9 +1,10 @@ #\DeclareLyXModule{Theorems} #DescriptionBegin -#Defines some theorem environments for use with non-AMS classes. The theorems are -#numbered consecutively throughout the document. +#Defines some theorem environments for use with non-AMS classes. By default, +#the theorems are numbered consecutively throughout the document. This can be +#changed by loading one of the Theorems (Ordered By ...) modules. #DescriptionEnd -#Excludes: Theorems (AMS) +#Excludes: Theorems (AMS) | Theorems (Starred) # Author: Richard Heck -- 2.39.5