2011-06-17 04:10:49 +00:00
|
|
|
# This file provides theorem environments without adding preamble code or
|
2015-11-10 23:08:13 +00:00
|
|
|
# requiring packages. This is useful for classes that define their own theorems
|
2011-06-17 04:10:49 +00:00
|
|
|
# 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
|
|
|
|
|
|
|
|
|
2018-11-10 15:07:07 +00:00
|
|
|
Format 70
|
2011-06-17 04:10:49 +00:00
|
|
|
|
2015-11-18 01:35:14 +00:00
|
|
|
OutlinerName thm "Definitions & Theorems"
|
2011-06-17 04:10:49 +00:00
|
|
|
|
|
|
|
Counter theorem
|
|
|
|
End
|
|
|
|
Style Theorem
|
2013-01-30 11:36:49 +00:00
|
|
|
Category Reasoning
|
2011-06-17 04:10:49 +00:00
|
|
|
Margin First_Dynamic
|
|
|
|
LatexType Environment
|
|
|
|
LatexName theorem
|
|
|
|
NextNoIndent 1
|
2015-11-18 01:35:14 +00:00
|
|
|
AddToToc thm
|
|
|
|
IsTocCaption 1
|
2012-11-19 13:21:02 +00:00
|
|
|
Argument 1
|
2012-12-08 19:10:14 +00:00
|
|
|
LabelString "Name/Title"
|
|
|
|
Tooltip "Alternative optional name or title"
|
2015-11-18 01:35:14 +00:00
|
|
|
IsTocCaption 1
|
2012-11-19 13:21:02 +00:00
|
|
|
EndArgument
|
2011-06-17 04:10:49 +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
|
2013-02-09 18:37:06 +00:00
|
|
|
LabelType Static
|
2011-06-17 04:10:49 +00:00
|
|
|
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
|
2012-12-08 19:04:13 +00:00
|
|
|
\providecommand{\theoremname}{_(Theorem)}
|
2011-06-17 04:10:49 +00:00
|
|
|
EndLangPreamble
|
|
|
|
BabelPreamble
|
2012-12-08 19:04:13 +00:00
|
|
|
\addto\captions$$lang{\renewcommand{\theoremname}{_(Theorem)}}
|
2011-06-17 04:10:49 +00:00
|
|
|
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
|
2012-12-08 19:04:13 +00:00
|
|
|
\providecommand{\corollaryname}{_(Corollary)}
|
2011-06-17 04:10:49 +00:00
|
|
|
EndLangPreamble
|
|
|
|
BabelPreamble
|
2012-12-08 19:04:13 +00:00
|
|
|
\addto\captions$$lang{\renewcommand{\corollaryname}{_(Corollary)}}
|
2011-06-17 04:10:49 +00:00
|
|
|
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
|
2012-12-08 19:04:13 +00:00
|
|
|
\providecommand{\lemmaname}{_(Lemma)}
|
2011-06-17 04:10:49 +00:00
|
|
|
EndLangPreamble
|
|
|
|
BabelPreamble
|
2012-12-08 19:04:13 +00:00
|
|
|
\addto\captions$$lang{\renewcommand{\lemmaname}{_(Lemma)}}
|
2011-06-17 04:10:49 +00:00
|
|
|
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
|
2012-12-08 19:04:13 +00:00
|
|
|
\providecommand{\propositionname}{_(Proposition)}
|
2011-06-17 04:10:49 +00:00
|
|
|
EndLangPreamble
|
|
|
|
BabelPreamble
|
2012-12-08 19:04:13 +00:00
|
|
|
\addto\captions$$lang{\renewcommand{\propositionname}{_(Proposition)}}
|
2011-06-17 04:10:49 +00:00
|
|
|
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
|
2012-12-08 19:04:13 +00:00
|
|
|
\providecommand{\conjecturename}{_(Conjecture)}
|
2011-06-17 04:10:49 +00:00
|
|
|
EndLangPreamble
|
|
|
|
BabelPreamble
|
2012-12-08 19:04:13 +00:00
|
|
|
\addto\captions$$lang{\renewcommand{\conjecturename}{_(Conjecture)}}
|
2011-06-17 04:10:49 +00:00
|
|
|
EndBabelPreamble
|
|
|
|
End
|
|
|
|
|
|
|
|
|
|
|
|
Counter fact
|
|
|
|
End
|
|
|
|
Style Fact
|
|
|
|
CopyStyle Theorem
|
|
|
|
LabelCounter fact
|
|
|
|
LatexName fact
|
|
|
|
LabelString "Fact \thefact."
|
|
|
|
LangPreamble
|
2012-12-08 19:04:13 +00:00
|
|
|
\providecommand{\factname}{_(Fact)}
|
2011-06-17 04:10:49 +00:00
|
|
|
EndLangPreamble
|
|
|
|
BabelPreamble
|
2012-12-08 19:04:13 +00:00
|
|
|
\addto\captions$$lang{\renewcommand{\factname}{_(Fact)}}
|
2011-06-17 04:10:49 +00:00
|
|
|
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
|
2012-12-08 19:04:13 +00:00
|
|
|
\providecommand{\definitionname}{_(Definition)}
|
2011-06-17 04:10:49 +00:00
|
|
|
EndLangPreamble
|
|
|
|
BabelPreamble
|
2012-12-08 19:04:13 +00:00
|
|
|
\addto\captions$$lang{\renewcommand{\definitionname}{_(Definition)}}
|
2011-06-17 04:10:49 +00:00
|
|
|
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
|
2012-12-08 19:04:13 +00:00
|
|
|
\providecommand{\examplename}{_(Example)}
|
2011-06-17 04:10:49 +00:00
|
|
|
EndLangPreamble
|
|
|
|
BabelPreamble
|
2012-12-08 19:04:13 +00:00
|
|
|
\addto\captions$$lang{\renewcommand{\examplename}{_(Example)}}
|
2011-06-17 04:10:49 +00:00
|
|
|
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
|
2012-12-08 19:04:13 +00:00
|
|
|
\providecommand{\problemname}{_(Problem)}
|
2011-06-17 04:10:49 +00:00
|
|
|
EndLangPreamble
|
|
|
|
BabelPreamble
|
2012-12-08 19:04:13 +00:00
|
|
|
\addto\captions$$lang{\renewcommand{\problemname}{_(Problem)}}
|
2011-06-17 04:10:49 +00:00
|
|
|
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
|
2013-02-09 18:37:06 +00:00
|
|
|
LabelType Static
|
2011-07-15 16:55:58 +00:00
|
|
|
LabelCounter prob
|
2011-07-10 05:16:27 +00:00
|
|
|
LabelString "\theprob."
|
2011-07-15 16:55:58 +00:00
|
|
|
RefPrefix pro
|
|
|
|
NextNoIndent 1
|
2012-11-19 13:21:02 +00:00
|
|
|
ResetArgs 1
|
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
|
2015-11-18 01:35:14 +00:00
|
|
|
AddToToc thm
|
|
|
|
IsTocCaption true
|
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
|
2012-12-08 19:04:13 +00:00
|
|
|
\providecommand{\solutionname}{_(Solution)}
|
2011-06-17 04:10:49 +00:00
|
|
|
EndLangPreamble
|
|
|
|
BabelPreamble
|
2012-12-08 19:04:13 +00:00
|
|
|
\addto\captions$$lang{\renewcommand{\solutionname}{_(Solution)}}
|
2011-06-17 04:10:49 +00:00
|
|
|
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]"
|
2012-11-19 13:21:02 +00:00
|
|
|
Argument 1
|
2012-12-08 19:04:13 +00:00
|
|
|
Mandatory 1
|
|
|
|
LabelString "Label of Problem"
|
|
|
|
Tooltip "Label of the corresponding problem"
|
2015-12-14 15:19:03 +00:00
|
|
|
IsTocCaption true
|
2012-11-19 13:21:02 +00:00
|
|
|
EndArgument
|
2011-07-10 05:16:27 +00:00
|
|
|
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
|
2012-12-08 19:04:13 +00:00
|
|
|
\providecommand{\exercisename}{_(Exercise)}
|
2011-06-17 04:10:49 +00:00
|
|
|
EndLangPreamble
|
|
|
|
BabelPreamble
|
2012-12-08 19:04:13 +00:00
|
|
|
\addto\captions$$lang{\renewcommand{\exercisename}{_(Exercise)}}
|
2011-06-17 04:10:49 +00:00
|
|
|
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
|
2012-12-08 19:04:13 +00:00
|
|
|
\providecommand{\remarkname}{_(Remark)}
|
2011-06-17 04:10:49 +00:00
|
|
|
EndLangPreamble
|
|
|
|
BabelPreamble
|
2012-12-08 19:04:13 +00:00
|
|
|
\addto\captions$$lang{\renewcommand{\remarkname}{_(Remark)}}
|
2011-06-17 04:10:49 +00:00
|
|
|
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
|
2012-12-08 19:04:13 +00:00
|
|
|
\providecommand{\claimname}{_(Claim)}
|
2011-06-17 04:10:49 +00:00
|
|
|
EndLangPreamble
|
|
|
|
BabelPreamble
|
2012-12-08 19:04:13 +00:00
|
|
|
\addto\captions$$lang{\renewcommand{\claimname}{_(Claim)}}
|
2011-06-17 04:10:49 +00:00
|
|
|
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
|
2012-12-08 19:04:13 +00:00
|
|
|
\providecommand{\casename}{_(Case)}
|
2011-06-17 04:10:49 +00:00
|
|
|
EndLangPreamble
|
|
|
|
BabelPreamble
|
2012-12-08 19:04:13 +00:00
|
|
|
\addto\captions$$lang{\renewcommand{\casename}{_(Case)}}
|
2011-06-17 04:10:49 +00:00
|
|
|
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
|
2012-12-08 19:04:13 +00:00
|
|
|
\providecommand{\propertyname}{_(Property)}
|
2011-06-17 04:10:49 +00:00
|
|
|
EndLangPreamble
|
|
|
|
BabelPreamble
|
2012-12-08 19:04:13 +00:00
|
|
|
\addto\captions$$lang{\renewcommand{\propertyname}{_(Property)}}
|
2011-06-17 04:10:49 +00:00
|
|
|
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
|
2012-12-08 19:04:13 +00:00
|
|
|
\providecommand{\questionname}{_(Question)}
|
2011-06-17 04:10:49 +00:00
|
|
|
EndLangPreamble
|
|
|
|
BabelPreamble
|
2012-12-08 19:04:13 +00:00
|
|
|
\addto\captions$$lang{\renewcommand{\questionname}{_(Question)}}
|
2011-06-17 04:10:49 +00:00
|
|
|
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
|
2012-12-08 19:04:13 +00:00
|
|
|
\providecommand{\notename}{_(Note)}
|
2011-06-17 04:10:49 +00:00
|
|
|
EndLangPreamble
|
|
|
|
BabelPreamble
|
2012-12-08 19:04:13 +00:00
|
|
|
\addto\captions$$lang{\renewcommand{\notename}{_(Note)}}
|
2011-06-17 04:10:49 +00:00
|
|
|
EndBabelPreamble
|
|
|
|
End
|
|
|
|
|