# - Proof
# - Case (regular only -- defined as an enumeration)
-Format 6
+Format 8
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
- LeftMargin "MMMMMMN"
- LabelString "Case #:"
+ LeftMargin "Case ###."
+ LabelString "Case #."
+ LabelFont
+ Series Medium
+ Shape Italic
+ EndFont
Preamble
\newcounter{casectr}
\newenvironment{caseenv}
-{\begin{list}{\bfseries\upshape Case \arabic{casectr}:}{}\setcounter{casectr}{0}\usecounter{casectr}}
-{\end{list}}
+ {\begin{list}{{\itshape\ Case} \arabic{casectr}.}{%
+ \setlength{\leftmargin}{\labelwidth}
+ \addtolength{\leftmargin}{\parskip}
+ \setlength{\itemindent}{\listparindent}
+ \setlength{\itemsep}{\medskipamount}
+ \setlength{\topsep}{\itemsep}}
+ \setcounter{casectr}{0}
+ \usecounter{casectr}}
+ {\end{list}}
EndPreamble
End