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)}}
114 DocBookAttr role='theorem'
121 LabelString "Corollary \thecorollary."
124 \newtheorem{cor}{\protect\corollaryname}
126 LabelCounter corollary
128 \providecommand{\corollaryname}{_(Corollary)}
131 \addto\captions$$lang{\renewcommand{\corollaryname}{_(Corollary)}}
134 DocBookAttr role='corollary'
141 LabelString "Lemma \thelemma."
144 \newtheorem{lem}{\protect\lemmaname}
147 \providecommand{\lemmaname}{_(Lemma)}
150 \addto\captions$$lang{\renewcommand{\lemmaname}{_(Lemma)}}
154 DocBookAttr role='lemma'
161 LabelString "Proposition \theproposition."
164 \newtheorem{prop}{\protect\propositionname}
167 \providecommand{\propositionname}{_(Proposition)}
170 \addto\captions$$lang{\renewcommand{\propositionname}{_(Proposition)}}
172 LabelCounter proposition
174 DocBookAttr role='proposition'
181 LabelString "Conjecture \theconjecture."
184 \newtheorem{conjecture}{\protect\conjecturename}
187 \providecommand{\conjecturename}{_(Conjecture)}
190 \addto\captions$$lang{\renewcommand{\conjecturename}{_(Conjecture)}}
192 LabelCounter conjecture
194 DocBookAttr role='conjecture'
201 LabelString "Fact \thefact."
204 \newtheorem{fact}{\protect\factname}
207 \providecommand{\factname}{_(Fact)}
210 \addto\captions$$lang{\renewcommand{\factname}{_(Fact)}}
214 DocBookAttr role='fact'
221 LabelString "Definition \thedefinition."
230 \theoremstyle{definition}
231 \newtheorem{defn}{\protect\definitionname}
234 \providecommand{\definitionname}{_(Definition)}
237 \addto\captions$$lang{\renewcommand{\definitionname}{_(Definition)}}
239 LabelCounter definition
241 DocBookAttr role='definition'
248 LabelString "Example \theexample."
250 \theoremstyle{definition}
251 \newtheorem{example}{\protect\examplename}
255 \providecommand{\examplename}{_(Example)}
258 \addto\captions$$lang{\renewcommand{\examplename}{_(Example)}}
261 DocBookWrapperTag informalexample
270 LabelString "Problem \theproblem."
272 \theoremstyle{definition}
273 \newtheorem{problem}{\protect\problemname}
277 \providecommand{\problemname}{_(Problem)}
280 \addto\captions$$lang{\renewcommand{\problemname}{_(Problem)}}
284 DocBookAttr role='problem'
291 LabelString "Exercise \theexercise."
293 \theoremstyle{definition}
294 \newtheorem{xca}{\protect\exercisename}
298 \providecommand{\exercisename}{_(Exercise)}
301 \addto\captions$$lang{\renewcommand{\exercisename}{_(Exercise)}}
303 LabelCounter exercise
305 DocBookAttr role='exercise'
312 LabelString "Solution \thesolution."
314 \theoremstyle{definition}
315 \newtheorem{sol}{\protect\solutionname}
319 \providecommand{\solutionname}{_(Solution)}
322 \addto\captions$$lang{\renewcommand{\solutionname}{_(Solution)}}
324 LabelCounter solution
326 DocBookAttr role='solution'
333 LabelString "Remark \theremark."
343 \theoremstyle{remark}
344 \newtheorem{rem}{\protect\remarkname}
347 \providecommand{\remarkname}{_(Remark)}
350 \addto\captions$$lang{\renewcommand{\remarkname}{_(Remark)}}
361 LabelString "Claim \theclaim."
363 \theoremstyle{remark}
364 \newtheorem{claim}{\protect\claimname}
368 \providecommand{\claimname}{_(Claim)}
371 \addto\captions$$lang{\renewcommand{\claimname}{_(Claim)}}
375 DocBookAttr role='claim'
379 Input theorems-case.inc