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.
66 OutlinerName thm "Definitions & Theorems"
78 LabelString "Additional Theorem Text"
79 Tooltip "Additional text appended to the theorem header"
93 LabelString "Theorem \thetheorem."
104 \newtheorem{thm}{\protect\theoremname}
107 \providecommand{\theoremname}{_(Theorem)}
110 \addto\captions$$lang{\renewcommand{\theoremname}{_(Theorem)}}
119 LabelString "Corollary \thecorollary."
122 \newtheorem{cor}{\protect\corollaryname}
124 LabelCounter corollary
126 \providecommand{\corollaryname}{_(Corollary)}
129 \addto\captions$$lang{\renewcommand{\corollaryname}{_(Corollary)}}
137 LabelString "Lemma \thelemma."
140 \newtheorem{lem}{\protect\lemmaname}
143 \providecommand{\lemmaname}{_(Lemma)}
146 \addto\captions$$lang{\renewcommand{\lemmaname}{_(Lemma)}}
155 LabelString "Proposition \theproposition."
158 \newtheorem{prop}{\protect\propositionname}
161 \providecommand{\propositionname}{_(Proposition)}
164 \addto\captions$$lang{\renewcommand{\propositionname}{_(Proposition)}}
166 LabelCounter proposition
173 LabelString "Conjecture \theconjecture."
176 \newtheorem{conjecture}{\protect\conjecturename}
179 \providecommand{\conjecturename}{_(Conjecture)}
182 \addto\captions$$lang{\renewcommand{\conjecturename}{_(Conjecture)}}
184 LabelCounter conjecture
191 LabelString "Fact \thefact."
194 \newtheorem{fact}{\protect\factname}
197 \providecommand{\factname}{_(Fact)}
200 \addto\captions$$lang{\renewcommand{\factname}{_(Fact)}}
209 LabelString "Definition \thedefinition."
218 \theoremstyle{definition}
219 \newtheorem{defn}{\protect\definitionname}
222 \providecommand{\definitionname}{_(Definition)}
225 \addto\captions$$lang{\renewcommand{\definitionname}{_(Definition)}}
227 LabelCounter definition
234 LabelString "Example \theexample."
236 \theoremstyle{definition}
237 \newtheorem{example}{\protect\examplename}
241 \providecommand{\examplename}{_(Example)}
244 \addto\captions$$lang{\renewcommand{\examplename}{_(Example)}}
253 LabelString "Problem \theproblem."
255 \theoremstyle{definition}
256 \newtheorem{problem}{\protect\problemname}
260 \providecommand{\problemname}{_(Problem)}
263 \addto\captions$$lang{\renewcommand{\problemname}{_(Problem)}}
272 LabelString "Exercise \theexercise."
274 \theoremstyle{definition}
275 \newtheorem{xca}{\protect\exercisename}
279 \providecommand{\exercisename}{_(Exercise)}
282 \addto\captions$$lang{\renewcommand{\exercisename}{_(Exercise)}}
284 LabelCounter exercise
291 LabelString "Solution \thesolution."
293 \theoremstyle{definition}
294 \newtheorem{sol}{\protect\solutionname}
298 \providecommand{\solutionname}{_(Solution)}
301 \addto\captions$$lang{\renewcommand{\solutionname}{_(Solution)}}
303 LabelCounter solution
310 LabelString "Remark \theremark."
320 \theoremstyle{remark}
321 \newtheorem{rem}{\protect\remarkname}
324 \providecommand{\remarkname}{_(Remark)}
327 \addto\captions$$lang{\renewcommand{\remarkname}{_(Remark)}}
336 LabelString "Claim \theclaim."
338 \theoremstyle{remark}
339 \newtheorem{claim}{\protect\claimname}
343 \providecommand{\claimname}{_(Claim)}
346 \addto\captions$$lang{\renewcommand{\claimname}{_(Claim)}}
351 Input theorems-case.inc