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}
62 LabelString "Corollary \thetheorem."
65 \newtheorem{cor}[thm]{Corollary}
74 LabelString "Lemma \thetheorem."
77 \newtheorem{lem}[thm]{Lemma}
86 LabelString "Proposition \thetheorem."
89 \newtheorem{prop}[thm]{Proposition}
98 LabelString "Conjecture \thetheorem."
101 \newtheorem{conjecture}[thm]{Conjecture}
110 LabelString "Fact \thetheorem."
113 \newtheorem{fact}[thm]{Fact}
122 LabelString "Definition \thetheorem."
131 \theoremstyle{definition}
132 \newtheorem{defn}[thm]{Definition}
140 LabelString "Example \thetheorem."
142 \theoremstyle{definition}
143 \newtheorem{example}[thm]{Example}
151 LabelString "Problem \thetheorem."
153 \theoremstyle{definition}
154 \newtheorem{problem}[thm]{Problem}
162 LabelString "Exercise \thetheorem."
164 \theoremstyle{definition}
165 \newtheorem{xca}[thm]{Exercise}
174 LabelString "Remark \thetheorem."
184 \theoremstyle{remark}
185 \newtheorem{rem}[thm]{Remark}
193 LabelString "Claim \thetheorem."
195 \theoremstyle{remark}
196 \newtheorem{claim}[thm]{Claim}
201 # Define Case as an enumeration environment
207 LeftMargin "Case ###:"
208 LabelString "Case #:"
211 \newenvironment{caseenv}
212 {\begin{list}{\bfseries\upshape Case \arabic{casectr}:}%
213 {}\setcounter{casectr}{0}\usecounter{casectr}}%