]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/theorems-ams.module
Autoconf: use included boost when system boost is not available
[lyx.git] / lib / layouts / theorems-ams.module
index 70200c849ed5106bf8d6e5b16278b11bf52c204a..863fc1a7347eca8e39a33396f75ff795a2397a52 100644 (file)
@@ -1,19 +1,29 @@
-#\DeclareLyXModule[amsmath.sty]{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.}{Theorems (AMS)}
+#\DeclareLyXModule{AMS Theorems}
+#\DeclareCategory{Maths}
+#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 (Numbered by ...)' modules.
+#DescriptionEnd
+#Excludes: theorems-std | theorems-starred
 
-# Author: Richard Heck <rgheck@comcast.net>
-# Adapted from amsdefs.inc and amsmaths.inc
+# 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 Kimberly Heck <rikiheck@lyx.org>
 
-Format 5
-Preamble
-       \usepackage{amsmath}
-  \theoremstyle{plain}
-       \newtheorem{thm}{Theorem}[section]
-EndPreamble
+Format 89
 
+Requires       amsmath,amsthm
 
-Counter
-       Name                 theorem
+Counter theorem
+       GuiName Theorem
+       LaTeXName thm
 End
 
-
+Input theorems-order.inc
 Input theorems-ams.inc
+Input theorems-starred.inc
+Input theorems-proof.inc