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."
54 \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}
152 LabelString "Problem \thetheorem."
154 \theoremstyle{definition}
155 \newtheorem{problem}[thm]{Problem}
163 LabelString "Exercise \thetheorem."
165 \theoremstyle{definition}
166 \newtheorem{xca}[thm]{Exercise}
175 LabelString "Remark \thetheorem."
185 \theoremstyle{remark}
186 \newtheorem{rem}[thm]{Remark}
194 LabelString "Claim \thetheorem."
196 \theoremstyle{remark}
197 \newtheorem{claim}[thm]{Claim}
202 # Define Case as an enumeration environment
208 LeftMargin "Case ###:"
209 LabelString "Case #:"
212 \newenvironment{caseenv}
213 {\begin{list}{\bfseries\upshape Case \arabic{casectr}:}%
214 {}\setcounter{casectr}{0}\usecounter{casectr}}%