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."
52 \newtheorem{thm}{Theorem}
62 LabelString "Corollary \thetheorem."
64 \newtheorem{cor}[thm]{Corollary}
73 LabelString "Lemma \thetheorem."
75 \newtheorem{lem}[thm]{Lemma}
84 LabelString "Proposition \thetheorem."
86 \newtheorem{prop}[thm]{Proposition}
95 LabelString "Conjecture \thetheorem."
97 \newtheorem{conjecture}[thm]{Conjecture}
106 LabelString "Fact \thetheorem."
108 \newtheorem{fact}[thm]{Fact}
117 LabelString "Definition \thetheorem."
126 \theoremstyle{definition}
127 \newtheorem{defn}[thm]{Definition}
135 LabelString "Example \thetheorem."
137 \theoremstyle{definition}
138 \newtheorem{example}[thm]{Example}
147 LabelString "Problem \thetheorem."
149 \theoremstyle{definition}
150 \newtheorem{problem}[thm]{Problem}
159 LabelString "Exercise \thetheorem."
161 \theoremstyle{definition}
162 \newtheorem{xca}[thm]{Exercise}
172 LabelString "Remark \thetheorem."
182 \theoremstyle{remark}
183 \newtheorem{rem}[thm]{Remark}
191 LabelString "Claim \thetheorem."
193 \theoremstyle{remark}
194 \newtheorem{claim}[thm]{Claim}
200 # Define Case as an enumeration environment
206 LeftMargin "Case ###."
207 LabelString "Case #."
214 \newenvironment{caseenv}
215 {\begin{list}{{\itshape\ Case} \arabic{casectr}.}{%
216 \setlength{\leftmargin}{\labelwidth}
217 \addtolength{\leftmargin}{\parskip}
218 \setlength{\itemindent}{\listparindent}
219 \setlength{\itemsep}{\medskipamount}
220 \setlength{\topsep}{\itemsep}}
221 \setcounter{casectr}{0}
222 \usecounter{casectr}}