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)
41 LabelString "Theorem \thetheorem."
52 \newtheorem{thm}{Theorem}
61 LabelString "Corollary \thetheorem."
64 \newtheorem{cor}[thm]{Corollary}
73 LabelString "Lemma \thetheorem."
76 \newtheorem{lem}[thm]{Lemma}
85 LabelString "Proposition \thetheorem."
88 \newtheorem{prop}[thm]{Proposition}
97 LabelString "Conjecture \thetheorem."
100 \newtheorem{conjecture}[thm]{Conjecture}
109 LabelString "Fact \thetheorem."
112 \newtheorem{fact}[thm]{Fact}
121 LabelString "Definition \thetheorem."
130 \theoremstyle{definition}
131 \newtheorem{defn}[thm]{Definition}
139 LabelString "Example \thetheorem."
141 \theoremstyle{definition}
142 \newtheorem{example}[thm]{Example}
150 LabelString "Problem \thetheorem."
152 \theoremstyle{definition}
153 \newtheorem{problem}[thm]{Problem}
161 LabelString "Exercise \thetheorem."
163 \theoremstyle{definition}
164 \newtheorem{xca}[thm]{Exercise}
173 LabelString "Remark \thetheorem."
183 \theoremstyle{remark}
184 \newtheorem{rem}[thm]{Remark}
192 LabelString "Claim \thetheorem."
194 \theoremstyle{remark}
195 \newtheorem{claim}[thm]{Claim}
200 # Define Case as an enumeration environment
205 LeftMargin "Case ###:"
206 LabelString "Case #:"
209 \newenvironment{caseenv}
210 {\begin{list}{\bfseries\upshape Case \arabic{casectr}:}{}\setcounter{casectr}{0}\usecounter{casectr}}