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 :
23 # - Case (by inclusion)
35 LabelString "Additional Theorem Text"
36 Tooltip "Additional text appended to the theorem header"
49 LabelString "Theorem \thetheorem."
60 \newtheorem{thm}{\protect\theoremname}
63 \providecommand{\theoremname}{_(Theorem)}
66 \addto\captions$$lang{\renewcommand{\theoremname}{_(Theorem)}}
75 LabelString "Corollary \thecorollary."
78 \newtheorem{cor}{\protect\corollaryname}
81 \providecommand{\corollaryname}{_(Corollary)}
84 \addto\captions$$lang{\renewcommand{\corollaryname}{_(Corollary)}}
86 LabelCounter corollary
93 LabelString "Lemma \thelemma."
96 \newtheorem{lem}{\protect\lemmaname}
99 \providecommand{\lemmaname}{_(Lemma)}
102 \addto\captions$$lang{\renewcommand{\lemmaname}{_(Lemma)}}
111 LabelString "Proposition \theproposition."
114 \newtheorem{prop}{\protect\propositionname}
117 \providecommand{\propositionname}{_(Proposition)}
120 \addto\captions$$lang{\renewcommand{\propositionname}{_(Proposition)}}
122 LabelCounter proposition
129 LabelString "Conjecture \theconjecture."
132 \newtheorem{conjecture}{\protect\conjecturename}
135 \providecommand{\conjecturename}{_(Conjecture)}
138 \addto\captions$$lang{\renewcommand{\conjecturename}{_(Conjecture)}}
140 LabelCounter conjecture
147 LabelString "Fact \thefact."
150 \newtheorem{fact}{\protect\factname}
153 \providecommand{\factname}{_(Fact)}
156 \addto\captions$$lang{\renewcommand{\factname}{_(Fact)}}
165 LabelString "Definition \thedefinition."
174 \theoremstyle{definition}
175 \newtheorem{defn}{\protect\definitionname}
178 \providecommand{\definitionname}{_(Definition)}
181 \addto\captions$$lang{\renewcommand{\definitionname}{_(Definition)}}
183 LabelCounter definition
190 LabelString "Example \theexample."
192 \theoremstyle{definition}
193 \newtheorem{example}{\protect\examplename}
197 \providecommand{\examplename}{_(Example)}
200 \addto\captions$$lang{\renewcommand{\examplename}{_(Example)}}
209 LabelString "Problem \theproblem."
211 \theoremstyle{definition}
212 \newtheorem{problem}{\protect\problemname}
216 \providecommand{\problemname}{_(Problem)}
219 \addto\captions$$lang{\renewcommand{\problemname}{_(Problem)}}
228 LabelString "Exercise \theexercise."
230 \theoremstyle{definition}
231 \newtheorem{xca}{\protect\exercisename}
235 \providecommand{\exercisename}{_(Exercise)}
238 \addto\captions$$lang{\renewcommand{\exercisename}{_(Exercise)}}
240 LabelCounter exercise
247 LabelString "Solution \thesolution."
249 \theoremstyle{definition}
250 \newtheorem{sol}{\protect\solutionname}
254 \providecommand{\solutionname}{_(Solution)}
257 \addto\captions$$lang{\renewcommand{\solutionname}{_(Solution)}}
259 LabelCounter solution
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
308 Input theorems-refprefix.inc