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