# Modularized Jan 08 by Richard Heck <rgheck@comcast.net>
# Hacked June '09 by Paul Rubin <rubin@msu.edu> to use separate counters
-Format 34
+Format 49
Requires amsmath
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)}
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)}
Preamble
\theoremstyle{plain}
\newtheorem*{assumption*}{\protect\assumptionname}
+ EndPreamble
LangPreamble
\providecommand{\assumptionname}{_(Assumption)}
EndLangPreamble
BabelPreamble
\addto\captions$$lang{\renewcommand{\assumptionname}{_(Assumption)}}
EndBabelPreamble
- EndPreamble
End
+
+Input theorems-refprefix.inc