]> git.lyx.org Git - features.git/commitdiff
Remove latex-nameclash between
authorKornel Benko <kornel@lyx.org>
Fri, 1 Mar 2013 14:32:58 +0000 (15:32 +0100)
committerKornel Benko <kornel@lyx.org>
Fri, 1 Mar 2013 14:32:58 +0000 (15:32 +0100)
        \newfloat{algorithm} ...
and
        \newtheorem{algorithm}...

lib/layouts/theorems-ams-extended-bytype.module
lib/layouts/theorems-ams-extended.module

index 672ee4c5d1667f4275aad7b28bd24da9f2d71280..e08c737e47d7e4d16e5ec41c7c2238326c58a8ca 100644 (file)
@@ -93,11 +93,11 @@ End
 
 Style Algorithm
        CopyStyle             Theorem
-       LatexName             algorithm
+       LatexName             lyxalgorithm
        LabelString           "Algorithm \thealgorithm."
        Preamble
          \theoremstyle{plain}
-         \newtheorem{algorithm}{\protect\algorithmname}
+         \newtheorem{lyxalgorithm}{\protect\algorithmname}
        EndPreamble
        LangPreamble
          \providecommand{\algorithmname}{_(Algorithm)}
@@ -111,11 +111,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)}
index 7b5903301f8b92f34baa1e031982f3bdb2ab042c..09c430c1114b6c0b717a76bd9a64cc4beb6bbe8e 100644 (file)
@@ -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)}