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>
6 # Hacked June '09 by Paul Rubin <rubin@msu.edu> to use separate counters
8 # The environments defined are :
21 # - Case (by inclusion)
23 # We need separate counters for each theorem-like style.
68 LabelString "Theorem \thetheorem."
79 \newtheorem{thm}{\protect\theoremname}
82 \providecommand{\theoremname}{_(Theorem)}
85 \addto\captions$$lang{\renewcommand{\theoremname}{_(Theorem)}}
94 LabelString "Corollary \thecorollary."
97 \newtheorem{cor}{\protect\corollaryname}
99 LabelCounter corollary
101 \providecommand{\corollaryname}{_(Corollary)}
104 \addto\captions$$lang{\renewcommand{\corollaryname}{_(Corollary)}}
112 LabelString "Lemma \thelemma."
115 \newtheorem{lem}{\protect\lemmaname}
118 \providecommand{\lemmaname}{_(Lemma)}
121 \addto\captions$$lang{\renewcommand{\lemmaname}{_(Lemma)}}
130 LabelString "Proposition \theproposition."
133 \newtheorem{prop}{\protect\propositionname}
136 \providecommand{\propositionname}{_(Proposition)}
139 \addto\captions$$lang{\renewcommand{\propositionname}{_(Proposition)}}
141 LabelCounter proposition
148 LabelString "Conjecture \theconjecture."
151 \newtheorem{conjecture}{\protect\conjecturename}
154 \providecommand{\conjecturename}{_(Conjecture)}
157 \addto\captions$$lang{\renewcommand{\conjecturename}{_(Conjecture)}}
159 LabelCounter conjecture
166 LabelString "Fact \thefact."
169 \newtheorem{fact}{\protect\factname}
172 \providecommand{\factname}{_(Fact)}
175 \addto\captions$$lang{\renewcommand{\factname}{_(Fact)}}
184 LabelString "Definition \thedefinition."
193 \theoremstyle{definition}
194 \newtheorem{defn}{\protect\definitionname}
197 \providecommand{\definitionname}{_(Definition)}
200 \addto\captions$$lang{\renewcommand{\definitionname}{_(Definition)}}
202 LabelCounter definition
209 LabelString "Example \theexample."
211 \theoremstyle{definition}
212 \newtheorem{example}{\protect\examplename}
216 \providecommand{\examplename}{_(Example)}
219 \addto\captions$$lang{\renewcommand{\examplename}{_(Example)}}
228 LabelString "Problem \theproblem."
230 \theoremstyle{definition}
231 \newtheorem{problem}{\protect\problemname}
235 \providecommand{\problemname}{_(Problem)}
238 \addto\captions$$lang{\renewcommand{\problemname}{_(Problem)}}
247 LabelString "Exercise \theexercise."
249 \theoremstyle{definition}
250 \newtheorem{xca}{\protect\exercisename}
254 \providecommand{\exercisename}{_(Exercise)}
257 \addto\captions$$lang{\renewcommand{\exercisename}{_(Exercise)}}
259 LabelCounter exercise
266 LabelString "Remark \theremark."
276 \theoremstyle{remark}
277 \newtheorem{rem}{\protect\remarkname}
280 \providecommand{\remarkname}{_(Remark)}
283 \addto\captions$$lang{\renewcommand{\remarkname}{_(Remark)}}
292 LabelString "Claim \theclaim."
294 \theoremstyle{remark}
295 \newtheorem{claim}{\protect\claimname}
299 \providecommand{\claimname}{_(Claim)}
302 \addto\captions$$lang{\renewcommand{\claimname}{_(Claim)}}
307 Input theorems-case.inc