1 # Original Author : David L. Johnson <dlj0@lehigh.edu>
2 # Probably broken by Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3 # modified and modularized by Emmanuel GUREGHIAN <gureghia@boston.bertin.fr>
4 # Tinkered with Sep. '07 by Paul Rubin <rubin@msu.edu>
5 # Modularized Jan 08 by Richard Heck <rgheck@comcast.net>
7 # The environnements defined are :
20 # - Case (regular only -- defined as an enumeration)
44 LabelString "Theorem \thetheorem."
55 \newtheorem{thm}{Theorem}
64 LabelString "Corollary \thetheorem."
67 \newtheorem{cor}[thm]{Corollary}
76 LabelString "Lemma \thetheorem."
79 \newtheorem{lem}[thm]{Lemma}
88 LabelString "Proposition \thetheorem."
91 \newtheorem{prop}[thm]{Proposition}
100 LabelString "Conjecture \thetheorem."
103 \newtheorem{conjecture}[thm]{Conjecture}
112 LabelString "Fact \thetheorem."
115 \newtheorem{fact}[thm]{Fact}
124 LabelString "Definition \thetheorem."
133 \theoremstyle{definition}
134 \newtheorem{defn}[thm]{Definition}
142 LabelString "Example \thetheorem."
144 \theoremstyle{definition}
145 \newtheorem{example}[thm]{Example}
153 LabelString "Problem \thetheorem."
155 \theoremstyle{definition}
156 \newtheorem{problem}[thm]{Problem}
164 LabelString "Exercise \thetheorem."
166 \theoremstyle{definition}
167 \newtheorem{xca}[thm]{Exercise}
176 LabelString "Remark \thetheorem."
186 \theoremstyle{remark}
187 \newtheorem{rem}[thm]{Remark}
195 LabelString "Claim \thetheorem."
197 \theoremstyle{remark}
198 \newtheorem{claim}[thm]{Claim}
203 # Define Case as an enumeration environment
209 LeftMargin "Case ###:"
210 LabelString "Case #:"
213 \newenvironment{caseenv}
214 {\begin{list}{\bfseries\upshape Case \arabic{casectr}:}%
215 {}\setcounter{casectr}{0}\usecounter{casectr}}%