X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Flayouts%2Ftheorems-ams-extended.module;h=0f33a90af3e8db88e01a2afbbf4252206c77a8f3;hb=761648b1f7d1df9de87921143b8004b6d3dd21e9;hp=063945cd405199f12d612f271140847562a7ccc1;hpb=e392cff392dc8bd76ac9e05809b09510432702c3;p=lyx.git diff --git a/lib/layouts/theorems-ams-extended.module b/lib/layouts/theorems-ams-extended.module index 063945cd40..0f33a90af3 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 26 +Format 82 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