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 :
22 # - Case (by inclusion)
24 # We need separate counters for each theorem-like style.
61 LabelString "Additional Theorem Text"
62 Tooltip "Additional text appended to the theorem header"
75 LabelString "Theorem \thetheorem."
86 \newtheorem{thm}{\protect\theoremname}
89 \providecommand{\theoremname}{_(Theorem)}
92 \addto\captions$$lang{\renewcommand{\theoremname}{_(Theorem)}}
101 LabelString "Corollary \thecorollary."
104 \newtheorem{cor}{\protect\corollaryname}
106 LabelCounter corollary
108 \providecommand{\corollaryname}{_(Corollary)}
111 \addto\captions$$lang{\renewcommand{\corollaryname}{_(Corollary)}}
119 LabelString "Lemma \thelemma."
122 \newtheorem{lem}{\protect\lemmaname}
125 \providecommand{\lemmaname}{_(Lemma)}
128 \addto\captions$$lang{\renewcommand{\lemmaname}{_(Lemma)}}
137 LabelString "Proposition \theproposition."
140 \newtheorem{prop}{\protect\propositionname}
143 \providecommand{\propositionname}{_(Proposition)}
146 \addto\captions$$lang{\renewcommand{\propositionname}{_(Proposition)}}
148 LabelCounter proposition
155 LabelString "Conjecture \theconjecture."
158 \newtheorem{conjecture}{\protect\conjecturename}
161 \providecommand{\conjecturename}{_(Conjecture)}
164 \addto\captions$$lang{\renewcommand{\conjecturename}{_(Conjecture)}}
166 LabelCounter conjecture
173 LabelString "Fact \thefact."
176 \newtheorem{fact}{\protect\factname}
179 \providecommand{\factname}{_(Fact)}
182 \addto\captions$$lang{\renewcommand{\factname}{_(Fact)}}
191 LabelString "Definition \thedefinition."
200 \theoremstyle{definition}
201 \newtheorem{defn}{\protect\definitionname}
204 \providecommand{\definitionname}{_(Definition)}
207 \addto\captions$$lang{\renewcommand{\definitionname}{_(Definition)}}
209 LabelCounter definition
216 LabelString "Example \theexample."
218 \theoremstyle{definition}
219 \newtheorem{example}{\protect\examplename}
223 \providecommand{\examplename}{_(Example)}
226 \addto\captions$$lang{\renewcommand{\examplename}{_(Example)}}
235 LabelString "Problem \theproblem."
237 \theoremstyle{definition}
238 \newtheorem{problem}{\protect\problemname}
242 \providecommand{\problemname}{_(Problem)}
245 \addto\captions$$lang{\renewcommand{\problemname}{_(Problem)}}
254 LabelString "Exercise \theexercise."
256 \theoremstyle{definition}
257 \newtheorem{xca}{\protect\exercisename}
261 \providecommand{\exercisename}{_(Exercise)}
264 \addto\captions$$lang{\renewcommand{\exercisename}{_(Exercise)}}
266 LabelCounter exercise
273 LabelString "Solution \thesolution."
275 \theoremstyle{definition}
276 \newtheorem{sol}{\protect\solutionname}
280 \providecommand{\solutionname}{_(Solution)}
283 \addto\captions$$lang{\renewcommand{\solutionname}{_(Solution)}}
285 LabelCounter solution
292 LabelString "Remark \theremark."
302 \theoremstyle{remark}
303 \newtheorem{rem}{\protect\remarkname}
306 \providecommand{\remarkname}{_(Remark)}
309 \addto\captions$$lang{\renewcommand{\remarkname}{_(Remark)}}
318 LabelString "Claim \theclaim."
320 \theoremstyle{remark}
321 \newtheorem{claim}{\protect\claimname}
325 \providecommand{\claimname}{_(Claim)}
328 \addto\captions$$lang{\renewcommand{\claimname}{_(Claim)}}
333 Input theorems-case.inc