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 Kimberly Heck <rikiheck@lyx.org>
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)}}
69 DocBookWrapperTag figure
70 DocBookWrapperAttr role='theorem'
72 DocBookGenerateTitle true
73 DocBookWrapperMergeWithPrevious true
80 LabelString "Corollary \thecorollary."
83 \newtheorem{cor}{\protect\corollaryname}
86 \providecommand{\corollaryname}{_(Corollary)}
89 \addto\captions$$lang{\renewcommand{\corollaryname}{_(Corollary)}}
91 LabelCounter corollary
92 DocBookWrapperTag figure
93 DocBookWrapperAttr role='corollary'
95 DocBookGenerateTitle true
96 DocBookWrapperMergeWithPrevious true
103 LabelString "Lemma \thelemma."
106 \newtheorem{lem}{\protect\lemmaname}
109 \providecommand{\lemmaname}{_(Lemma)}
112 \addto\captions$$lang{\renewcommand{\lemmaname}{_(Lemma)}}
115 DocBookWrapperTag figure
116 DocBookWrapperAttr role='lemma'
118 DocBookGenerateTitle true
119 DocBookWrapperMergeWithPrevious true
126 LabelString "Proposition \theproposition."
129 \newtheorem{prop}{\protect\propositionname}
132 \providecommand{\propositionname}{_(Proposition)}
135 \addto\captions$$lang{\renewcommand{\propositionname}{_(Proposition)}}
137 LabelCounter proposition
138 DocBookWrapperTag figure
139 DocBookWrapperAttr role='proposition'
141 DocBookGenerateTitle true
142 DocBookWrapperMergeWithPrevious true
149 LabelString "Conjecture \theconjecture."
152 \newtheorem{conjecture}{\protect\conjecturename}
155 \providecommand{\conjecturename}{_(Conjecture)}
158 \addto\captions$$lang{\renewcommand{\conjecturename}{_(Conjecture)}}
160 LabelCounter conjecture
161 DocBookWrapperTag figure
162 DocBookWrapperAttr role='conjecture'
164 DocBookGenerateTitle true
165 DocBookWrapperMergeWithPrevious true
172 LabelString "Fact \thefact."
175 \newtheorem{fact}{\protect\factname}
178 \providecommand{\factname}{_(Fact)}
181 \addto\captions$$lang{\renewcommand{\factname}{_(Fact)}}
184 DocBookWrapperTag figure
185 DocBookWrapperAttr role='fact'
187 DocBookGenerateTitle true
188 DocBookWrapperMergeWithPrevious true
195 LabelString "Definition \thedefinition."
204 \theoremstyle{definition}
205 \newtheorem{defn}{\protect\definitionname}
208 \providecommand{\definitionname}{_(Definition)}
211 \addto\captions$$lang{\renewcommand{\definitionname}{_(Definition)}}
213 LabelCounter definition
214 DocBookWrapperTag figure
215 DocBookWrapperAttr role='definition'
217 DocBookGenerateTitle true
218 DocBookWrapperMergeWithPrevious true
225 LabelString "Example \theexample."
227 \theoremstyle{definition}
228 \newtheorem{example}{\protect\examplename}
232 \providecommand{\examplename}{_(Example)}
235 \addto\captions$$lang{\renewcommand{\examplename}{_(Example)}}
238 DocBookWrapperTag informalexample
247 LabelString "Problem \theproblem."
249 \theoremstyle{definition}
250 \newtheorem{problem}{\protect\problemname}
254 \providecommand{\problemname}{_(Problem)}
257 \addto\captions$$lang{\renewcommand{\problemname}{_(Problem)}}
260 DocBookWrapperTag figure
261 DocBookWrapperAttr role='problem'
263 DocBookGenerateTitle true
264 DocBookWrapperMergeWithPrevious true
271 LabelString "Exercise \theexercise."
273 \theoremstyle{definition}
274 \newtheorem{xca}{\protect\exercisename}
278 \providecommand{\exercisename}{_(Exercise)}
281 \addto\captions$$lang{\renewcommand{\exercisename}{_(Exercise)}}
283 LabelCounter exercise
284 DocBookWrapperTag figure
285 DocBookWrapperAttr role='exercise'
287 DocBookGenerateTitle true
288 DocBookWrapperMergeWithPrevious true
295 LabelString "Solution \thesolution."
297 \theoremstyle{definition}
298 \newtheorem{sol}{\protect\solutionname}
302 \providecommand{\solutionname}{_(Solution)}
305 \addto\captions$$lang{\renewcommand{\solutionname}{_(Solution)}}
307 LabelCounter solution
308 DocBookWrapperTag figure
309 DocBookWrapperAttr role='solution'
311 DocBookGenerateTitle true
312 DocBookWrapperMergeWithPrevious true
319 LabelString "Remark \theremark."
329 \theoremstyle{remark}
330 \newtheorem{rem}{\protect\remarkname}
333 \providecommand{\remarkname}{_(Remark)}
336 \addto\captions$$lang{\renewcommand{\remarkname}{_(Remark)}}
339 DocBookWrapperTag figure
340 DocBookWrapperAttr role='remark'
342 DocBookGenerateTitle true
343 DocBookWrapperMergeWithPrevious true
350 LabelString "Claim \theclaim."
352 \theoremstyle{remark}
353 \newtheorem{claim}{\protect\claimname}
357 \providecommand{\claimname}{_(Claim)}
360 \addto\captions$$lang{\renewcommand{\claimname}{_(Claim)}}
363 DocBookWrapperTag figure
364 DocBookWrapperAttr role='claim'
366 DocBookGenerateTitle true
367 DocBookWrapperMergeWithPrevious true
370 Input theorems-case.inc
371 Input theorems-refprefix.inc