2008-01-10 04:58:20 +00:00
|
|
|
# Original Author : David L. Johnson <dlj0@lehigh.edu>
|
|
|
|
# Probably broken by Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
|
|
|
|
# modified and modularized by Emmanuel GUREGHIAN <gureghia@boston.bertin.fr>
|
|
|
|
# Tinkered with Sep. '07 by Paul Rubin <rubin@msu.edu>
|
|
|
|
# Modularized Jan 08 by Richard Heck <rgheck@comcast.net>
|
2007-08-31 15:01:17 +00:00
|
|
|
|
2011-12-13 19:50:36 +00:00
|
|
|
# The environments defined are :
|
2007-08-31 15:01:17 +00:00
|
|
|
# - Theorem
|
|
|
|
# - Corollary
|
|
|
|
# - Lemma
|
|
|
|
# - Proposition
|
|
|
|
# - Conjecture
|
2011-06-17 04:10:49 +00:00
|
|
|
# - Fact
|
2007-08-31 15:01:17 +00:00
|
|
|
# - Definition
|
|
|
|
# - Example
|
2008-01-10 04:58:20 +00:00
|
|
|
# - Problem
|
2007-08-31 15:01:17 +00:00
|
|
|
# - Exercise
|
2015-11-18 00:14:30 +00:00
|
|
|
# - Solution
|
2007-08-31 15:01:17 +00:00
|
|
|
# - Remark
|
|
|
|
# - Claim
|
2011-12-13 19:50:36 +00:00
|
|
|
# - Case (by inclusion)
|
2008-01-10 04:58:20 +00:00
|
|
|
|
2020-10-25 15:43:32 +00:00
|
|
|
Format 85
|
2015-11-18 01:35:14 +00:00
|
|
|
|
|
|
|
OutlinerName thm "Definitions & Theorems"
|
2007-08-31 15:01:17 +00:00
|
|
|
|
|
|
|
Style Theorem
|
2013-01-30 11:36:49 +00:00
|
|
|
Category Reasoning
|
2007-08-31 15:01:17 +00:00
|
|
|
Margin First_Dynamic
|
|
|
|
LatexType Environment
|
|
|
|
LatexName thm
|
|
|
|
NextNoIndent 1
|
2013-09-03 15:43:33 +00:00
|
|
|
ResetArgs 1
|
2015-11-18 01:35:14 +00:00
|
|
|
AddToToc thm
|
|
|
|
IsTocCaption 1
|
2012-11-19 13:21:02 +00:00
|
|
|
Argument 1
|
2013-09-03 17:29:49 +00:00
|
|
|
LabelString "Additional Theorem Text"
|
|
|
|
Tooltip "Additional text appended to the theorem header"
|
2015-11-18 01:35:14 +00:00
|
|
|
IsTocCaption 1
|
2012-11-19 13:21:02 +00:00
|
|
|
EndArgument
|
2007-08-31 15:01:17 +00:00
|
|
|
LabelSep xx
|
|
|
|
ParIndent MMM
|
|
|
|
ParSkip 0.4
|
|
|
|
ItemSep 0.2
|
|
|
|
TopSep 0.7
|
|
|
|
BottomSep 0.7
|
|
|
|
ParSep 0.3
|
|
|
|
Align Block
|
2008-01-10 07:13:01 +00:00
|
|
|
AlignPossible Left
|
2013-02-09 18:37:06 +00:00
|
|
|
LabelType Static
|
2007-08-31 15:01:17 +00:00
|
|
|
LabelCounter theorem
|
2008-01-10 04:58:20 +00:00
|
|
|
LabelString "Theorem \thetheorem."
|
2007-08-31 15:01:17 +00:00
|
|
|
Font
|
|
|
|
Shape Italic
|
|
|
|
Size Normal
|
|
|
|
EndFont
|
|
|
|
LabelFont
|
|
|
|
Shape Up
|
|
|
|
Series Bold
|
|
|
|
EndFont
|
|
|
|
Preamble
|
2009-08-07 19:06:12 +00:00
|
|
|
\theoremstyle{plain}
|
2009-02-17 20:25:56 +00:00
|
|
|
\newtheorem{thm}{\protect\theoremname}
|
2007-08-31 15:01:17 +00:00
|
|
|
EndPreamble
|
2009-02-17 20:25:56 +00:00
|
|
|
LangPreamble
|
|
|
|
\providecommand{\theoremname}{_(Theorem)}
|
|
|
|
EndLangPreamble
|
|
|
|
BabelPreamble
|
|
|
|
\addto\captions$$lang{\renewcommand{\theoremname}{_(Theorem)}}
|
|
|
|
EndBabelPreamble
|
2008-03-09 10:13:59 +00:00
|
|
|
Requires amsthm
|
2020-08-31 00:39:37 +00:00
|
|
|
DocBookTag para
|
|
|
|
DocBookAttr role='theorem'
|
2007-08-31 15:01:17 +00:00
|
|
|
End
|
|
|
|
|
2008-01-10 04:58:20 +00:00
|
|
|
|
2007-08-31 15:01:17 +00:00
|
|
|
Style Corollary
|
|
|
|
CopyStyle Theorem
|
2015-11-18 01:35:14 +00:00
|
|
|
DependsOn Theorem
|
2007-08-31 15:01:17 +00:00
|
|
|
LatexName cor
|
|
|
|
LabelString "Corollary \thetheorem."
|
|
|
|
Preamble
|
2009-08-07 19:06:12 +00:00
|
|
|
\theoremstyle{plain}
|
|
|
|
\newtheorem{cor}[thm]{\protect\corollaryname}
|
2007-08-31 15:01:17 +00:00
|
|
|
EndPreamble
|
2009-02-17 20:25:56 +00:00
|
|
|
LangPreamble
|
|
|
|
\providecommand{\corollaryname}{_(Corollary)}
|
|
|
|
EndLangPreamble
|
|
|
|
BabelPreamble
|
|
|
|
\addto\captions$$lang{\renewcommand{\corollaryname}{_(Corollary)}}
|
|
|
|
EndBabelPreamble
|
2020-08-31 00:39:37 +00:00
|
|
|
DocBookTag para
|
|
|
|
DocBookAttr role='corollary'
|
2007-08-31 15:01:17 +00:00
|
|
|
End
|
|
|
|
|
2008-01-10 04:58:20 +00:00
|
|
|
|
2007-08-31 15:01:17 +00:00
|
|
|
Style Lemma
|
|
|
|
CopyStyle Theorem
|
2015-11-18 01:35:14 +00:00
|
|
|
DependsOn Theorem
|
2007-08-31 15:01:17 +00:00
|
|
|
LatexName lem
|
|
|
|
LabelString "Lemma \thetheorem."
|
|
|
|
Preamble
|
2009-08-07 19:06:12 +00:00
|
|
|
\theoremstyle{plain}
|
|
|
|
\newtheorem{lem}[thm]{\protect\lemmaname}
|
2007-08-31 15:01:17 +00:00
|
|
|
EndPreamble
|
2009-02-17 20:25:56 +00:00
|
|
|
LangPreamble
|
|
|
|
\providecommand{\lemmaname}{_(Lemma)}
|
|
|
|
EndLangPreamble
|
|
|
|
BabelPreamble
|
|
|
|
\addto\captions$$lang{\renewcommand{\lemmaname}{_(Lemma)}}
|
|
|
|
EndBabelPreamble
|
2020-08-31 00:39:37 +00:00
|
|
|
DocBookTag para
|
|
|
|
DocBookAttr role='lemma'
|
2007-08-31 15:01:17 +00:00
|
|
|
End
|
|
|
|
|
2008-01-10 04:58:20 +00:00
|
|
|
|
2007-08-31 15:01:17 +00:00
|
|
|
Style Proposition
|
|
|
|
CopyStyle Theorem
|
2015-11-18 01:35:14 +00:00
|
|
|
DependsOn Theorem
|
2007-08-31 15:01:17 +00:00
|
|
|
LatexName prop
|
|
|
|
LabelString "Proposition \thetheorem."
|
|
|
|
Preamble
|
2009-08-07 19:06:12 +00:00
|
|
|
\theoremstyle{plain}
|
|
|
|
\newtheorem{prop}[thm]{\protect\propositionname}
|
2007-08-31 15:01:17 +00:00
|
|
|
EndPreamble
|
2009-02-17 20:25:56 +00:00
|
|
|
LangPreamble
|
|
|
|
\providecommand{\propositionname}{_(Proposition)}
|
|
|
|
EndLangPreamble
|
|
|
|
BabelPreamble
|
|
|
|
\addto\captions$$lang{\renewcommand{\propositionname}{_(Proposition)}}
|
|
|
|
EndBabelPreamble
|
2020-08-31 00:39:37 +00:00
|
|
|
DocBookTag para
|
|
|
|
DocBookAttr role='proposition'
|
2007-08-31 15:01:17 +00:00
|
|
|
End
|
|
|
|
|
2008-01-10 04:58:20 +00:00
|
|
|
|
2007-08-31 15:01:17 +00:00
|
|
|
Style Conjecture
|
|
|
|
CopyStyle Theorem
|
2015-11-18 01:35:14 +00:00
|
|
|
DependsOn Theorem
|
2007-08-31 15:01:17 +00:00
|
|
|
LatexName conjecture
|
|
|
|
LabelString "Conjecture \thetheorem."
|
|
|
|
Preamble
|
2009-08-07 19:06:12 +00:00
|
|
|
\theoremstyle{plain}
|
|
|
|
\newtheorem{conjecture}[thm]{\protect\conjecturename}
|
2007-08-31 15:01:17 +00:00
|
|
|
EndPreamble
|
2009-02-17 20:25:56 +00:00
|
|
|
LangPreamble
|
|
|
|
\providecommand{\conjecturename}{_(Conjecture)}
|
|
|
|
EndLangPreamble
|
|
|
|
BabelPreamble
|
|
|
|
\addto\captions$$lang{\renewcommand{\conjecturename}{_(Conjecture)}}
|
|
|
|
EndBabelPreamble
|
2020-08-31 00:39:37 +00:00
|
|
|
DocBookTag para
|
|
|
|
DocBookAttr role='conjecture'
|
2007-08-31 15:01:17 +00:00
|
|
|
End
|
|
|
|
|
2008-01-10 04:58:20 +00:00
|
|
|
|
2007-08-31 15:01:17 +00:00
|
|
|
Style Fact
|
|
|
|
CopyStyle Theorem
|
2015-11-18 01:35:14 +00:00
|
|
|
DependsOn Theorem
|
2007-08-31 15:01:17 +00:00
|
|
|
LatexName fact
|
|
|
|
LabelString "Fact \thetheorem."
|
|
|
|
Preamble
|
2009-08-07 19:06:12 +00:00
|
|
|
\theoremstyle{plain}
|
|
|
|
\newtheorem{fact}[thm]{\protect\factname}
|
2007-08-31 15:01:17 +00:00
|
|
|
EndPreamble
|
2009-02-17 20:25:56 +00:00
|
|
|
LangPreamble
|
|
|
|
\providecommand{\factname}{_(Fact)}
|
|
|
|
EndLangPreamble
|
|
|
|
BabelPreamble
|
|
|
|
\addto\captions$$lang{\renewcommand{\factname}{_(Fact)}}
|
|
|
|
EndBabelPreamble
|
2020-08-31 00:39:37 +00:00
|
|
|
DocBookTag para
|
|
|
|
DocBookAttr role='fact'
|
2007-08-31 15:01:17 +00:00
|
|
|
End
|
|
|
|
|
2008-01-10 04:58:20 +00:00
|
|
|
|
2007-08-31 15:01:17 +00:00
|
|
|
Style Definition
|
|
|
|
CopyStyle Theorem
|
2015-11-18 01:35:14 +00:00
|
|
|
DependsOn Theorem
|
2007-08-31 15:01:17 +00:00
|
|
|
LatexName defn
|
|
|
|
LabelString "Definition \thetheorem."
|
|
|
|
Font
|
|
|
|
Shape Up
|
|
|
|
EndFont
|
|
|
|
LabelFont
|
|
|
|
Shape Up
|
|
|
|
Series Bold
|
|
|
|
EndFont
|
|
|
|
Preamble
|
2009-08-07 19:06:12 +00:00
|
|
|
\theoremstyle{definition}
|
|
|
|
\newtheorem{defn}[thm]{\protect\definitionname}
|
2007-08-31 15:01:17 +00:00
|
|
|
EndPreamble
|
2009-02-17 20:25:56 +00:00
|
|
|
LangPreamble
|
|
|
|
\providecommand{\definitionname}{_(Definition)}
|
|
|
|
EndLangPreamble
|
|
|
|
BabelPreamble
|
|
|
|
\addto\captions$$lang{\renewcommand{\definitionname}{_(Definition)}}
|
|
|
|
EndBabelPreamble
|
2020-08-31 00:39:37 +00:00
|
|
|
DocBookTag para
|
|
|
|
DocBookAttr role='definition'
|
2007-08-31 15:01:17 +00:00
|
|
|
End
|
|
|
|
|
|
|
|
|
|
|
|
Style Example
|
|
|
|
CopyStyle Definition
|
|
|
|
LatexName example
|
|
|
|
LabelString "Example \thetheorem."
|
|
|
|
Preamble
|
2009-08-07 19:06:12 +00:00
|
|
|
\theoremstyle{definition}
|
|
|
|
\newtheorem{example}[thm]{\protect\examplename}
|
2007-08-31 15:01:17 +00:00
|
|
|
EndPreamble
|
2009-02-17 20:25:56 +00:00
|
|
|
LangPreamble
|
|
|
|
\providecommand{\examplename}{_(Example)}
|
|
|
|
EndLangPreamble
|
|
|
|
BabelPreamble
|
|
|
|
\addto\captions$$lang{\renewcommand{\examplename}{_(Example)}}
|
|
|
|
EndBabelPreamble
|
2020-08-31 00:39:37 +00:00
|
|
|
DocBookWrapperTag informalexample
|
|
|
|
DocBookTag para
|
2020-11-16 05:09:03 +00:00
|
|
|
DocBookAttr ""
|
2007-08-31 15:01:17 +00:00
|
|
|
End
|
|
|
|
|
|
|
|
|
2008-01-10 04:58:20 +00:00
|
|
|
Style Problem
|
|
|
|
CopyStyle Definition
|
|
|
|
LatexName problem
|
|
|
|
LabelString "Problem \thetheorem."
|
|
|
|
Preamble
|
2009-08-07 19:06:12 +00:00
|
|
|
\theoremstyle{definition}
|
|
|
|
\newtheorem{problem}[thm]{\protect\problemname}
|
2008-01-10 04:58:20 +00:00
|
|
|
EndPreamble
|
2009-02-17 20:25:56 +00:00
|
|
|
LangPreamble
|
|
|
|
\providecommand{\problemname}{_(Problem)}
|
|
|
|
EndLangPreamble
|
|
|
|
BabelPreamble
|
|
|
|
\addto\captions$$lang{\renewcommand{\problemname}{_(Problem)}}
|
|
|
|
EndBabelPreamble
|
2020-08-31 00:39:37 +00:00
|
|
|
DocBookTag para
|
|
|
|
DocBookAttr role='problem'
|
2008-01-10 04:58:20 +00:00
|
|
|
End
|
|
|
|
|
|
|
|
|
2007-08-31 15:01:17 +00:00
|
|
|
Style Exercise
|
|
|
|
CopyStyle Definition
|
|
|
|
LatexName xca
|
|
|
|
LabelString "Exercise \thetheorem."
|
|
|
|
Preamble
|
2009-08-07 19:06:12 +00:00
|
|
|
\theoremstyle{definition}
|
|
|
|
\newtheorem{xca}[thm]{\protect\exercisename}
|
2007-08-31 15:01:17 +00:00
|
|
|
EndPreamble
|
2009-02-17 20:25:56 +00:00
|
|
|
LangPreamble
|
|
|
|
\providecommand{\exercisename}{_(Exercise)}
|
|
|
|
EndLangPreamble
|
|
|
|
BabelPreamble
|
|
|
|
\addto\captions$$lang{\renewcommand{\exercisename}{_(Exercise)}}
|
|
|
|
EndBabelPreamble
|
2020-08-31 00:39:37 +00:00
|
|
|
DocBookTag para
|
|
|
|
DocBookAttr role='exercise'
|
2007-08-31 15:01:17 +00:00
|
|
|
End
|
|
|
|
|
|
|
|
|
2015-11-18 00:14:30 +00:00
|
|
|
Style Solution
|
|
|
|
CopyStyle Definition
|
|
|
|
LatexName sol
|
|
|
|
LabelString "Solution \thetheorem."
|
|
|
|
Preamble
|
|
|
|
\theoremstyle{definition}
|
|
|
|
\newtheorem{sol}[thm]{\protect\solutionname}
|
|
|
|
EndPreamble
|
|
|
|
LangPreamble
|
|
|
|
\providecommand{\solutionname}{_(Solution)}
|
|
|
|
EndLangPreamble
|
|
|
|
BabelPreamble
|
|
|
|
\addto\captions$$lang{\renewcommand{\solutionname}{_(Solution)}}
|
|
|
|
EndBabelPreamble
|
2020-08-31 00:39:37 +00:00
|
|
|
DocBookTag para
|
|
|
|
DocBookAttr role='solution'
|
2015-11-18 00:14:30 +00:00
|
|
|
End
|
|
|
|
|
|
|
|
|
2007-08-31 15:01:17 +00:00
|
|
|
Style Remark
|
|
|
|
CopyStyle Theorem
|
2015-11-18 01:35:14 +00:00
|
|
|
DependsOn Theorem
|
2007-08-31 15:01:17 +00:00
|
|
|
LatexName rem
|
|
|
|
LabelString "Remark \thetheorem."
|
|
|
|
Font
|
|
|
|
Shape Up
|
|
|
|
Size Normal
|
|
|
|
EndFont
|
|
|
|
LabelFont
|
|
|
|
Series Medium
|
|
|
|
Shape Italic
|
|
|
|
EndFont
|
|
|
|
Preamble
|
2009-08-07 19:06:12 +00:00
|
|
|
\theoremstyle{remark}
|
|
|
|
\newtheorem{rem}[thm]{\protect\remarkname}
|
2007-08-31 15:01:17 +00:00
|
|
|
EndPreamble
|
2009-02-17 20:25:56 +00:00
|
|
|
LangPreamble
|
|
|
|
\providecommand{\remarkname}{_(Remark)}
|
|
|
|
EndLangPreamble
|
|
|
|
BabelPreamble
|
|
|
|
\addto\captions$$lang{\renewcommand{\remarkname}{_(Remark)}}
|
|
|
|
EndBabelPreamble
|
2020-08-31 00:39:37 +00:00
|
|
|
DocBookTag note
|
|
|
|
DocBookItemTag para
|
2007-08-31 15:01:17 +00:00
|
|
|
End
|
|
|
|
|
|
|
|
|
|
|
|
Style Claim
|
|
|
|
CopyStyle Remark
|
|
|
|
LatexName claim
|
|
|
|
LabelString "Claim \thetheorem."
|
|
|
|
Preamble
|
2009-08-07 19:06:12 +00:00
|
|
|
\theoremstyle{remark}
|
|
|
|
\newtheorem{claim}[thm]{\protect\claimname}
|
2007-08-31 15:01:17 +00:00
|
|
|
EndPreamble
|
2009-02-17 20:25:56 +00:00
|
|
|
LangPreamble
|
|
|
|
\providecommand{\claimname}{_(Claim)}
|
|
|
|
EndLangPreamble
|
|
|
|
BabelPreamble
|
|
|
|
\addto\captions$$lang{\renewcommand{\claimname}{_(Claim)}}
|
|
|
|
EndBabelPreamble
|
2020-08-31 00:39:37 +00:00
|
|
|
DocBookTag para
|
|
|
|
DocBookAttr role='claim'
|
|
|
|
DocBookItemTag ""
|
2007-08-31 15:01:17 +00:00
|
|
|
End
|
|
|
|
|
2011-12-13 19:50:36 +00:00
|
|
|
Input theorems-case.inc
|
2010-07-11 13:45:21 +00:00
|
|
|
Input theorems-refprefix.inc
|