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.
57 LabelString "Alternative Theorem String"
58 Tooltip "Alternative theorem string"
71 LabelString "Theorem \thetheorem."
82 \newtheorem{thm}{\protect\theoremname}
85 \providecommand{\theoremname}{_(Theorem)}
88 \addto\captions$$lang{\renewcommand{\theoremname}{_(Theorem)}}
97 LabelString "Corollary \thecorollary."
100 \newtheorem{cor}{\protect\corollaryname}
102 LabelCounter corollary
104 \providecommand{\corollaryname}{_(Corollary)}
107 \addto\captions$$lang{\renewcommand{\corollaryname}{_(Corollary)}}
115 LabelString "Lemma \thelemma."
118 \newtheorem{lem}{\protect\lemmaname}
121 \providecommand{\lemmaname}{_(Lemma)}
124 \addto\captions$$lang{\renewcommand{\lemmaname}{_(Lemma)}}
133 LabelString "Proposition \theproposition."
136 \newtheorem{prop}{\protect\propositionname}
139 \providecommand{\propositionname}{_(Proposition)}
142 \addto\captions$$lang{\renewcommand{\propositionname}{_(Proposition)}}
144 LabelCounter proposition
151 LabelString "Conjecture \theconjecture."
154 \newtheorem{conjecture}{\protect\conjecturename}
157 \providecommand{\conjecturename}{_(Conjecture)}
160 \addto\captions$$lang{\renewcommand{\conjecturename}{_(Conjecture)}}
162 LabelCounter conjecture
169 LabelString "Fact \thefact."
172 \newtheorem{fact}{\protect\factname}
175 \providecommand{\factname}{_(Fact)}
178 \addto\captions$$lang{\renewcommand{\factname}{_(Fact)}}
187 LabelString "Definition \thedefinition."
196 \theoremstyle{definition}
197 \newtheorem{defn}{\protect\definitionname}
200 \providecommand{\definitionname}{_(Definition)}
203 \addto\captions$$lang{\renewcommand{\definitionname}{_(Definition)}}
205 LabelCounter definition
212 LabelString "Example \theexample."
214 \theoremstyle{definition}
215 \newtheorem{example}{\protect\examplename}
219 \providecommand{\examplename}{_(Example)}
222 \addto\captions$$lang{\renewcommand{\examplename}{_(Example)}}
231 LabelString "Problem \theproblem."
233 \theoremstyle{definition}
234 \newtheorem{problem}{\protect\problemname}
238 \providecommand{\problemname}{_(Problem)}
241 \addto\captions$$lang{\renewcommand{\problemname}{_(Problem)}}
250 LabelString "Exercise \theexercise."
252 \theoremstyle{definition}
253 \newtheorem{xca}{\protect\exercisename}
257 \providecommand{\exercisename}{_(Exercise)}
260 \addto\captions$$lang{\renewcommand{\exercisename}{_(Exercise)}}
262 LabelCounter exercise
269 LabelString "Remark \theremark."
279 \theoremstyle{remark}
280 \newtheorem{rem}{\protect\remarkname}
283 \providecommand{\remarkname}{_(Remark)}
286 \addto\captions$$lang{\renewcommand{\remarkname}{_(Remark)}}
295 LabelString "Claim \theclaim."
297 \theoremstyle{remark}
298 \newtheorem{claim}{\protect\claimname}
302 \providecommand{\claimname}{_(Claim)}
305 \addto\captions$$lang{\renewcommand{\claimname}{_(Claim)}}
310 Input theorems-case.inc