# Tinkered with Sep. '07 by Paul Rubin <rubin@msu.edu>
# Modularized Jan 08 by Richard Heck <rgheck@comcast.net>
-Format 27
+Format 60
Requires amsmath
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)}
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)}
\addto\captions$$lang{\renewcommand{\questionname}{_(Question)}}
EndBabelPreamble
End
+
+Input theorems-refprefix.inc