]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/theorems-ams-extended.module
DocBook: new logic to handle the new lines, only used in output_docbook for now.
[lyx.git] / lib / layouts / theorems-ams-extended.module
index 62bd490dad046a8bcc36e9029ac19d8c0c454c4c..0f33a90af3e8db88e01a2afbbf4252206c77a8f3 100644 (file)
@@ -1,9 +1,10 @@
-#\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,
 #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
@@ -14,7 +15,7 @@
 # Tinkered with Sep. '07 by Paul Rubin <rubin@msu.edu>
 # Modularized Jan 08 by Richard Heck <rgheck@comcast.net>
 
-Format 14
+Format 82
 
 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)}
@@ -406,3 +407,5 @@ Style Question*
          \addto\captions$$lang{\renewcommand{\questionname}{_(Question)}}
        EndBabelPreamble
 End
+
+Input theorems-refprefix.inc