X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Flayouts%2Ftheorems-ams-extended.module;h=7394e92d6059771c6f034282482992025d7c3119;hb=d0af587ab4b93533955f40bf2ac099e71d60b4f4;hp=62bd490dad046a8bcc36e9029ac19d8c0c454c4c;hpb=9aad4bc27f607d869be86681dce1ef60f1053e23;p=lyx.git diff --git a/lib/layouts/theorems-ams-extended.module b/lib/layouts/theorems-ams-extended.module index 62bd490dad..7394e92d60 100644 --- a/lib/layouts/theorems-ams-extended.module +++ b/lib/layouts/theorems-ams-extended.module @@ -3,10 +3,11 @@ #Defines some additional theorem environments for use with the #AMS theorems packages. Includes Criterion, Algorithm, Axiom, #Condition, Note, Notation, Summary, Acknowledgement, Conclusion, -#Fact, Assumption, Case, and Question, in both starred and non-starred +#Fact, Assumption, Case, and Question, in both numbered and non-numbered #forms. #DescriptionEnd #Requires: theorems-ams +#Category: theorems # Original Author : David L. Johnson # Probably broken by Jean-Marc Lasgouttes @@ -14,7 +15,7 @@ # Tinkered with Sep. '07 by Paul Rubin # Modularized Jan 08 by Richard Heck -Format 14 +Format 48 Requires amsmath @@ -69,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)} @@ -86,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)}