# numbered environments (figures as well) containing the section number.
# (Themorem (1.1), Corollary (1.2) Theorem (1.3), etc.
# These are only the theorems styles environnements
+# Tinkered with Sep. '07 by Paul Rubin <rubin@msu.edu>
-
-# The environnements defined are :
+# The environnements defined (regular and starred) are :
# - Theorem
-# - Theorem*
# - Corollary
-# - Corollary*
# - Lemma
-# - Lemma*
# - Proposition
-# - Proposition*
# - Conjecture
-# - Conjecture*
# - Criterion
# - Algorithm
# - Axiom
# - Definition
-# - Definition*
# - Example
-# - Example*
# - Condition
-# - Condition*
# - Problem
-# - Problem*
# - Exercise
# - Remark
-# - Remark*
# - Note
-# - Note*
# - Notation
-# - Notation*
# - Claim
-# - Claim*
# - Summary
# - Acknowledgement
-# - Acknowledgement*
-# - Case
# - Conclusion
-# - Conclusion*
# - Fact
-# - Fact*
+# - Assumption
+# - Case (regular only -- defined as an enumeration)
-Format 4
-Preamble
- \theoremstyle{plain}
- \newtheorem{thm}{Theorem}[section]
-EndPreamble
+Format 5
Counter
Name theorem
+ Within section
End
Margin First_Dynamic
LatexType Environment
LatexName thm
- #DependsOn TheoremStyle
NextNoIndent 1
+ OptionalArgs 1
LabelSep xx
ParIndent MMM
ParSkip 0.4
Shape Up
Series Bold
EndFont
+ Preamble
+ \theoremstyle{plain}
+ \newtheorem{thm}{Theorem}[section]
+ EndPreamble
End
Style Corollary
CopyStyle Theorem
+ DependsOn Theorem
LatexName cor
LabelString "Corollary \thetheorem."
Preamble
Style Lemma
CopyStyle Theorem
+ DependsOn Theorem
LatexName lem
LabelString "Lemma \thetheorem."
Preamble
Style Proposition
CopyStyle Theorem
+ DependsOn Theorem
LatexName prop
LabelString "Proposition \thetheorem."
Preamble
Style Conjecture
CopyStyle Theorem
+ DependsOn Theorem
LatexName conjecture
LabelString "Conjecture \thetheorem."
Preamble
Style Criterion
CopyStyle Theorem
+ DependsOn Theorem
LatexName criterion
LabelString "Criterion \thetheorem."
Preamble
EndPreamble
End
+Style Criterion*
+ CopyStyle Theorem*
+ LatexName criterion*
+ LabelString "Criterion."
+ Preamble
+ \theoremstyle{plain}
+ \newtheorem*{criterion*}{Criterion}
+ EndPreamble
+End
+
Style Algorithm
CopyStyle Theorem
+ DependsOn Theorem
LatexName algorithm
LabelString "Algorithm \thetheorem."
Preamble
End
+Style Algorithm*
+ CopyStyle Theorem*
+ LatexName algorithm*
+ LabelString "Algorithm."
+ Preamble
+ \theoremstyle{plain}
+ \newtheorem*{algorithm*}{Algorithm}
+ EndPreamble
+End
+
+
Style Fact
CopyStyle Theorem
+ DependsOn Theorem
LatexName fact
LabelString "Fact \thetheorem."
Preamble
Style Axiom
CopyStyle Theorem
+ DependsOn Theorem
LatexName ax
LabelString "Axiom \thetheorem."
Preamble
End
+Style Axiom*
+ CopyStyle Theorem*
+ LatexName ax*
+ LabelString "Axiom."
+ Preamble
+ \theoremstyle{plain}
+ \newtheorem*{ax*}{Axiom}
+ EndPreamble
+End
+
+
Style Definition
CopyStyle Theorem
+ DependsOn Theorem
LatexName defn
LabelString "Definition \thetheorem."
Font
LabelString "Exercise \thetheorem."
Preamble
\theoremstyle{definition}
- %%Delete [section] for sequential numbering
- \newtheorem{xca}[section]{Exercise}
+ \newtheorem{xca}[thm]{Exercise}
EndPreamble
End
Style Exercise*
CopyStyle Definition*
- LatexName xca
+ LatexName xca*
LabelString "Exercise."
Preamble
\theoremstyle{definition}
Style Remark
CopyStyle Theorem
+ DependsOn Theorem
LatexName rem
LabelString "Remark \thetheorem."
Font
LabelString "Notation."
Preamble
\theoremstyle{remark}
- \newtheorem*{notation*}[thm]{Notation}
+ \newtheorem*{notation*}{Notation}
EndPreamble
End
End
+Style Summary*
+ CopyStyle Remark*
+ LatexName summary*
+ LabelString "Summary."
+ Preamble
+ \theoremstyle{remark}
+ \newtheorem*{summary*}{Summary}
+ EndPreamble
+End
+
+
Style Acknowledgement
CopyStyle Remark
LatexName acknowledgement
End
-Style Case
- CopyStyle Remark
- LatexName case
- LabelString "Case \thetheorem."
- Preamble
- \theoremstyle{remark}
- \newtheorem{case}{Case} %%Numbering of Cases not keyed to sections
- EndPreamble
-End
-
-
Style Conclusion
CopyStyle Remark
LatexName conclusion
\newtheorem*{conclusion*}{Conclusion}
EndPreamble
End
+
+
+Style Assumption
+ CopyStyle Theorem
+ DependsOn Theorem
+ LatexName assumption
+ LabelString "Assumption \thetheorem."
+ Preamble
+ \theoremstyle{plain}
+ \newtheorem{assumption}[thm]{Assumption}
+ EndPreamble
+End
+
+
+Style Assumption*
+ CopyStyle Theorem*
+ LatexName assumption*
+ LabelString "Assumption."
+ Preamble
+ \theoremstyle{plain}
+ \newtheorem*{assumption*}{Assumption}
+ EndPreamble
+End
+
+
+# Define Case as an enumeration environment
+Style Case
+ CopyStyle Enumerate
+ LatexName caseenv
+ LabelType Static
+ LeftMargin "MMMMMMN"
+ LabelString "Case #:"
+ Preamble
+ \newcounter{casectr}
+ \newenvironment{caseenv}
+ {\begin{list}{\bfseries\upshape Case \arabic{casectr}:}{}\setcounter{casectr}{0}\usecounter{casectr}}
+ {\end{list}}
+ EndPreamble
+End