]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/theorems-ams-extended.module
Tools(listFontWithLang.pl): Added type for small capitals.
[lyx.git] / lib / layouts / theorems-ams-extended.module
index cd421edebe661574125cb62f1b5cc5c732410513..2c6146279b6fe9976238d2d2061fb1c71bdc9877 100644 (file)
@@ -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 <dlj0@lehigh.edu>
 # Probably broken by Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
@@ -15,7 +15,7 @@
 # Tinkered with Sep. '07 by Paul Rubin <rubin@msu.edu>
 # Modularized Jan 08 by Richard Heck <rgheck@comcast.net>
 
-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