X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Flayouts%2Ftheorems-ams-extended.module;h=2c6146279b6fe9976238d2d2061fb1c71bdc9877;hb=7cb50d70086faafb22a7dd8ca779278a0f9310e9;hp=cd421edebe661574125cb62f1b5cc5c732410513;hpb=3b716ae11e5f55cf0544521ebd345a341707744e;p=lyx.git diff --git a/lib/layouts/theorems-ams-extended.module b/lib/layouts/theorems-ams-extended.module index cd421edebe..2c6146279b 100644 --- a/lib/layouts/theorems-ams-extended.module +++ b/lib/layouts/theorems-ams-extended.module @@ -1,4 +1,5 @@ -#\DeclareLyXModule{Theorems (AMS-Extended)} +#\DeclareLyXModule{AMS Theorems (Extended)} +#\DeclareCategory{Maths} #DescriptionBegin #Defines some additional theorem environments for use with the #AMS theorems packages. Includes Criterion, Algorithm, Axiom, @@ -7,7 +8,6 @@ #forms. #DescriptionEnd #Requires: theorems-ams -#Category: theorems # Original Author : David L. Johnson # Probably broken by Jean-Marc Lasgouttes @@ -15,7 +15,7 @@ # Tinkered with Sep. '07 by Paul Rubin # Modularized Jan 08 by Richard Heck -Format 28 +Format 81 Requires amsmath @@ -70,11 +70,11 @@ End Style Algorithm CopyStyle Theorem DependsOn Theorem - LatexName algorithm + LatexName lyxalgorithm LabelString "Algorithm \thetheorem." Preamble \theoremstyle{plain} - \newtheorem{algorithm}[thm]{\protect\algorithmname} + \newtheorem{lyxalgorithm}[thm]{\protect\algorithmname} EndPreamble LangPreamble \providecommand{\algorithmname}{_(Algorithm)} @@ -87,11 +87,11 @@ End Style Algorithm* CopyStyle Theorem* - LatexName algorithm* + LatexName lyxalgorithm* LabelString "Algorithm." Preamble \theoremstyle{plain} - \newtheorem*{algorithm*}{\protect\algorithmname} + \newtheorem*{lyxalgorithm*}{\protect\algorithmname} EndPreamble LangPreamble \providecommand{\algorithmname}{_(Algorithm)} @@ -407,3 +407,5 @@ Style Question* \addto\captions$$lang{\renewcommand{\questionname}{_(Question)}} EndBabelPreamble End + +Input theorems-refprefix.inc