X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Flayouts%2Ftheorems-ams.module;h=d10628bf45a0927e306b91bf5669a14805e8ff04;hb=1caa7670d2222a3bae6277c3c6bbe0ce65a8f658;hp=70200c849ed5106bf8d6e5b16278b11bf52c204a;hpb=2607927e2f7bce33a95780452fcbf9ea00c09047;p=lyx.git diff --git a/lib/layouts/theorems-ams.module b/lib/layouts/theorems-ams.module index 70200c849e..d10628bf45 100644 --- a/lib/layouts/theorems-ams.module +++ b/lib/layouts/theorems-ams.module @@ -1,19 +1,27 @@ -#\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{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 (Numbered by ...)' modules. +#DescriptionEnd +#Excludes: theorems-std | theorems-starred +#Category: theorems -# Author: Richard Heck -# Adapted from amsdefs.inc and amsmaths.inc +# Original Author : David L. Johnson +# Probably broken by Jean-Marc Lasgouttes +# modified and modularized by Emmanuel GUREGHIAN +# Tinkered with Sep. '07 by Paul Rubin +# Modularized Jan 08 by Richard Heck -Format 5 -Preamble - \usepackage{amsmath} - \theoremstyle{plain} - \newtheorem{thm}{Theorem}[section] -EndPreamble +Format 30 +Requires amsmath,amsthm -Counter - Name theorem +Counter theorem End - +Input theorems-order.inc Input theorems-ams.inc +Input theorems-starred.inc +Input theorems-proof.inc