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.
74 OutlinerName thm "Definitions & Theorems"
86 LabelString "Additional Theorem Text"
87 Tooltip "Additional text appended to the theorem header"
101 LabelString "Theorem \thetheorem."
112 \newtheorem{thm}{\protect\theoremname}
115 \providecommand{\theoremname}{_(Theorem)}
118 \addto\captions$$lang{\renewcommand{\theoremname}{_(Theorem)}}
122 DocBookAttr role='theorem'
129 LabelString "Corollary \thecorollary."
132 \newtheorem{cor}{\protect\corollaryname}
134 LabelCounter corollary
136 \providecommand{\corollaryname}{_(Corollary)}
139 \addto\captions$$lang{\renewcommand{\corollaryname}{_(Corollary)}}
142 DocBookAttr role='corollary'
149 LabelString "Lemma \thelemma."
152 \newtheorem{lem}{\protect\lemmaname}
155 \providecommand{\lemmaname}{_(Lemma)}
158 \addto\captions$$lang{\renewcommand{\lemmaname}{_(Lemma)}}
162 DocBookAttr role='lemma'
169 LabelString "Proposition \theproposition."
172 \newtheorem{prop}{\protect\propositionname}
175 \providecommand{\propositionname}{_(Proposition)}
178 \addto\captions$$lang{\renewcommand{\propositionname}{_(Proposition)}}
180 LabelCounter proposition
182 DocBookAttr role='proposition'
189 LabelString "Conjecture \theconjecture."
192 \newtheorem{conjecture}{\protect\conjecturename}
195 \providecommand{\conjecturename}{_(Conjecture)}
198 \addto\captions$$lang{\renewcommand{\conjecturename}{_(Conjecture)}}
200 LabelCounter conjecture
202 DocBookAttr role='conjecture'
209 LabelString "Fact \thefact."
212 \newtheorem{fact}{\protect\factname}
215 \providecommand{\factname}{_(Fact)}
218 \addto\captions$$lang{\renewcommand{\factname}{_(Fact)}}
222 DocBookAttr role='fact'
229 LabelString "Definition \thedefinition."
238 \theoremstyle{definition}
239 \newtheorem{defn}{\protect\definitionname}
242 \providecommand{\definitionname}{_(Definition)}
245 \addto\captions$$lang{\renewcommand{\definitionname}{_(Definition)}}
247 LabelCounter definition
249 DocBookAttr role='definition'
256 LabelString "Example \theexample."
258 \theoremstyle{definition}
259 \newtheorem{example}{\protect\examplename}
263 \providecommand{\examplename}{_(Example)}
266 \addto\captions$$lang{\renewcommand{\examplename}{_(Example)}}
269 DocBookWrapperTag informalexample
278 LabelString "Problem \theproblem."
280 \theoremstyle{definition}
281 \newtheorem{problem}{\protect\problemname}
285 \providecommand{\problemname}{_(Problem)}
288 \addto\captions$$lang{\renewcommand{\problemname}{_(Problem)}}
292 DocBookAttr role='problem'
299 LabelString "Exercise \theexercise."
301 \theoremstyle{definition}
302 \newtheorem{xca}{\protect\exercisename}
306 \providecommand{\exercisename}{_(Exercise)}
309 \addto\captions$$lang{\renewcommand{\exercisename}{_(Exercise)}}
311 LabelCounter exercise
313 DocBookAttr role='exercise'
320 LabelString "Solution \thesolution."
322 \theoremstyle{definition}
323 \newtheorem{sol}{\protect\solutionname}
327 \providecommand{\solutionname}{_(Solution)}
330 \addto\captions$$lang{\renewcommand{\solutionname}{_(Solution)}}
332 LabelCounter solution
334 DocBookAttr role='solution'
341 LabelString "Remark \theremark."
351 \theoremstyle{remark}
352 \newtheorem{rem}{\protect\remarkname}
355 \providecommand{\remarkname}{_(Remark)}
358 \addto\captions$$lang{\renewcommand{\remarkname}{_(Remark)}}
369 LabelString "Claim \theclaim."
371 \theoremstyle{remark}
372 \newtheorem{claim}{\protect\claimname}
376 \providecommand{\claimname}{_(Claim)}
379 \addto\captions$$lang{\renewcommand{\claimname}{_(Claim)}}
383 DocBookAttr role='claim'
387 Input theorems-case.inc