X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Flayouts%2Ftheorems-ams.module;h=e8896b4870bf15095bc96a0984fc33cea0ba8b0e;hb=9c8955ffd9df1a38a617bcbdf011c7b890ea23d1;hp=c0b6f2d73f45104c9dd75aae9a2570232ea56b45;hpb=9e5eebc14cd06f58000a4bd1903f157b65a3ab19;p=lyx.git diff --git a/lib/layouts/theorems-ams.module b/lib/layouts/theorems-ams.module index c0b6f2d73f..e8896b4870 100644 --- a/lib/layouts/theorems-ams.module +++ b/lib/layouts/theorems-ams.module @@ -1,21 +1,27 @@ -#\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 -# 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 (Numbered by ...)' modules. +#DescriptionEnd +#Excludes: theorems-std | theorems-starred +#Category: theorems + +# 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 45 + +Requires amsmath,amsthm + +Counter theorem End - +Input theorems-order.inc Input theorems-ams.inc +Input theorems-starred.inc +Input theorems-proof.inc