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)
52 LabelString "Theorem \thetheorem"
62 \providecommand{\theoremname}{_(Theorem)}
65 \addto\captions$$lang{\renewcommand{\theoremname}{_(Theorem)}}
74 LabelCounter corollary
76 LabelString "Corollary \thecorollary"
78 \providecommand{\corollaryname}{_(Corollary)}
81 \addto\captions$$lang{\renewcommand{\corollaryname}{_(Corollary)}}
92 LabelString "Lemma \thelemma"
94 \providecommand{\lemmaname}{_(Lemma)}
97 \addto\captions$$lang{\renewcommand{\lemmaname}{_(Lemma)}}
106 LabelCounter proposition
107 LatexName proposition
108 LabelString "Proposition \theproposition"
110 \providecommand{\propositionname}{_(Proposition)}
113 \addto\captions$$lang{\renewcommand{\propositionname}{_(Proposition)}}
124 LabelString "Prop \theprop."
132 \providecommand{\propname}{_(Prop)}
135 \addto\captions$$lang{\renewcommand{\propname}{_(Prop)}}
144 LabelCounter conjecture
146 LabelString "Conjecture \theconjecture"
155 \providecommand{\conjecturename}{_(Conjecture)}
158 \addto\captions$$lang{\renewcommand{\conjecturename}{_(Conjecture)}}
169 LabelString "Fact \thefact."
171 \providecommand{\factname}{_(Fact)}
174 \addto\captions$$lang{\renewcommand{\factname}{_(Fact)}}
183 LabelCounter definition
185 LabelString "Definition \thedefinition"
195 \providecommand{\definitionname}{_(Definition)}
198 \addto\captions$$lang{\renewcommand{\definitionname}{_(Definition)}}
209 LabelString "Example \theexample"
212 \providecommand{\examplename}{_(Example)}
215 \addto\captions$$lang{\renewcommand{\examplename}{_(Example)}}
227 LabelString "Problem \theproblem"
230 \providecommand{\problemname}{_(Problem)}
233 \addto\captions$$lang{\renewcommand{\problemname}{_(Problem)}}
241 # Prob does not copy a style to avoid preamble code
244 LatexType Environment
249 LabelString "\theprob."
272 LabelCounter solution
274 LabelString "Solution \thesolution."
277 \providecommand{\solutionname}{_(Solution)}
280 \addto\captions$$lang{\renewcommand{\solutionname}{_(Solution)}}
289 LabelString "# [number of Prob]"
298 LabelCounter exercise
300 LabelString "Exercise \theexercise"
303 \providecommand{\exercisename}{_(Exercise)}
306 \addto\captions$$lang{\renewcommand{\exercisename}{_(Exercise)}}
317 LabelString "Remark \theremark"
320 \providecommand{\remarkname}{_(Remark)}
323 \addto\captions$$lang{\renewcommand{\remarkname}{_(Remark)}}
333 \providecommand{\claimname}{_(Claim)}
336 \addto\captions$$lang{\renewcommand{\claimname}{_(Claim)}}
347 LabelString "Case \thecase"
350 \providecommand{\casename}{_(Case)}
353 \addto\captions$$lang{\renewcommand{\casename}{_(Case)}}
362 LabelCounter property
364 LabelString "Property \theproperty"
367 \providecommand{\propertyname}{_(Property)}
370 \addto\captions$$lang{\renewcommand{\propertyname}{_(Property)}}
379 LabelCounter question
381 LabelString "Question \thequestion"
384 \providecommand{\questionname}{_(Question)}
387 \addto\captions$$lang{\renewcommand{\questionname}{_(Question)}}
398 LabelString "Note \thenote"
401 \providecommand{\notename}{_(Note)}
404 \addto\captions$$lang{\renewcommand{\notename}{_(Note)}}