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
|
|
|
|
2008-10-23 00:28:36 +00:00
|
|
|
Format 11
|
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
|
|
|
|
\newtheorem{thm}{Theorem}
|
|
|
|
EndPreamble
|
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
|
|
|
|
\newtheorem{cor}[thm]{Corollary}
|
|
|
|
EndPreamble
|
|
|
|
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
|
|
|
|
\newtheorem{lem}[thm]{Lemma}
|
|
|
|
EndPreamble
|
|
|
|
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
|
|
|
|
\newtheorem{prop}[thm]{Proposition}
|
|
|
|
EndPreamble
|
|
|
|
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
|
|
|
|
\newtheorem{conjecture}[thm]{Conjecture}
|
|
|
|
EndPreamble
|
|
|
|
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
|
|
|
|
\newtheorem{fact}[thm]{Fact}
|
|
|
|
EndPreamble
|
|
|
|
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
|
2008-01-10 04:58:20 +00:00
|
|
|
\theoremstyle{definition}
|
2007-08-31 15:01:17 +00:00
|
|
|
\newtheorem{defn}[thm]{Definition}
|
|
|
|
EndPreamble
|
|
|
|
End
|
|
|
|
|
|
|
|
|
|
|
|
Style Example
|
|
|
|
CopyStyle Definition
|
|
|
|
LatexName example
|
|
|
|
LabelString "Example \thetheorem."
|
|
|
|
Preamble
|
2008-03-09 10:13:59 +00:00
|
|
|
\theoremstyle{definition}
|
2007-08-31 15:01:17 +00:00
|
|
|
\newtheorem{example}[thm]{Example}
|
|
|
|
EndPreamble
|
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
|
|
|
Style Problem
|
|
|
|
CopyStyle Definition
|
|
|
|
LatexName problem
|
|
|
|
LabelString "Problem \thetheorem."
|
|
|
|
Preamble
|
|
|
|
\theoremstyle{definition}
|
|
|
|
\newtheorem{problem}[thm]{Problem}
|
|
|
|
EndPreamble
|
2008-03-09 10:13:59 +00:00
|
|
|
Requires amsthm
|
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
|
2008-01-10 04:58:20 +00:00
|
|
|
\theoremstyle{definition}
|
|
|
|
\newtheorem{xca}[thm]{Exercise}
|
2007-08-31 15:01:17 +00:00
|
|
|
EndPreamble
|
2008-03-09 10:13:59 +00:00
|
|
|
Requires amsthm
|
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
|
2008-01-10 04:58:20 +00:00
|
|
|
\theoremstyle{remark}
|
2007-08-31 15:01:17 +00:00
|
|
|
\newtheorem{rem}[thm]{Remark}
|
|
|
|
EndPreamble
|
|
|
|
End
|
|
|
|
|
|
|
|
|
|
|
|
Style Claim
|
|
|
|
CopyStyle Remark
|
|
|
|
LatexName claim
|
|
|
|
LabelString "Claim \thetheorem."
|
|
|
|
Preamble
|
2008-01-10 04:58:20 +00:00
|
|
|
\theoremstyle{remark}
|
2007-08-31 15:01:17 +00:00
|
|
|
\newtheorem{claim}[thm]{Claim}
|
|
|
|
EndPreamble
|
2008-03-09 10:13:59 +00:00
|
|
|
Requires amsthm
|
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
|
|
|
|
\newcounter{casectr}
|
|
|
|
\newenvironment{caseenv}
|
2008-07-18 07:53:25 +00:00
|
|
|
{\begin{list}{{\itshape\ Case} \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
|
|
|
|
End
|