X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Flayouts%2Ftheorems-ams-extended.module;h=955f4ed7b0ab05f5aaa99e75927c05e22ccfb84b;hb=625e7609f0bb4087f0cd91ae3853beee6c6ba402;hp=7b5903301f8b92f34baa1e031982f3bdb2ab042c;hpb=8254e84f8f696f0372ccc77f59148888e17a85fe;p=lyx.git diff --git a/lib/layouts/theorems-ams-extended.module b/lib/layouts/theorems-ams-extended.module index 7b5903301f..955f4ed7b0 100644 --- a/lib/layouts/theorems-ams-extended.module +++ b/lib/layouts/theorems-ams-extended.module @@ -15,7 +15,7 @@ # Tinkered with Sep. '07 by Paul Rubin # Modularized Jan 08 by Richard Heck -Format 45 +Format 60 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