]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/theorems-ams.module
stdletter.inc, letter.lyx: fix http://bugzilla.lyx.org/show_bug.cgi?id=5684
[lyx.git] / lib / layouts / theorems-ams.module
index c0b6f2d73f45104c9dd75aae9a2570232ea56b45..7c46dec77dd2ac134dfcaa1496da874a58edf513 100644 (file)
@@ -1,21 +1,30 @@
-#\DeclareLyXModule{Defines theorem environments and the proof environment for use with non-AMS classes, using the extended AMS machinery. The theorems are numbered consecutively throughout the document. NOTE: Only one of the theorem modules should be used at a time.}{Theorems (AMS)}
-
-# Author: Richard Heck <rgheck@comcast.net>
-# Adapted from amsdefs.inc and amsmaths.inc
-
-Format 6
-
-Requires       amsmath
-
-Preamble
-  \theoremstyle{plain}
-  \newtheorem{thm}{Theorem}[section]
-EndPreamble
-
-
-Counter
-       Name                 theorem
+#\DeclareLyXModule{Theorems (AMS)}
+#DescriptionBegin
+#Defines theorem environments and the proof environment using the extended 
+#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 (By ...) modules.
+#DescriptionEnd
+#Excludes: theorems-std | theorems-starred
+
+# Original Author : David L. Johnson <dlj0@lehigh.edu>
+# Probably broken by Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
+# modified and modularized by Emmanuel GUREGHIAN <gureghia@boston.bertin.fr>
+# Tinkered with Sep. '07 by Paul Rubin <rubin@msu.edu>
+# Modularized Jan 08 by Richard Heck <rgheck@comcast.net>
+
+Format 11
+
+Requires       amsmath,amsthm
+
+Counter theorem
 End
 
+AddToPreamble
+       \theoremstyle{plain}
+EndPreamble
 
+Input theorems-order.inc
 Input theorems-ams.inc
+Input theorems-starred.inc
+Input theorems-proof.inc