# Author: Paul Rubin <rubin@msu.edu> (hacked from Richard Heck's various modules)
-Format 22
+Format 60
# We need separate counters for each theorem-like style.
Counter theorem
Style Theorem
Preamble
\theoremstyle{plain}
- \newtheorem{thm}{Theorem}[section]
+ \newtheorem{thm}{\protect\theoremname}[section]
EndPreamble
End
Style Corollary
Preamble
\theoremstyle{plain}
- \newtheorem{cor}{Corollary}[section]
+ \newtheorem{cor}{\protect\corollaryname}[section]
EndPreamble
End
Style Lemma
Preamble
\theoremstyle{plain}
- \newtheorem{lem}{Lemma}[section]
+ \newtheorem{lem}{\protect\lemmaname}[section]
EndPreamble
End
Style Proposition
Preamble
\theoremstyle{plain}
- \newtheorem{prop}{Proposition}[section]
+ \newtheorem{prop}{\protect\propositionname}[section]
EndPreamble
End
Style Conjecture
Preamble
\theoremstyle{plain}
- \newtheorem{conjecture}{Conjecture}[section]
+ \newtheorem{conjecture}{\protect\conjecturename}[section]
EndPreamble
End
Style Fact
Preamble
\theoremstyle{plain}
- \newtheorem{fact}{Fact}[section]
+ \newtheorem{fact}{\protect\factname}[section]
EndPreamble
End
Style Definition
Preamble
\theoremstyle{definition}
- \newtheorem{defn}{Definition}[section]
+ \newtheorem{defn}{\protect\definitionname}[section]
EndPreamble
End
Style Example
Preamble
\theoremstyle{definition}
- \newtheorem{example}{Example}[section]
+ \newtheorem{example}{\protect\examplename}[section]
EndPreamble
End
Style Problem
Preamble
\theoremstyle{definition}
- \newtheorem{problem}{Problem}[section]
+ \newtheorem{problem}{\protect\problemname}[section]
EndPreamble
End
Style Exercise
Preamble
\theoremstyle{definition}
- \newtheorem{xca}{Exercise}[section]
+ \newtheorem{xca}{\protect\exercisename}[section]
EndPreamble
End
Style Remark
Preamble
\theoremstyle{remark}
- \newtheorem{rem}{Remark}[section]
+ \newtheorem{rem}{\protect\remarkname}[section]
EndPreamble
End
Style Claim
Preamble
\theoremstyle{remark}
- \newtheorem{claim}{Claim}[section]
+ \newtheorem{claim}{\protect\claimname}[section]
EndPreamble
End