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
|
|
|
|
|
|
|
# The environnements defined are :
|
|
|
|
# - Theorem
|
|
|
|
# - Corollary
|
|
|
|
# - Lemma
|
|
|
|
# - Proposition
|
|
|
|
# - Conjecture
|
|
|
|
# - Definition
|
|
|
|
# - Example
|
2008-01-10 04:58:20 +00:00
|
|
|
# - Problem
|
2007-08-31 15:01:17 +00:00
|
|
|
# - Exercise
|
|
|
|
# - Remark
|
|
|
|
# - Claim
|
2008-01-10 04:58:20 +00:00
|
|
|
# - Proof
|
2008-01-10 06:34:33 +00:00
|
|
|
# - Case (regular only -- defined as an enumeration)
|
2008-01-10 04:58:20 +00:00
|
|
|
|
2009-12-05 22:55:38 +00:00
|
|
|
Format 19
|
2007-08-31 15:01:17 +00:00
|
|
|
|
|
|
|
Style Theorem
|
2008-03-06 05:02:23 +00:00
|
|
|
Category Theorem
|
2007-08-31 15:01:17 +00:00
|
|
|
Margin First_Dynamic
|
|
|
|
LatexType Environment
|
|
|
|
LatexName thm
|
|
|
|
NextNoIndent 1
|
2008-01-10 04:58:20 +00:00
|
|
|
OptionalArgs 1
|
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
|
2007-08-31 15:01:17 +00:00
|
|
|
LabelType Counter
|
|
|
|
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
|
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
|
2008-03-09 10:13:59 +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
|
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
|
2008-03-09 10:13:59 +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
|
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
|
2008-03-09 10:13:59 +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
|
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
|
2008-03-09 10:13:59 +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
|
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
|
2008-03-09 10:13:59 +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
|
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
|
2008-03-09 10:13:59 +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
|
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
|
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
|
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
|
2007-08-31 15:01:17 +00:00
|
|
|
End
|
|
|
|
|
|
|
|
|
|
|
|
Style Remark
|
|
|
|
CopyStyle Theorem
|
2008-03-09 10:13:59 +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
|
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
|
2007-08-31 15:01:17 +00:00
|
|
|
End
|
|
|
|
|
|
|
|
|
2008-01-10 06:34:33 +00:00
|
|
|
# Define Case as an enumeration environment
|
|
|
|
Style Case
|
2008-03-06 05:02:23 +00:00
|
|
|
Category Theorem
|
2008-01-10 06:34:33 +00:00
|
|
|
CopyStyle Enumerate
|
|
|
|
LatexName caseenv
|
|
|
|
LabelType Static
|
2008-07-18 07:53:25 +00:00
|
|
|
LeftMargin "Case ###."
|
|
|
|
LabelString "Case #."
|
|
|
|
LabelFont
|
|
|
|
Series Medium
|
|
|
|
Shape Italic
|
|
|
|
EndFont
|
2008-01-10 06:34:33 +00:00
|
|
|
Preamble
|
2009-08-07 19:06:12 +00:00
|
|
|
\newcounter{casectr}
|
|
|
|
\newenvironment{caseenv}
|
|
|
|
{\begin{list}{{\itshape\ \protect\casename} \arabic{casectr}.}{%
|
|
|
|
\setlength{\leftmargin}{\labelwidth}
|
|
|
|
\addtolength{\leftmargin}{\parskip}
|
|
|
|
\setlength{\itemindent}{\listparindent}
|
|
|
|
\setlength{\itemsep}{\medskipamount}
|
|
|
|
\setlength{\topsep}{\itemsep}}
|
|
|
|
\setcounter{casectr}{0}
|
|
|
|
\usecounter{casectr}}
|
|
|
|
{\end{list}}
|
2008-01-10 06:34:33 +00:00
|
|
|
EndPreamble
|
2009-02-17 20:25:56 +00:00
|
|
|
LangPreamble
|
|
|
|
\providecommand{\casename}{_(Case)}
|
|
|
|
EndLangPreamble
|
|
|
|
BabelPreamble
|
|
|
|
\addto\captions$$lang{\renewcommand{\casename}{_(Case)}}
|
|
|
|
EndBabelPreamble
|
2008-01-10 06:34:33 +00:00
|
|
|
End
|