X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Flayouts%2Ftheorems-ams.module;h=d10628bf45a0927e306b91bf5669a14805e8ff04;hb=1caa7670d2222a3bae6277c3c6bbe0ce65a8f658;hp=98bb1d295c748cbd73243d6ce619c65fe2cacb0e;hpb=8a42fa39c22973bb0f26dce7471cb08207c1baa5;p=lyx.git diff --git a/lib/layouts/theorems-ams.module b/lib/layouts/theorems-ams.module index 98bb1d295c..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. NOTE: Only one of the theorem modules should be used at a time.}{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