# 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 68
Requires amsmath
# - Acknowledgement
# - Conclusion
# - Assumption
+# - Question
# We need separate counters for each theorem-like style.
Counter criterion
End
Counter assumption
End
+Counter question
+End
Style Criterion
LabelString "Criterion \thecriterion."
Preamble
\theoremstyle{plain}
- \newtheorem{criterion}{Criterion}
+ \newtheorem{criterion}{\protect\criterionname}
EndPreamble
+ LangPreamble
+ \providecommand{\criterionname}{_(Criterion)}
+ EndLangPreamble
+ BabelPreamble
+ \addto\captions$$lang{\renewcommand{\criterionname}{_(Criterion)}}
+ EndBabelPreamble
LabelCounter criterion
End
LabelString "Criterion."
Preamble
\theoremstyle{plain}
- \newtheorem*{criterion*}{Criterion}
+ \newtheorem*{criterion*}{\protect\criterionname}
EndPreamble
+ LangPreamble
+ \providecommand{\criterionname}{_(Criterion)}
+ EndLangPreamble
+ BabelPreamble
+ \addto\captions$$lang{\renewcommand{\criterionname}{_(Criterion)}}
+ EndBabelPreamble
End
Style Algorithm
CopyStyle Theorem
- LatexName algorithm
+ LatexName lyxalgorithm
LabelString "Algorithm \thealgorithm."
Preamble
\theoremstyle{plain}
- \newtheorem{algorithm}{Algorithm}
+ \newtheorem{lyxalgorithm}{\protect\algorithmname}
EndPreamble
+ LangPreamble
+ \providecommand{\algorithmname}{_(Algorithm)}
+ EndLangPreamble
+ BabelPreamble
+ \addto\captions$$lang{\renewcommand{\algorithmname}{_(Algorithm)}}
+ EndBabelPreamble
LabelCounter algorithm
End
Style Algorithm*
CopyStyle Theorem*
- LatexName algorithm*
+ LatexName lyxalgorithm*
LabelString "Algorithm."
Preamble
\theoremstyle{plain}
- \newtheorem*{algorithm*}{Algorithm}
+ \newtheorem*{lyxalgorithm*}{\protect\algorithmname}
EndPreamble
+ LangPreamble
+ \providecommand{\algorithmname}{_(Algorithm)}
+ EndLangPreamble
+ BabelPreamble
+ \addto\captions$$lang{\renewcommand{\algorithmname}{_(Algorithm)}}
+ EndBabelPreamble
End
LabelString "Axiom \theaxiom."
Preamble
\theoremstyle{plain}
- \newtheorem{ax}{Axiom}
+ \newtheorem{ax}{\protect\axiomname}
EndPreamble
+ LangPreamble
+ \providecommand{\axiomname}{_(Axiom)}
+ EndLangPreamble
+ BabelPreamble
+ \addto\captions$$lang{\renewcommand{\axiomname}{_(Axiom)}}
+ EndBabelPreamble
LabelCounter axiom
End
LabelString "Axiom."
Preamble
\theoremstyle{plain}
- \newtheorem*{ax*}{Axiom}
+ \newtheorem*{ax*}{\protect\axiomname}
EndPreamble
+ LangPreamble
+ \providecommand{\axiomname}{_(Axiom)}
+ EndLangPreamble
+ BabelPreamble
+ \addto\captions$$lang{\renewcommand{\axiomname}{_(Axiom)}}
+ EndBabelPreamble
End
LabelString "Condition \thecondition."
Preamble
\theoremstyle{definition}
- \newtheorem{condition}{Condition}
+ \newtheorem{condition}{\protect\conditionname}
EndPreamble
+ LangPreamble
+ \providecommand{\conditionname}{_(Condition)}
+ EndLangPreamble
+ BabelPreamble
+ \addto\captions$$lang{\renewcommand{\conditionname}{_(Condition)}}
+ EndBabelPreamble
LabelCounter condition
End
LabelString "Condition."
Preamble
\theoremstyle{definition}
- \newtheorem*{condition*}{Condition}
+ \newtheorem*{condition*}{\protect\conditionname}
EndPreamble
+ LangPreamble
+ \providecommand{\conditionname}{_(Condition)}
+ EndLangPreamble
+ BabelPreamble
+ \addto\captions$$lang{\renewcommand{\conditionname}{_(Condition)}}
+ EndBabelPreamble
End
LabelString "Note \thenote."
Preamble
\theoremstyle{remark}
- \newtheorem{note}{Note}
+ \newtheorem{note}{\protect\notename}
EndPreamble
+ LangPreamble
+ \providecommand{\notename}{_(Note)}
+ EndLangPreamble
+ BabelPreamble
+ \addto\captions$$lang{\renewcommand{\notename}{_(Note)}}
+ EndBabelPreamble
LabelCounter note
End
LabelString "Note."
Preamble
\theoremstyle{remark}
- \newtheorem*{note*}{Note}
+ \newtheorem*{note*}{\protect\notename}
EndPreamble
+ LangPreamble
+ \providecommand{\notename}{_(Note)}
+ EndLangPreamble
+ BabelPreamble
+ \addto\captions$$lang{\renewcommand{\notename}{_(Note)}}
+ EndBabelPreamble
End
LabelString "Notation \thenotation."
Preamble
\theoremstyle{remark}
- \newtheorem{notation}{Notation}
+ \newtheorem{notation}{\protect\notationname}
EndPreamble
+ LangPreamble
+ \providecommand{\notationname}{_(Notation)}
+ EndLangPreamble
+ BabelPreamble
+ \addto\captions$$lang{\renewcommand{\notationname}{_(Notation)}}
+ EndBabelPreamble
LabelCounter notation
End
LabelString "Notation."
Preamble
\theoremstyle{remark}
- \newtheorem*{notation*}{Notation}
+ \newtheorem*{notation*}{\protect\notationname}
EndPreamble
+ LangPreamble
+ \providecommand{\notationname}{_(Notation)}
+ EndLangPreamble
+ BabelPreamble
+ \addto\captions$$lang{\renewcommand{\notationname}{_(Notation)}}
+ EndBabelPreamble
End
LabelString "Summary \thesummary."
Preamble
\theoremstyle{remark}
- \newtheorem{summary}{Summary}
+ \newtheorem{summary}{\protect\summaryname}
EndPreamble
+ LangPreamble
+ \providecommand{\summaryname}{_(Summary)}
+ EndLangPreamble
+ BabelPreamble
+ \addto\captions$$lang{\renewcommand{\summaryname}{_(Summary)}}
+ EndBabelPreamble
LabelCounter summary
End
LabelString "Summary."
Preamble
\theoremstyle{remark}
- \newtheorem*{summary*}{Summary}
+ \newtheorem*{summary*}{\protect\summaryname}
EndPreamble
+ LangPreamble
+ \providecommand{\summaryname}{_(Summary)}
+ EndLangPreamble
+ BabelPreamble
+ \addto\captions$$lang{\renewcommand{\summaryname}{_(Summary)}}
+ EndBabelPreamble
End
LabelString "Acknowledgement \theacknowledgement."
Preamble
\theoremstyle{remark}
- \newtheorem{acknowledgement}{Acknowledgement}
+ \newtheorem{acknowledgement}{\protect\acknowledgementname}
EndPreamble
+ LangPreamble
+ \providecommand{\acknowledgementname}{_(Acknowledgement)}
+ EndLangPreamble
+ BabelPreamble
+ \addto\captions$$lang{\renewcommand{\acknowledgementname}{_(Acknowledgement)}}
+ EndBabelPreamble
LabelCounter acknowledgement
End
LabelString "Acknowledgement."
Preamble
\theoremstyle{remark}
- \newtheorem*{acknowledgement*}{Acknowledgement}
+ \newtheorem*{acknowledgement*}{\protect\acknowledgementname}
EndPreamble
+ LangPreamble
+ \providecommand{\acknowledgementname}{_(Acknowledgement)}
+ EndLangPreamble
+ BabelPreamble
+ \addto\captions$$lang{\renewcommand{\acknowledgementname}{_(Acknowledgement)}}
+ EndBabelPreamble
End
LabelString "Conclusion \theconclusion."
Preamble
\theoremstyle{remark}
- \newtheorem{conclusion}{Conclusion}
+ \newtheorem{conclusion}{\protect\conclusionname}
EndPreamble
+ LangPreamble
+ \providecommand{\conclusionname}{_(Conclusion)}
+ EndLangPreamble
+ BabelPreamble
+ \addto\captions$$lang{\renewcommand{\conclusionname}{_(Conclusion)}}
+ EndBabelPreamble
LabelCounter conclusion
End
LabelString "Conclusion."
Preamble
\theoremstyle{remark}
- \newtheorem*{conclusion*}{Conclusion}
+ \newtheorem*{conclusion*}{\protect\conclusionname}
EndPreamble
+ LangPreamble
+ \providecommand{\conclusionname}{_(Conclusion)}
+ EndLangPreamble
+ BabelPreamble
+ \addto\captions$$lang{\renewcommand{\conclusionname}{_(Conclusion)}}
+ EndBabelPreamble
End
LabelString "Assumption \theassumption."
Preamble
\theoremstyle{plain}
- \newtheorem{assumption}{Assumption}
+ \newtheorem{assumption}{\protect\assumptionname}
EndPreamble
+ LangPreamble
+ \providecommand{\assumptionname}{_(Assumption)}
+ EndLangPreamble
+ BabelPreamble
+ \addto\captions$$lang{\renewcommand{\assumptionname}{_(Assumption)}}
+ EndBabelPreamble
LabelCounter assumption
End
LabelString "Assumption."
Preamble
\theoremstyle{plain}
- \newtheorem*{assumption*}{Assumption}
+ \newtheorem*{assumption*}{\protect\assumptionname}
+ EndPreamble
+ LangPreamble
+ \providecommand{\assumptionname}{_(Assumption)}
+ EndLangPreamble
+ BabelPreamble
+ \addto\captions$$lang{\renewcommand{\assumptionname}{_(Assumption)}}
+ EndBabelPreamble
+End
+
+Style Question
+ CopyStyle Theorem
+ DependsOn Theorem
+ LatexName question
+ LabelString "Question \thequestion."
+ Preamble
+ \theoremstyle{plain}
+ \newtheorem{question}{\protect\questionname}
EndPreamble
+ LangPreamble
+ \providecommand{\questionname}{_(Question)}
+ EndLangPreamble
+ BabelPreamble
+ \addto\captions$$lang{\renewcommand{\questionname}{_(Question)}}
+ EndBabelPreamble
+ LabelCounter question
End
+
+Style Question*
+ CopyStyle Theorem*
+ LatexName question*
+ LabelString "Question."
+ Preamble
+ \theoremstyle{plain}
+ \newtheorem*{question*}{\protect\questionname}
+ EndPreamble
+ LangPreamble
+ \providecommand{\questionname}{_(Question)}
+ EndLangPreamble
+ BabelPreamble
+ \addto\captions$$lang{\renewcommand{\questionname}{_(Question)}}
+ EndBabelPreamble
+End
+
+Input theorems-refprefix.inc