1 # This file provides theorem environments without adding preamble code or
2 # requiring packages. This is useful for classes that define their own theorems
3 # like svjour3 or ijmpc.
4 # Author: Uwe Stöhr <uwestoehr@web.de>
6 # The environnements defined are :
23 # - Case (defined without a counter)
31 OutlinerName thm "Definitions & Theorems"
47 LabelString "Name/Title"
48 Tooltip "Alternative optional name or title"
62 LabelString "Theorem \thetheorem."
72 \providecommand{\theoremname}{_(Theorem)}
75 \addto\captions$$lang{\renewcommand{\theoremname}{_(Theorem)}}
77 DocBookWrapperTag figure
78 DocBookWrapperAttr role='theorem'
80 DocBookGenerateTitle true
89 LabelCounter corollary
91 LabelString "Corollary \thecorollary."
93 \providecommand{\corollaryname}{_(Corollary)}
96 \addto\captions$$lang{\renewcommand{\corollaryname}{_(Corollary)}}
98 DocBookWrapperTag figure
99 DocBookWrapperAttr role='corollary'
101 DocBookGenerateTitle true
112 LabelString "Lemma \thelemma."
114 \providecommand{\lemmaname}{_(Lemma)}
117 \addto\captions$$lang{\renewcommand{\lemmaname}{_(Lemma)}}
119 DocBookWrapperTag figure
120 DocBookWrapperAttr role='lemma'
122 DocBookGenerateTitle true
131 LabelCounter proposition
132 LatexName proposition
133 LabelString "Proposition \theproposition."
135 \providecommand{\propositionname}{_(Proposition)}
138 \addto\captions$$lang{\renewcommand{\propositionname}{_(Proposition)}}
140 DocBookWrapperTag figure
141 DocBookWrapperAttr role='proposition'
143 DocBookGenerateTitle true
148 GuiName Prop(osition)
154 LabelString "Prop \theprop."
161 DocBookWrapperTag figure
162 DocBookWrapperAttr role='proposition'
164 DocBookGenerateTitle true
173 LabelCounter conjecture
175 LabelString "Conjecture \theconjecture."
184 \providecommand{\conjecturename}{_(Conjecture)}
187 \addto\captions$$lang{\renewcommand{\conjecturename}{_(Conjecture)}}
189 DocBookWrapperTag figure
190 DocBookWrapperAttr role='conjecture'
192 DocBookGenerateTitle true
203 LabelString "Fact \thefact."
205 \providecommand{\factname}{_(Fact)}
208 \addto\captions$$lang{\renewcommand{\factname}{_(Fact)}}
210 DocBookWrapperTag figure
211 DocBookWrapperAttr role='fact'
213 DocBookGenerateTitle true
222 LabelCounter definition
224 LabelString "Definition \thedefinition."
234 \providecommand{\definitionname}{_(Definition)}
237 \addto\captions$$lang{\renewcommand{\definitionname}{_(Definition)}}
239 DocBookWrapperTag figure
240 DocBookWrapperAttr role='definition'
242 DocBookGenerateTitle true
253 LabelString "Example \theexample."
256 \providecommand{\examplename}{_(Example)}
259 \addto\captions$$lang{\renewcommand{\examplename}{_(Example)}}
261 DocBookWrapperTag informalexample
275 LabelString "Problem \theproblem."
278 \providecommand{\problemname}{_(Problem)}
281 \addto\captions$$lang{\renewcommand{\problemname}{_(Problem)}}
283 DocBookWrapperTag figure
284 DocBookWrapperAttr role='problem'
286 DocBookGenerateTitle true
294 # Prob does not copy a style to avoid preamble code
297 LatexType Environment
302 LabelString "\theprob."
320 DocBookWrapperTag figure
321 DocBookWrapperAttr role='problem'
323 DocBookGenerateTitle true
332 LabelCounter solution
334 LabelString "Solution \thesolution."
337 \providecommand{\solutionname}{_(Solution)}
340 \addto\captions$$lang{\renewcommand{\solutionname}{_(Solution)}}
342 DocBookWrapperTag figure
343 DocBookWrapperAttr role='solution'
345 DocBookGenerateTitle true
353 LabelString "# [number of Prob]"
356 LabelString "Label of Problem"
357 Tooltip "Label of the corresponding problem"
360 DocBookWrapperTag figure
361 DocBookWrapperAttr role='solution'
363 DocBookGenerateTitle true
372 LabelCounter exercise
374 LabelString "Exercise \theexercise."
377 \providecommand{\exercisename}{_(Exercise)}
380 \addto\captions$$lang{\renewcommand{\exercisename}{_(Exercise)}}
382 DocBookWrapperTag figure
383 DocBookWrapperAttr role='exercise'
385 DocBookGenerateTitle true
396 LabelString "Remark \theremark."
399 \providecommand{\remarkname}{_(Remark)}
402 \addto\captions$$lang{\renewcommand{\remarkname}{_(Remark)}}
404 DocBookWrapperTag figure
405 DocBookWrapperAttr role='remark'
407 DocBookGenerateTitle true
416 \providecommand{\claimname}{_(Claim)}
419 \addto\captions$$lang{\renewcommand{\claimname}{_(Claim)}}
421 DocBookWrapperTag figure
422 DocBookWrapperAttr role='claim'
424 DocBookGenerateTitle true
435 LabelString "Case \thecase."
438 \providecommand{\casename}{_(Case)}
441 \addto\captions$$lang{\renewcommand{\casename}{_(Case)}}
443 DocBookWrapperTag figure
444 DocBookWrapperAttr role='case'
446 DocBookGenerateTitle true
455 LabelCounter property
457 LabelString "Property \theproperty."
460 \providecommand{\propertyname}{_(Property)}
463 \addto\captions$$lang{\renewcommand{\propertyname}{_(Property)}}
465 DocBookWrapperTag figure
466 DocBookWrapperAttr role='property'
468 DocBookGenerateTitle true
477 LabelCounter question
479 LabelString "Question \thequestion."
482 \providecommand{\questionname}{_(Question)}
485 \addto\captions$$lang{\renewcommand{\questionname}{_(Question)}}
487 DocBookWrapperTag figure
488 DocBookWrapperAttr role='question'
490 DocBookGenerateTitle true
501 LabelString "Note \thenote."
504 \providecommand{\notename}{_(Note)}
507 \addto\captions$$lang{\renewcommand{\notename}{_(Note)}}
509 DocBookWrapperTag figure
510 DocBookWrapperAttr role='note'
512 DocBookGenerateTitle true