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)
42 LabelString "Theorem \thetheorem."
53 \newtheorem{thm}{Theorem}
63 LabelString "Corollary \thetheorem."
66 \newtheorem{cor}[thm]{Corollary}
75 LabelString "Lemma \thetheorem."
78 \newtheorem{lem}[thm]{Lemma}
87 LabelString "Proposition \thetheorem."
90 \newtheorem{prop}[thm]{Proposition}
99 LabelString "Conjecture \thetheorem."
102 \newtheorem{conjecture}[thm]{Conjecture}
111 LabelString "Fact \thetheorem."
114 \newtheorem{fact}[thm]{Fact}
123 LabelString "Definition \thetheorem."
132 \theoremstyle{definition}
133 \newtheorem{defn}[thm]{Definition}
141 LabelString "Example \thetheorem."
143 \theoremstyle{definition}
144 \newtheorem{example}[thm]{Example}
153 LabelString "Problem \thetheorem."
155 \theoremstyle{definition}
156 \newtheorem{problem}[thm]{Problem}
165 LabelString "Exercise \thetheorem."
167 \theoremstyle{definition}
168 \newtheorem{xca}[thm]{Exercise}
178 LabelString "Remark \thetheorem."
188 \theoremstyle{remark}
189 \newtheorem{rem}[thm]{Remark}
197 LabelString "Claim \thetheorem."
199 \theoremstyle{remark}
200 \newtheorem{claim}[thm]{Claim}
206 # Define Case as an enumeration environment
212 LeftMargin "Case ###:"
213 LabelString "Case #:"
216 \newenvironment{caseenv}
217 {\begin{list}{\bfseries\upshape Case \arabic{casectr}:}%
218 {}\setcounter{casectr}{0}\usecounter{casectr}}%