# - Proof
# - Case (regular only -- defined as an enumeration)
-Format 6
+Format 7
Style Theorem
+ Category Theorem
Margin First_Dynamic
LatexType Environment
LatexName thm
\theoremstyle{plain}
\newtheorem{thm}{Theorem}
EndPreamble
+ Requires amsthm
End
\theoremstyle{definition}
\newtheorem{example}[thm]{Example}
EndPreamble
+ Requires amsthm
End
\theoremstyle{definition}
\newtheorem{problem}[thm]{Problem}
EndPreamble
+ Requires amsthm
End
\theoremstyle{definition}
\newtheorem{xca}[thm]{Exercise}
EndPreamble
+ Requires amsthm
End
\theoremstyle{remark}
\newtheorem{claim}[thm]{Claim}
EndPreamble
+ Requires amsthm
End
# Define Case as an enumeration environment
Style Case
+ Category Theorem
CopyStyle Enumerate
LatexName caseenv
LabelType Static
Preamble
\newcounter{casectr}
\newenvironment{caseenv}
-{\begin{list}{\bfseries\upshape Case \arabic{casectr}:}{}\setcounter{casectr}{0}\usecounter{casectr}}
-{\end{list}}
+ {\begin{list}{\bfseries\upshape Case \arabic{casectr}:}%
+ {}\setcounter{casectr}{0}\usecounter{casectr}}%
+ {\end{list}}
EndPreamble
End