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.
58 LabelString "Additional Theorem Text"
59 Tooltip "Additional text appended to the theorem header"
72 LabelString "Theorem \thetheorem."
83 \newtheorem{thm}{\protect\theoremname}
86 \providecommand{\theoremname}{_(Theorem)}
89 \addto\captions$$lang{\renewcommand{\theoremname}{_(Theorem)}}
98 LabelString "Corollary \thecorollary."
101 \newtheorem{cor}{\protect\corollaryname}
103 LabelCounter corollary
105 \providecommand{\corollaryname}{_(Corollary)}
108 \addto\captions$$lang{\renewcommand{\corollaryname}{_(Corollary)}}
116 LabelString "Lemma \thelemma."
119 \newtheorem{lem}{\protect\lemmaname}
122 \providecommand{\lemmaname}{_(Lemma)}
125 \addto\captions$$lang{\renewcommand{\lemmaname}{_(Lemma)}}
134 LabelString "Proposition \theproposition."
137 \newtheorem{prop}{\protect\propositionname}
140 \providecommand{\propositionname}{_(Proposition)}
143 \addto\captions$$lang{\renewcommand{\propositionname}{_(Proposition)}}
145 LabelCounter proposition
152 LabelString "Conjecture \theconjecture."
155 \newtheorem{conjecture}{\protect\conjecturename}
158 \providecommand{\conjecturename}{_(Conjecture)}
161 \addto\captions$$lang{\renewcommand{\conjecturename}{_(Conjecture)}}
163 LabelCounter conjecture
170 LabelString "Fact \thefact."
173 \newtheorem{fact}{\protect\factname}
176 \providecommand{\factname}{_(Fact)}
179 \addto\captions$$lang{\renewcommand{\factname}{_(Fact)}}
188 LabelString "Definition \thedefinition."
197 \theoremstyle{definition}
198 \newtheorem{defn}{\protect\definitionname}
201 \providecommand{\definitionname}{_(Definition)}
204 \addto\captions$$lang{\renewcommand{\definitionname}{_(Definition)}}
206 LabelCounter definition
213 LabelString "Example \theexample."
215 \theoremstyle{definition}
216 \newtheorem{example}{\protect\examplename}
220 \providecommand{\examplename}{_(Example)}
223 \addto\captions$$lang{\renewcommand{\examplename}{_(Example)}}
232 LabelString "Problem \theproblem."
234 \theoremstyle{definition}
235 \newtheorem{problem}{\protect\problemname}
239 \providecommand{\problemname}{_(Problem)}
242 \addto\captions$$lang{\renewcommand{\problemname}{_(Problem)}}
251 LabelString "Exercise \theexercise."
253 \theoremstyle{definition}
254 \newtheorem{xca}{\protect\exercisename}
258 \providecommand{\exercisename}{_(Exercise)}
261 \addto\captions$$lang{\renewcommand{\exercisename}{_(Exercise)}}
263 LabelCounter exercise
270 LabelString "Remark \theremark."
280 \theoremstyle{remark}
281 \newtheorem{rem}{\protect\remarkname}
284 \providecommand{\remarkname}{_(Remark)}
287 \addto\captions$$lang{\renewcommand{\remarkname}{_(Remark)}}
296 LabelString "Claim \theclaim."
298 \theoremstyle{remark}
299 \newtheorem{claim}{\protect\claimname}
303 \providecommand{\claimname}{_(Claim)}
306 \addto\captions$$lang{\renewcommand{\claimname}{_(Claim)}}
311 Input theorems-case.inc