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.
53 OutlinerName thm "Definitions & Theorems"
65 LabelString "Additional Theorem Text"
66 Tooltip "Additional text appended to the theorem header"
80 LabelString "Theorem \thetheorem."
91 \newtheorem{thm}{\protect\theoremname}
94 \providecommand{\theoremname}{_(Theorem)}
97 \addto\captions$$lang{\renewcommand{\theoremname}{_(Theorem)}}
106 LabelString "Corollary \thecorollary."
109 \newtheorem{cor}{\protect\corollaryname}
111 LabelCounter corollary
113 \providecommand{\corollaryname}{_(Corollary)}
116 \addto\captions$$lang{\renewcommand{\corollaryname}{_(Corollary)}}
124 LabelString "Lemma \thelemma."
127 \newtheorem{lem}{\protect\lemmaname}
130 \providecommand{\lemmaname}{_(Lemma)}
133 \addto\captions$$lang{\renewcommand{\lemmaname}{_(Lemma)}}
142 LabelString "Proposition \theproposition."
145 \newtheorem{prop}{\protect\propositionname}
148 \providecommand{\propositionname}{_(Proposition)}
151 \addto\captions$$lang{\renewcommand{\propositionname}{_(Proposition)}}
153 LabelCounter proposition
160 LabelString "Conjecture \theconjecture."
163 \newtheorem{conjecture}{\protect\conjecturename}
166 \providecommand{\conjecturename}{_(Conjecture)}
169 \addto\captions$$lang{\renewcommand{\conjecturename}{_(Conjecture)}}
171 LabelCounter conjecture
178 LabelString "Fact \thefact."
181 \newtheorem{fact}{\protect\factname}
184 \providecommand{\factname}{_(Fact)}
187 \addto\captions$$lang{\renewcommand{\factname}{_(Fact)}}
196 LabelString "Definition \thedefinition."
205 \theoremstyle{definition}
206 \newtheorem{defn}{\protect\definitionname}
209 \providecommand{\definitionname}{_(Definition)}
212 \addto\captions$$lang{\renewcommand{\definitionname}{_(Definition)}}
214 LabelCounter definition
221 LabelString "Example \theexample."
223 \theoremstyle{definition}
224 \newtheorem{example}{\protect\examplename}
228 \providecommand{\examplename}{_(Example)}
231 \addto\captions$$lang{\renewcommand{\examplename}{_(Example)}}
240 LabelString "Problem \theproblem."
242 \theoremstyle{definition}
243 \newtheorem{problem}{\protect\problemname}
247 \providecommand{\problemname}{_(Problem)}
250 \addto\captions$$lang{\renewcommand{\problemname}{_(Problem)}}
259 LabelString "Exercise \theexercise."
261 \theoremstyle{definition}
262 \newtheorem{xca}{\protect\exercisename}
266 \providecommand{\exercisename}{_(Exercise)}
269 \addto\captions$$lang{\renewcommand{\exercisename}{_(Exercise)}}
271 LabelCounter exercise
278 LabelString "Solution \thesolution."
280 \theoremstyle{definition}
281 \newtheorem{sol}{\protect\solutionname}
285 \providecommand{\solutionname}{_(Solution)}
288 \addto\captions$$lang{\renewcommand{\solutionname}{_(Solution)}}
290 LabelCounter solution
297 LabelString "Remark \theremark."
307 \theoremstyle{remark}
308 \newtheorem{rem}{\protect\remarkname}
311 \providecommand{\remarkname}{_(Remark)}
314 \addto\captions$$lang{\renewcommand{\remarkname}{_(Remark)}}
323 LabelString "Claim \theclaim."
325 \theoremstyle{remark}
326 \newtheorem{claim}{\protect\claimname}
330 \providecommand{\claimname}{_(Claim)}
333 \addto\captions$$lang{\renewcommand{\claimname}{_(Claim)}}
338 Input theorems-case.inc