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)}}
70 DocBookAttr role='theorem'
77 LabelString "Corollary \thecorollary."
80 \newtheorem{cor}{\protect\corollaryname}
83 \providecommand{\corollaryname}{_(Corollary)}
86 \addto\captions$$lang{\renewcommand{\corollaryname}{_(Corollary)}}
88 LabelCounter corollary
90 DocBookAttr role='corollary'
97 LabelString "Lemma \thelemma."
100 \newtheorem{lem}{\protect\lemmaname}
103 \providecommand{\lemmaname}{_(Lemma)}
106 \addto\captions$$lang{\renewcommand{\lemmaname}{_(Lemma)}}
110 DocBookAttr role='lemma'
117 LabelString "Proposition \theproposition."
120 \newtheorem{prop}{\protect\propositionname}
123 \providecommand{\propositionname}{_(Proposition)}
126 \addto\captions$$lang{\renewcommand{\propositionname}{_(Proposition)}}
128 LabelCounter proposition
130 DocBookAttr role='proposition'
137 LabelString "Conjecture \theconjecture."
140 \newtheorem{conjecture}{\protect\conjecturename}
143 \providecommand{\conjecturename}{_(Conjecture)}
146 \addto\captions$$lang{\renewcommand{\conjecturename}{_(Conjecture)}}
148 LabelCounter conjecture
150 DocBookAttr role='conjecture'
157 LabelString "Fact \thefact."
160 \newtheorem{fact}{\protect\factname}
163 \providecommand{\factname}{_(Fact)}
166 \addto\captions$$lang{\renewcommand{\factname}{_(Fact)}}
170 DocBookAttr role='fact'
177 LabelString "Definition \thedefinition."
186 \theoremstyle{definition}
187 \newtheorem{defn}{\protect\definitionname}
190 \providecommand{\definitionname}{_(Definition)}
193 \addto\captions$$lang{\renewcommand{\definitionname}{_(Definition)}}
195 LabelCounter definition
197 DocBookAttr role='definition'
204 LabelString "Example \theexample."
206 \theoremstyle{definition}
207 \newtheorem{example}{\protect\examplename}
211 \providecommand{\examplename}{_(Example)}
214 \addto\captions$$lang{\renewcommand{\examplename}{_(Example)}}
217 DocBookWrapperTag informalexample
226 LabelString "Problem \theproblem."
228 \theoremstyle{definition}
229 \newtheorem{problem}{\protect\problemname}
233 \providecommand{\problemname}{_(Problem)}
236 \addto\captions$$lang{\renewcommand{\problemname}{_(Problem)}}
240 DocBookAttr role='problem'
247 LabelString "Exercise \theexercise."
249 \theoremstyle{definition}
250 \newtheorem{xca}{\protect\exercisename}
254 \providecommand{\exercisename}{_(Exercise)}
257 \addto\captions$$lang{\renewcommand{\exercisename}{_(Exercise)}}
259 LabelCounter exercise
261 DocBookAttr role='exercise'
268 LabelString "Solution \thesolution."
270 \theoremstyle{definition}
271 \newtheorem{sol}{\protect\solutionname}
275 \providecommand{\solutionname}{_(Solution)}
278 \addto\captions$$lang{\renewcommand{\solutionname}{_(Solution)}}
280 LabelCounter solution
282 DocBookAttr role='solution'
289 LabelString "Remark \theremark."
299 \theoremstyle{remark}
300 \newtheorem{rem}{\protect\remarkname}
303 \providecommand{\remarkname}{_(Remark)}
306 \addto\captions$$lang{\renewcommand{\remarkname}{_(Remark)}}
317 LabelString "Claim \theclaim."
319 \theoremstyle{remark}
320 \newtheorem{claim}{\protect\claimname}
324 \providecommand{\claimname}{_(Claim)}
327 \addto\captions$$lang{\renewcommand{\claimname}{_(Claim)}}
331 DocBookAttr role='claim'
335 Input theorems-case.inc
336 Input theorems-refprefix.inc