# Modularized Jan 08 by Richard Heck <rgheck@comcast.net>
# Hacked June '09 by Paul Rubin <rubin@msu.edu> to use separate counters
-# The environnements defined are :
+# The environments defined are :
# - Theorem
# - Corollary
# - Lemma
# - Exercise
# - Remark
# - Claim
-# - Case (regular only -- defined as an enumeration)
+# - Case (by inclusion)
# We need separate counters for each theorem-like style.
-Format 34
+Format 53
Counter theorem
End
Counter corollary
End
Style Theorem
- Category Theorem
+ Category Reasoning
Margin First_Dynamic
LatexType Environment
LatexName thm
NextNoIndent 1
- OptionalArgs 1
+ ResetArgs 1
+ Argument 1
+ LabelString "Additional Theorem Text"
+ Tooltip "Additional text appended to the theorem header"
+ EndArgument
LabelSep xx
ParIndent MMM
ParSkip 0.4
ParSep 0.3
Align Block
AlignPossible Left
- LabelType Counter
+ LabelType Static
LabelCounter theorem
LabelString "Theorem \thetheorem."
Font
EndFont
Preamble
\theoremstyle{plain}
- \newtheorem{thm}{Theorem}
+ \newtheorem{thm}{\protect\theoremname}
EndPreamble
LangPreamble
\providecommand{\theoremname}{_(Theorem)}
LabelString "Corollary \thecorollary."
Preamble
\theoremstyle{plain}
- \newtheorem{cor}{Corollary}
+ \newtheorem{cor}{\protect\corollaryname}
EndPreamble
LabelCounter corollary
LangPreamble
LabelString "Lemma \thelemma."
Preamble
\theoremstyle{plain}
- \newtheorem{lem}{Lemma}
+ \newtheorem{lem}{\protect\lemmaname}
EndPreamble
LangPreamble
\providecommand{\lemmaname}{_(Lemma)}
LabelString "Proposition \theproposition."
Preamble
\theoremstyle{plain}
- \newtheorem{prop}{Proposition}
+ \newtheorem{prop}{\protect\propositionname}
EndPreamble
LangPreamble
\providecommand{\propositionname}{_(Proposition)}
LabelString "Conjecture \theconjecture."
Preamble
\theoremstyle{plain}
- \newtheorem{conjecture}{Conjecture}
+ \newtheorem{conjecture}{\protect\conjecturename}
EndPreamble
LangPreamble
\providecommand{\conjecturename}{_(Conjecture)}
LabelString "Fact \thefact."
Preamble
\theoremstyle{plain}
- \newtheorem{fact}{Fact}
+ \newtheorem{fact}{\protect\factname}
EndPreamble
LangPreamble
\providecommand{\factname}{_(Fact)}
EndFont
Preamble
\theoremstyle{definition}
- \newtheorem{defn}{Definition}
+ \newtheorem{defn}{\protect\definitionname}
EndPreamble
LangPreamble
\providecommand{\definitionname}{_(Definition)}
LabelString "Example \theexample."
Preamble
\theoremstyle{definition}
- \newtheorem{example}{Example}
+ \newtheorem{example}{\protect\examplename}
EndPreamble
Requires amsthm
LangPreamble
LabelString "Problem \theproblem."
Preamble
\theoremstyle{definition}
- \newtheorem{problem}{Problem}
+ \newtheorem{problem}{\protect\problemname}
EndPreamble
Requires amsthm
LangPreamble
LabelString "Exercise \theexercise."
Preamble
\theoremstyle{definition}
- \newtheorem{xca}{Exercise}
+ \newtheorem{xca}{\protect\exercisename}
EndPreamble
Requires amsthm
LangPreamble
EndFont
Preamble
\theoremstyle{remark}
- \newtheorem{rem}{Remark}
+ \newtheorem{rem}{\protect\remarkname}
EndPreamble
LangPreamble
\providecommand{\remarkname}{_(Remark)}
LabelString "Claim \theclaim."
Preamble
\theoremstyle{remark}
- \newtheorem{claim}{Claim}
+ \newtheorem{claim}{\protect\claimname}
EndPreamble
Requires amsthm
LangPreamble
LabelCounter claim
End
-
-# Define Case as an enumeration environment
-Style Case
- Category Theorem
- Margin Static
- LatexType Item_Environment
- LatexName caseenv
- LabelType Itemize
- NextNoIndent 1
- LeftMargin "Case ###."
- ParSkip 0.0
- ItemSep 0.2
- TopSep 0.7
- BottomSep 0.7
- ParSep 0.3
- Align Block
- AlignPossible Block, Left
- LabelSep xx
- LabelString "Case #."
- LabelFont
- Series Medium
- Shape Italic
- EndFont
- Preamble
- \newcounter{casectr}
- \newenvironment{caseenv}
- {\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}}
- EndPreamble
- LangPreamble
- \providecommand{\casename}{_(Case)}
- EndLangPreamble
- BabelPreamble
- \addto\captions$$lang{\renewcommand{\casename}{_(Case)}}
- EndBabelPreamble
-End
+Input theorems-case.inc