2011-06-17 04:10:49 +00:00
|
|
|
# This file provides theorem environments without adding preamble code or
|
|
|
|
# requiring packages. THis is useful for classes that define their own theorems
|
|
|
|
# like svjour3 or ijmpc.
|
|
|
|
# Author: Uwe Stöhr <uwestoehr@web.de>
|
|
|
|
|
|
|
|
# The environnements defined are :
|
|
|
|
# - Theorem
|
|
|
|
# - Corollary
|
|
|
|
# - Lemma
|
|
|
|
# - Proposition
|
|
|
|
# - Prop
|
|
|
|
# - Conjecture
|
|
|
|
# - Fact
|
|
|
|
# - Definition
|
|
|
|
# - Example
|
|
|
|
# - Problem
|
2011-06-22 03:36:29 +00:00
|
|
|
# - Prob
|
2011-06-17 04:10:49 +00:00
|
|
|
# - Solution
|
2011-07-10 05:16:27 +00:00
|
|
|
# - Sol
|
2011-06-17 04:10:49 +00:00
|
|
|
# - Exercise
|
|
|
|
# - Remark
|
|
|
|
# - Claim
|
|
|
|
# - Case (defined without a counter)
|
|
|
|
# - Property
|
|
|
|
# - Question
|
|
|
|
# - Note
|
|
|
|
|
|
|
|
|
|
|
|
Format 35
|
|
|
|
|
|
|
|
|
|
|
|
Counter theorem
|
|
|
|
End
|
|
|
|
Style Theorem
|
|
|
|
Category Theorem
|
|
|
|
Margin First_Dynamic
|
|
|
|
LatexType Environment
|
|
|
|
LatexName theorem
|
|
|
|
NextNoIndent 1
|
|
|
|
OptionalArgs 1
|
|
|
|
LabelSep xx
|
|
|
|
ParIndent MMM
|
|
|
|
ParSkip 0.4
|
|
|
|
ItemSep 0.2
|
|
|
|
TopSep 0.7
|
|
|
|
BottomSep 0.7
|
|
|
|
ParSep 0.3
|
|
|
|
Align Block
|
|
|
|
AlignPossible Left
|
|
|
|
LabelType Counter
|
|
|
|
LabelCounter theorem
|
2011-11-24 18:30:28 +00:00
|
|
|
LabelString "Theorem \thetheorem."
|
2011-06-17 04:10:49 +00:00
|
|
|
Font
|
|
|
|
Shape Italic
|
|
|
|
Size Normal
|
|
|
|
EndFont
|
|
|
|
LabelFont
|
|
|
|
Shape Up
|
|
|
|
Series Bold
|
|
|
|
EndFont
|
|
|
|
LangPreamble
|
|
|
|
\providecommand{\theoremname}{_(Theorem)}
|
|
|
|
EndLangPreamble
|
|
|
|
BabelPreamble
|
|
|
|
\addto\captions$$lang{\renewcommand{\theoremname}{_(Theorem)}}
|
|
|
|
EndBabelPreamble
|
|
|
|
End
|
|
|
|
|
|
|
|
|
|
|
|
Counter corollary
|
|
|
|
End
|
|
|
|
Style Corollary
|
|
|
|
CopyStyle Theorem
|
|
|
|
LabelCounter corollary
|
|
|
|
LatexName corollary
|
2011-11-24 18:30:28 +00:00
|
|
|
LabelString "Corollary \thecorollary."
|
2011-06-17 04:10:49 +00:00
|
|
|
LangPreamble
|
|
|
|
\providecommand{\corollaryname}{_(Corollary)}
|
|
|
|
EndLangPreamble
|
|
|
|
BabelPreamble
|
|
|
|
\addto\captions$$lang{\renewcommand{\corollaryname}{_(Corollary)}}
|
|
|
|
EndBabelPreamble
|
|
|
|
End
|
|
|
|
|
|
|
|
|
|
|
|
Counter lemma
|
|
|
|
End
|
|
|
|
Style Lemma
|
|
|
|
CopyStyle Theorem
|
|
|
|
LabelCounter lemma
|
|
|
|
LatexName lemma
|
2011-11-24 18:30:28 +00:00
|
|
|
LabelString "Lemma \thelemma."
|
2011-06-17 04:10:49 +00:00
|
|
|
LangPreamble
|
|
|
|
\providecommand{\lemmaname}{_(Lemma)}
|
|
|
|
EndLangPreamble
|
|
|
|
BabelPreamble
|
|
|
|
\addto\captions$$lang{\renewcommand{\lemmaname}{_(Lemma)}}
|
|
|
|
EndBabelPreamble
|
|
|
|
End
|
|
|
|
|
|
|
|
|
|
|
|
Counter proposition
|
|
|
|
End
|
|
|
|
Style Proposition
|
|
|
|
CopyStyle Theorem
|
|
|
|
LabelCounter proposition
|
|
|
|
LatexName proposition
|
2011-11-24 18:30:28 +00:00
|
|
|
LabelString "Proposition \theproposition."
|
2011-06-17 04:10:49 +00:00
|
|
|
LangPreamble
|
|
|
|
\providecommand{\propositionname}{_(Proposition)}
|
|
|
|
EndLangPreamble
|
|
|
|
BabelPreamble
|
|
|
|
\addto\captions$$lang{\renewcommand{\propositionname}{_(Proposition)}}
|
|
|
|
EndBabelPreamble
|
|
|
|
End
|
|
|
|
|
|
|
|
|
|
|
|
Counter prop
|
|
|
|
End
|
|
|
|
Style Prop
|
|
|
|
CopyStyle Theorem
|
|
|
|
LabelCounter prop
|
|
|
|
LatexName prop
|
|
|
|
LabelString "Prop \theprop."
|
|
|
|
Font
|
|
|
|
Shape Up
|
|
|
|
EndFont
|
|
|
|
LabelFont
|
|
|
|
Series Medium
|
|
|
|
EndFont
|
|
|
|
End
|
|
|
|
|
|
|
|
|
|
|
|
Counter conjecture
|
|
|
|
End
|
|
|
|
Style Conjecture
|
|
|
|
CopyStyle Theorem
|
|
|
|
LabelCounter conjecture
|
|
|
|
LatexName conjecture
|
2011-11-24 18:30:28 +00:00
|
|
|
LabelString "Conjecture \theconjecture."
|
2011-06-17 04:10:49 +00:00
|
|
|
Font
|
|
|
|
Shape Up
|
|
|
|
EndFont
|
|
|
|
LabelFont
|
|
|
|
Series Medium
|
|
|
|
Shape Italic
|
|
|
|
EndFont
|
|
|
|
LangPreamble
|
|
|
|
\providecommand{\conjecturename}{_(Conjecture)}
|
|
|
|
EndLangPreamble
|
|
|
|
BabelPreamble
|
|
|
|
\addto\captions$$lang{\renewcommand{\conjecturename}{_(Conjecture)}}
|
|
|
|
EndBabelPreamble
|
|
|
|
End
|
|
|
|
|
|
|
|
|
|
|
|
Counter fact
|
|
|
|
End
|
|
|
|
Style Fact
|
|
|
|
CopyStyle Theorem
|
|
|
|
LabelCounter fact
|
|
|
|
LatexName fact
|
|
|
|
LabelString "Fact \thefact."
|
|
|
|
LangPreamble
|
|
|
|
\providecommand{\factname}{_(Fact)}
|
|
|
|
EndLangPreamble
|
|
|
|
BabelPreamble
|
|
|
|
\addto\captions$$lang{\renewcommand{\factname}{_(Fact)}}
|
|
|
|
EndBabelPreamble
|
|
|
|
End
|
|
|
|
|
|
|
|
|
|
|
|
Counter definition
|
|
|
|
End
|
|
|
|
Style Definition
|
|
|
|
CopyStyle Theorem
|
|
|
|
LabelCounter definition
|
|
|
|
LatexName definition
|
2011-11-24 18:30:28 +00:00
|
|
|
LabelString "Definition \thedefinition."
|
2011-06-17 04:10:49 +00:00
|
|
|
RefPrefix def
|
|
|
|
Font
|
|
|
|
Shape Up
|
|
|
|
EndFont
|
|
|
|
LabelFont
|
|
|
|
Shape Up
|
|
|
|
Series Bold
|
|
|
|
EndFont
|
|
|
|
LangPreamble
|
|
|
|
\providecommand{\definitionname}{_(Definition)}
|
|
|
|
EndLangPreamble
|
|
|
|
BabelPreamble
|
|
|
|
\addto\captions$$lang{\renewcommand{\definitionname}{_(Definition)}}
|
|
|
|
EndBabelPreamble
|
|
|
|
End
|
|
|
|
|
|
|
|
|
|
|
|
Counter example
|
|
|
|
End
|
|
|
|
Style Example
|
|
|
|
CopyStyle Conjecture
|
|
|
|
LabelCounter example
|
|
|
|
LatexName example
|
2011-11-24 18:30:28 +00:00
|
|
|
LabelString "Example \theexample."
|
2011-06-17 04:10:49 +00:00
|
|
|
RefPrefix exa
|
|
|
|
LangPreamble
|
|
|
|
\providecommand{\examplename}{_(Example)}
|
|
|
|
EndLangPreamble
|
|
|
|
BabelPreamble
|
|
|
|
\addto\captions$$lang{\renewcommand{\examplename}{_(Example)}}
|
|
|
|
EndBabelPreamble
|
|
|
|
End
|
|
|
|
|
|
|
|
|
|
|
|
Counter problem
|
|
|
|
End
|
|
|
|
Style Problem
|
|
|
|
CopyStyle Definition
|
|
|
|
Category Exercise
|
|
|
|
LabelCounter problem
|
|
|
|
LatexName problem
|
2011-11-24 18:30:28 +00:00
|
|
|
LabelString "Problem \theproblem."
|
2011-06-17 04:10:49 +00:00
|
|
|
RefPrefix prob
|
|
|
|
LangPreamble
|
|
|
|
\providecommand{\problemname}{_(Problem)}
|
|
|
|
EndLangPreamble
|
|
|
|
BabelPreamble
|
|
|
|
\addto\captions$$lang{\renewcommand{\problemname}{_(Problem)}}
|
|
|
|
EndBabelPreamble
|
|
|
|
End
|
|
|
|
|
|
|
|
|
2011-06-22 03:36:29 +00:00
|
|
|
Counter prob
|
|
|
|
Within chapter
|
|
|
|
End
|
2011-07-15 16:55:58 +00:00
|
|
|
# Prob does not copy a style to avoid preamble code
|
2011-06-22 03:36:29 +00:00
|
|
|
Style Prob
|
2011-07-15 16:55:58 +00:00
|
|
|
Category Exercise
|
|
|
|
LatexType Environment
|
2011-06-22 03:36:29 +00:00
|
|
|
LatexName prob
|
2011-07-15 16:55:58 +00:00
|
|
|
Margin First_Dynamic
|
|
|
|
LabelType Counter
|
|
|
|
LabelCounter prob
|
2011-07-10 05:16:27 +00:00
|
|
|
LabelString "\theprob."
|
2011-07-15 16:55:58 +00:00
|
|
|
RefPrefix pro
|
|
|
|
NextNoIndent 1
|
2011-07-10 05:16:27 +00:00
|
|
|
OptionalArgs 0
|
2011-07-15 16:55:58 +00:00
|
|
|
LabelSep xx
|
|
|
|
ParIndent MMM
|
|
|
|
ParSkip 0.4
|
|
|
|
ItemSep 0.2
|
|
|
|
TopSep 0.7
|
|
|
|
BottomSep 0.7
|
|
|
|
ParSep 0.3
|
|
|
|
Align Block
|
|
|
|
AlignPossible Left
|
|
|
|
LabelFont
|
|
|
|
Series Bold
|
|
|
|
EndFont
|
2011-06-22 03:36:29 +00:00
|
|
|
End
|
|
|
|
|
|
|
|
|
2011-06-17 04:10:49 +00:00
|
|
|
Counter solution
|
|
|
|
End
|
|
|
|
Style Solution
|
|
|
|
CopyStyle Problem
|
|
|
|
LabelCounter solution
|
|
|
|
LatexName solution
|
2011-07-10 05:16:27 +00:00
|
|
|
LabelString "Solution \thesolution."
|
2011-07-15 16:55:58 +00:00
|
|
|
RefPrefix solu
|
2011-06-17 04:10:49 +00:00
|
|
|
LangPreamble
|
|
|
|
\providecommand{\solutionname}{_(Solution)}
|
|
|
|
EndLangPreamble
|
|
|
|
BabelPreamble
|
|
|
|
\addto\captions$$lang{\renewcommand{\solutionname}{_(Solution)}}
|
|
|
|
EndBabelPreamble
|
|
|
|
End
|
|
|
|
|
|
|
|
|
2011-07-10 05:16:27 +00:00
|
|
|
Style Sol
|
2011-07-15 16:55:58 +00:00
|
|
|
CopyStyle Prob
|
2011-07-10 05:16:27 +00:00
|
|
|
LatexName sol
|
2011-07-15 16:55:58 +00:00
|
|
|
LabelType Static
|
|
|
|
LabelString "# [number of Prob]"
|
2011-07-10 05:16:27 +00:00
|
|
|
RequiredArgs 1
|
|
|
|
End
|
|
|
|
|
|
|
|
|
2011-06-17 04:10:49 +00:00
|
|
|
Counter exercise
|
|
|
|
End
|
|
|
|
Style Exercise
|
|
|
|
CopyStyle Definition
|
|
|
|
LabelCounter exercise
|
|
|
|
LatexName exercise
|
2011-11-24 18:30:28 +00:00
|
|
|
LabelString "Exercise \theexercise."
|
2011-06-17 04:10:49 +00:00
|
|
|
RefPrefix exer
|
|
|
|
LangPreamble
|
|
|
|
\providecommand{\exercisename}{_(Exercise)}
|
|
|
|
EndLangPreamble
|
|
|
|
BabelPreamble
|
|
|
|
\addto\captions$$lang{\renewcommand{\exercisename}{_(Exercise)}}
|
|
|
|
EndBabelPreamble
|
|
|
|
End
|
|
|
|
|
|
|
|
|
|
|
|
Counter remark
|
|
|
|
End
|
|
|
|
Style Remark
|
|
|
|
CopyStyle Conjecture
|
|
|
|
LabelCounter remark
|
|
|
|
LatexName remark
|
2011-11-24 18:30:28 +00:00
|
|
|
LabelString "Remark \theremark."
|
2011-06-17 04:10:49 +00:00
|
|
|
RefPrefix rem
|
|
|
|
LangPreamble
|
|
|
|
\providecommand{\remarkname}{_(Remark)}
|
|
|
|
EndLangPreamble
|
|
|
|
BabelPreamble
|
|
|
|
\addto\captions$$lang{\renewcommand{\remarkname}{_(Remark)}}
|
|
|
|
EndBabelPreamble
|
|
|
|
End
|
|
|
|
|
|
|
|
|
2011-06-22 03:36:29 +00:00
|
|
|
Style Claim
|
|
|
|
CopyStyle Remark
|
|
|
|
LatexName claim
|
|
|
|
LabelString "Claim"
|
2011-06-17 04:10:49 +00:00
|
|
|
LangPreamble
|
|
|
|
\providecommand{\claimname}{_(Claim)}
|
|
|
|
EndLangPreamble
|
|
|
|
BabelPreamble
|
|
|
|
\addto\captions$$lang{\renewcommand{\claimname}{_(Claim)}}
|
|
|
|
EndBabelPreamble
|
|
|
|
End
|
|
|
|
|
|
|
|
|
|
|
|
Counter case
|
|
|
|
End
|
|
|
|
Style Case
|
|
|
|
CopyStyle Remark
|
|
|
|
LabelCounter case
|
|
|
|
LatexName case
|
2011-11-24 18:30:28 +00:00
|
|
|
LabelString "Case \thecase."
|
2011-06-17 04:10:49 +00:00
|
|
|
RefPrefix case
|
|
|
|
LangPreamble
|
|
|
|
\providecommand{\casename}{_(Case)}
|
|
|
|
EndLangPreamble
|
|
|
|
BabelPreamble
|
|
|
|
\addto\captions$$lang{\renewcommand{\casename}{_(Case)}}
|
|
|
|
EndBabelPreamble
|
|
|
|
End
|
|
|
|
|
|
|
|
|
|
|
|
Counter property
|
|
|
|
End
|
|
|
|
Style Property
|
|
|
|
CopyStyle Claim
|
|
|
|
LabelCounter property
|
|
|
|
LatexName property
|
2011-11-24 18:30:28 +00:00
|
|
|
LabelString "Property \theproperty."
|
2011-06-17 04:10:49 +00:00
|
|
|
RefPrefix prop
|
|
|
|
LangPreamble
|
|
|
|
\providecommand{\propertyname}{_(Property)}
|
|
|
|
EndLangPreamble
|
|
|
|
BabelPreamble
|
|
|
|
\addto\captions$$lang{\renewcommand{\propertyname}{_(Property)}}
|
|
|
|
EndBabelPreamble
|
|
|
|
End
|
|
|
|
|
|
|
|
|
|
|
|
Counter question
|
|
|
|
End
|
|
|
|
Style Question
|
|
|
|
CopyStyle Claim
|
|
|
|
LabelCounter question
|
|
|
|
LatexName question
|
2011-11-24 18:30:28 +00:00
|
|
|
LabelString "Question \thequestion."
|
2011-06-17 04:10:49 +00:00
|
|
|
RefPrefix que
|
|
|
|
LangPreamble
|
|
|
|
\providecommand{\questionname}{_(Question)}
|
|
|
|
EndLangPreamble
|
|
|
|
BabelPreamble
|
|
|
|
\addto\captions$$lang{\renewcommand{\questionname}{_(Question)}}
|
|
|
|
EndBabelPreamble
|
|
|
|
End
|
|
|
|
|
|
|
|
|
|
|
|
Counter note
|
|
|
|
End
|
|
|
|
Style Note
|
|
|
|
CopyStyle Claim
|
|
|
|
LabelCounter note
|
|
|
|
LatexName note
|
2011-11-24 18:30:28 +00:00
|
|
|
LabelString "Note \thenote."
|
2011-06-17 04:10:49 +00:00
|
|
|
RefPrefix note
|
|
|
|
LangPreamble
|
|
|
|
\providecommand{\notename}{_(Note)}
|
|
|
|
EndLangPreamble
|
|
|
|
BabelPreamble
|
|
|
|
\addto\captions$$lang{\renewcommand{\notename}{_(Note)}}
|
|
|
|
EndBabelPreamble
|
|
|
|
End
|
|
|
|
|