1999-09-27 18:44:28 +00:00
|
|
|
# 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>
|
2007-09-25 16:38:56 +00:00
|
|
|
# Tinkered with Sep. '07 by Paul Rubin <rubin@msu.edu>
|
1999-09-27 18:44:28 +00:00
|
|
|
|
|
|
|
# These are only the theorems styles environnements
|
|
|
|
# The environnements defined are :
|
|
|
|
# - Theorem
|
|
|
|
# - Corollary
|
|
|
|
# - Lemma
|
|
|
|
# - Proposition
|
|
|
|
# - Conjecture
|
|
|
|
# - Criterion
|
|
|
|
# - Algorithm
|
2003-10-13 09:50:10 +00:00
|
|
|
# - Fact
|
1999-09-27 18:44:28 +00:00
|
|
|
# - Axiom
|
|
|
|
# - Definition
|
|
|
|
# - Example
|
|
|
|
# - Condition
|
|
|
|
# - Problem
|
|
|
|
# - Exercise
|
|
|
|
# - Remark
|
|
|
|
# - Claim
|
|
|
|
# - Note
|
|
|
|
# - Notation
|
|
|
|
# - Summary
|
|
|
|
# - Acknowledgement
|
|
|
|
# - Conclusion
|
2007-09-25 16:38:56 +00:00
|
|
|
# - Assumption
|
|
|
|
# - Case (regular only -- defined as an enumeration)
|
1999-09-27 18:44:28 +00:00
|
|
|
|
2007-08-26 09:10:52 +00:00
|
|
|
Format 5
|
2007-09-25 16:38:56 +00:00
|
|
|
|
|
|
|
# Use a simpler preamble.
|
|
|
|
|
|
|
|
Preamble
|
|
|
|
EndPreamble
|
|
|
|
|
|
|
|
|
|
|
|
# but more counters
|
|
|
|
|
|
|
|
# Do not restart theorem counter after section change
|
|
|
|
Counter
|
|
|
|
Name thm
|
|
|
|
End
|
|
|
|
|
|
|
|
Counter
|
|
|
|
Name corollary
|
|
|
|
End
|
|
|
|
|
|
|
|
|
|
|
|
Counter
|
|
|
|
Name lemma
|
|
|
|
End
|
|
|
|
|
|
|
|
|
|
|
|
Counter
|
|
|
|
Name proposition
|
|
|
|
End
|
|
|
|
|
|
|
|
|
|
|
|
Counter
|
|
|
|
Name conjecture
|
|
|
|
End
|
|
|
|
|
|
|
|
|
|
|
|
Counter
|
|
|
|
Name criterion
|
|
|
|
End
|
|
|
|
|
|
|
|
|
|
|
|
Counter
|
|
|
|
Name algorithm
|
|
|
|
End
|
|
|
|
|
|
|
|
|
|
|
|
Counter
|
|
|
|
Name fact
|
|
|
|
End
|
|
|
|
|
|
|
|
|
|
|
|
Counter
|
|
|
|
Name axiom
|
|
|
|
End
|
|
|
|
|
|
|
|
|
|
|
|
Counter
|
|
|
|
Name definition
|
|
|
|
End
|
|
|
|
|
|
|
|
|
|
|
|
Counter
|
|
|
|
Name example
|
|
|
|
End
|
|
|
|
|
|
|
|
|
|
|
|
Counter
|
|
|
|
Name condition
|
|
|
|
End
|
|
|
|
|
|
|
|
|
|
|
|
Counter
|
|
|
|
Name problem
|
|
|
|
End
|
|
|
|
|
|
|
|
|
|
|
|
Counter
|
|
|
|
Name exercise
|
|
|
|
End
|
|
|
|
|
|
|
|
|
|
|
|
Counter
|
|
|
|
Name remark
|
|
|
|
End
|
|
|
|
|
|
|
|
|
|
|
|
Counter
|
|
|
|
Name claim
|
|
|
|
End
|
|
|
|
|
|
|
|
|
|
|
|
Counter
|
|
|
|
Name note
|
|
|
|
End
|
|
|
|
|
|
|
|
|
|
|
|
Counter
|
|
|
|
Name notation
|
|
|
|
End
|
|
|
|
|
|
|
|
|
|
|
|
Counter
|
|
|
|
Name summary
|
|
|
|
End
|
|
|
|
|
|
|
|
|
|
|
|
Counter
|
|
|
|
Name acknowledgement
|
|
|
|
End
|
|
|
|
|
|
|
|
|
|
|
|
Counter
|
|
|
|
Name conclusion
|
|
|
|
End
|
|
|
|
|
|
|
|
Counter
|
|
|
|
Name assumption
|
|
|
|
End
|
|
|
|
|
1999-09-27 18:44:28 +00:00
|
|
|
Style Theorem
|
2007-09-25 16:38:56 +00:00
|
|
|
LabelCounter thm
|
|
|
|
LabelString "Theorem \arabic{thm}."
|
2003-05-02 08:55:48 +00:00
|
|
|
Preamble
|
2003-10-13 09:50:10 +00:00
|
|
|
\theoremstyle{plain}
|
|
|
|
\newtheorem{thm}{Theorem}
|
2003-05-02 08:55:48 +00:00
|
|
|
EndPreamble
|
2003-10-13 09:50:10 +00:00
|
|
|
End
|
1999-09-27 18:44:28 +00:00
|
|
|
|
2003-09-15 15:20:19 +00:00
|
|
|
|
1999-09-27 18:44:28 +00:00
|
|
|
Style Corollary
|
2007-09-25 16:38:56 +00:00
|
|
|
LabelCounter corollary
|
2007-10-24 09:40:15 +00:00
|
|
|
DependsOn ""
|
2007-09-25 16:38:56 +00:00
|
|
|
LabelString "Corollary \arabic{corollary}."
|
2003-05-02 08:55:48 +00:00
|
|
|
Preamble
|
2003-10-13 09:50:10 +00:00
|
|
|
\theoremstyle{plain}
|
|
|
|
\newtheorem{cor}{Corollary}
|
2003-05-02 08:55:48 +00:00
|
|
|
EndPreamble
|
2003-10-13 09:50:10 +00:00
|
|
|
End
|
1999-09-27 18:44:28 +00:00
|
|
|
|
2003-09-15 15:20:19 +00:00
|
|
|
|
1999-09-27 18:44:28 +00:00
|
|
|
Style Lemma
|
2007-09-25 16:38:56 +00:00
|
|
|
LabelCounter lemma
|
2007-10-24 09:40:15 +00:00
|
|
|
DependsOn ""
|
2007-09-25 16:38:56 +00:00
|
|
|
LabelString "Lemma \arabic{lemma}."
|
2003-05-02 08:55:48 +00:00
|
|
|
Preamble
|
2003-10-13 09:50:10 +00:00
|
|
|
\theoremstyle{plain}
|
|
|
|
\newtheorem{lem}{Lemma}
|
2003-05-02 08:55:48 +00:00
|
|
|
EndPreamble
|
2003-10-13 09:50:10 +00:00
|
|
|
End
|
1999-09-27 18:44:28 +00:00
|
|
|
|
2003-09-15 15:20:19 +00:00
|
|
|
|
1999-09-27 18:44:28 +00:00
|
|
|
Style Proposition
|
2007-09-25 16:38:56 +00:00
|
|
|
LabelCounter proposition
|
2007-10-24 09:40:15 +00:00
|
|
|
DependsOn ""
|
2007-09-25 16:38:56 +00:00
|
|
|
LabelString "Proposition \arabic{proposition}."
|
2003-05-02 08:55:48 +00:00
|
|
|
Preamble
|
2003-10-13 09:50:10 +00:00
|
|
|
\theoremstyle{plain}
|
|
|
|
\newtheorem{prop}{Proposition}
|
2003-05-02 08:55:48 +00:00
|
|
|
EndPreamble
|
2003-10-13 09:50:10 +00:00
|
|
|
End
|
1999-09-27 18:44:28 +00:00
|
|
|
|
2003-09-15 15:20:19 +00:00
|
|
|
|
1999-09-27 18:44:28 +00:00
|
|
|
Style Conjecture
|
2007-09-25 16:38:56 +00:00
|
|
|
LabelCounter conjecture
|
2007-10-24 09:40:15 +00:00
|
|
|
DependsOn ""
|
2007-09-25 16:38:56 +00:00
|
|
|
LabelString "Conjecture \arabic{conjecture}."
|
2003-05-02 08:55:48 +00:00
|
|
|
Preamble
|
2003-10-13 09:50:10 +00:00
|
|
|
\theoremstyle{plain}
|
|
|
|
\newtheorem{conjecture}{Conjecture}
|
2003-05-02 08:55:48 +00:00
|
|
|
EndPreamble
|
2003-10-13 09:50:10 +00:00
|
|
|
End
|
1999-09-27 18:44:28 +00:00
|
|
|
|
2003-09-15 15:20:19 +00:00
|
|
|
|
1999-09-27 18:44:28 +00:00
|
|
|
Style Criterion
|
2007-09-25 16:38:56 +00:00
|
|
|
LabelCounter criterion
|
2007-10-24 09:40:15 +00:00
|
|
|
DependsOn ""
|
2007-09-25 16:38:56 +00:00
|
|
|
LabelString "Criterion \arabic{criterion}."
|
2003-05-02 08:55:48 +00:00
|
|
|
Preamble
|
2003-10-13 09:50:10 +00:00
|
|
|
\theoremstyle{plain}
|
|
|
|
\newtheorem{criterion}{Criterion}
|
2003-05-02 08:55:48 +00:00
|
|
|
EndPreamble
|
2003-10-13 09:50:10 +00:00
|
|
|
End
|
1999-09-27 18:44:28 +00:00
|
|
|
|
2003-09-15 15:20:19 +00:00
|
|
|
|
1999-09-27 18:44:28 +00:00
|
|
|
Style Algorithm
|
2007-09-25 16:38:56 +00:00
|
|
|
LabelCounter algorithm
|
2007-10-24 09:40:15 +00:00
|
|
|
DependsOn ""
|
2007-09-25 16:38:56 +00:00
|
|
|
LabelString "Algorithm \arabic{algorithm}."
|
2003-05-02 08:55:48 +00:00
|
|
|
Preamble
|
2003-10-13 09:50:10 +00:00
|
|
|
\theoremstyle{plain}
|
|
|
|
\newtheorem{algorithm}{Algorithm}
|
2003-05-02 08:55:48 +00:00
|
|
|
EndPreamble
|
2003-10-13 09:50:10 +00:00
|
|
|
End
|
1999-09-27 18:44:28 +00:00
|
|
|
|
2003-09-15 15:20:19 +00:00
|
|
|
|
1999-09-27 18:44:28 +00:00
|
|
|
Style Fact
|
2007-09-25 16:38:56 +00:00
|
|
|
LabelCounter fact
|
2007-10-24 09:40:15 +00:00
|
|
|
DependsOn ""
|
2007-09-25 16:38:56 +00:00
|
|
|
LabelString "Fact \arabic{fact}."
|
2003-05-02 08:55:48 +00:00
|
|
|
Preamble
|
2003-10-13 09:50:10 +00:00
|
|
|
\theoremstyle{plain}
|
2003-05-02 08:55:48 +00:00
|
|
|
\newtheorem{fact}{Fact}
|
|
|
|
EndPreamble
|
2003-10-13 09:50:10 +00:00
|
|
|
End
|
1999-09-27 18:44:28 +00:00
|
|
|
|
2003-09-15 15:20:19 +00:00
|
|
|
|
1999-09-27 18:44:28 +00:00
|
|
|
Style Axiom
|
2007-09-25 16:38:56 +00:00
|
|
|
LabelCounter axiom
|
2007-10-24 09:40:15 +00:00
|
|
|
DependsOn ""
|
2007-09-25 16:38:56 +00:00
|
|
|
LabelString "Axiom \arabic{axiom}."
|
2003-05-02 08:55:48 +00:00
|
|
|
Preamble
|
2003-10-13 09:50:10 +00:00
|
|
|
\theoremstyle{plain}
|
2003-05-02 08:55:48 +00:00
|
|
|
\newtheorem{ax}{Axiom}
|
|
|
|
EndPreamble
|
2003-10-13 09:50:10 +00:00
|
|
|
End
|
1999-09-27 18:44:28 +00:00
|
|
|
|
2003-09-15 15:20:19 +00:00
|
|
|
|
1999-09-27 18:44:28 +00:00
|
|
|
Style Definition
|
2007-09-25 16:38:56 +00:00
|
|
|
LabelCounter definition
|
2007-10-24 09:40:15 +00:00
|
|
|
DependsOn ""
|
2007-09-25 16:38:56 +00:00
|
|
|
LabelString "Definition \arabic{definition}."
|
2003-05-02 08:55:48 +00:00
|
|
|
Preamble
|
|
|
|
\theoremstyle{definition}
|
|
|
|
\newtheorem{defn}{Definition}
|
|
|
|
EndPreamble
|
2003-10-13 09:50:10 +00:00
|
|
|
End
|
1999-09-27 18:44:28 +00:00
|
|
|
|
2003-09-15 15:20:19 +00:00
|
|
|
|
1999-09-27 18:44:28 +00:00
|
|
|
Style Example
|
2007-09-25 16:38:56 +00:00
|
|
|
LabelCounter example
|
2007-10-24 09:40:15 +00:00
|
|
|
DependsOn ""
|
2007-09-25 16:38:56 +00:00
|
|
|
LabelString "Example \arabic{example}."
|
2003-05-02 08:55:48 +00:00
|
|
|
Preamble
|
|
|
|
\theoremstyle{definition}
|
|
|
|
\newtheorem{example}{Example}
|
|
|
|
EndPreamble
|
2003-10-13 09:50:10 +00:00
|
|
|
End
|
1999-09-27 18:44:28 +00:00
|
|
|
|
2003-09-15 15:20:19 +00:00
|
|
|
|
1999-09-27 18:44:28 +00:00
|
|
|
Style Condition
|
2007-09-25 16:38:56 +00:00
|
|
|
LabelCounter condition
|
2007-10-24 09:40:15 +00:00
|
|
|
DependsOn ""
|
2007-09-25 16:38:56 +00:00
|
|
|
LabelString "Condition \arabic{condition}."
|
2003-05-02 08:55:48 +00:00
|
|
|
Preamble
|
|
|
|
\theoremstyle{definition}
|
|
|
|
\newtheorem{condition}{Condition}
|
|
|
|
EndPreamble
|
2003-10-13 09:50:10 +00:00
|
|
|
End
|
1999-09-27 18:44:28 +00:00
|
|
|
|
2003-09-15 15:20:19 +00:00
|
|
|
|
1999-09-27 18:44:28 +00:00
|
|
|
Style Problem
|
2007-09-25 16:38:56 +00:00
|
|
|
LabelCounter problem
|
2007-10-24 09:40:15 +00:00
|
|
|
DependsOn ""
|
2007-09-25 16:38:56 +00:00
|
|
|
LabelString "Problem \arabic{problem}."
|
2003-05-02 08:55:48 +00:00
|
|
|
Preamble
|
|
|
|
\theoremstyle{definition}
|
|
|
|
\newtheorem{problem}{Problem}
|
|
|
|
EndPreamble
|
2003-10-13 09:50:10 +00:00
|
|
|
End
|
1999-09-27 18:44:28 +00:00
|
|
|
|
2003-09-15 15:20:19 +00:00
|
|
|
|
1999-09-27 18:44:28 +00:00
|
|
|
Style Exercise
|
2007-09-25 16:38:56 +00:00
|
|
|
LabelCounter exercise
|
2007-10-24 09:40:15 +00:00
|
|
|
DependsOn ""
|
2007-09-25 16:38:56 +00:00
|
|
|
LabelString "Exercise \arabic{exercise}."
|
2003-05-02 08:55:48 +00:00
|
|
|
Preamble
|
|
|
|
\theoremstyle{definition}
|
|
|
|
\newtheorem{xca}{Exercise}
|
|
|
|
EndPreamble
|
2003-10-13 09:50:10 +00:00
|
|
|
End
|
1999-09-27 18:44:28 +00:00
|
|
|
|
2003-09-15 15:20:19 +00:00
|
|
|
|
1999-09-27 18:44:28 +00:00
|
|
|
Style Remark
|
2007-09-25 16:38:56 +00:00
|
|
|
LabelCounter remark
|
2007-10-24 09:40:15 +00:00
|
|
|
DependsOn ""
|
2007-09-25 16:38:56 +00:00
|
|
|
LabelString "Remark \arabic{remark}."
|
2003-05-02 08:55:48 +00:00
|
|
|
Preamble
|
|
|
|
\theoremstyle{remark}
|
|
|
|
\newtheorem{rem}{Remark}
|
|
|
|
EndPreamble
|
2003-10-13 09:50:10 +00:00
|
|
|
End
|
1999-09-27 18:44:28 +00:00
|
|
|
|
2003-09-15 15:20:19 +00:00
|
|
|
|
1999-09-27 18:44:28 +00:00
|
|
|
Style Claim
|
2007-09-25 16:38:56 +00:00
|
|
|
LabelCounter claim
|
2007-10-24 09:40:15 +00:00
|
|
|
DependsOn ""
|
2007-09-25 16:38:56 +00:00
|
|
|
LabelString "Claim \arabic{claim}."
|
2003-05-02 08:55:48 +00:00
|
|
|
Preamble
|
2003-10-13 09:50:10 +00:00
|
|
|
\theoremstyle{remark}
|
2003-05-02 08:55:48 +00:00
|
|
|
\newtheorem{claim}{Claim}
|
|
|
|
EndPreamble
|
2003-10-13 09:50:10 +00:00
|
|
|
End
|
1999-09-27 18:44:28 +00:00
|
|
|
|
2003-09-15 15:20:19 +00:00
|
|
|
|
1999-09-27 18:44:28 +00:00
|
|
|
Style Note
|
2007-09-25 16:38:56 +00:00
|
|
|
LabelCounter note
|
2007-10-24 09:40:15 +00:00
|
|
|
DependsOn ""
|
2007-09-25 16:38:56 +00:00
|
|
|
LabelString "Note \arabic{note}."
|
2003-05-02 08:55:48 +00:00
|
|
|
Preamble
|
2003-10-13 09:50:10 +00:00
|
|
|
\theoremstyle{remark}
|
2003-05-02 08:55:48 +00:00
|
|
|
\newtheorem{note}{Note}
|
|
|
|
EndPreamble
|
2003-10-13 09:50:10 +00:00
|
|
|
End
|
1999-09-27 18:44:28 +00:00
|
|
|
|
2003-09-15 15:20:19 +00:00
|
|
|
|
1999-09-27 18:44:28 +00:00
|
|
|
Style Notation
|
2007-09-25 16:38:56 +00:00
|
|
|
LabelCounter notation
|
2007-10-24 09:40:15 +00:00
|
|
|
DependsOn ""
|
2007-09-25 16:38:56 +00:00
|
|
|
LabelString "Notation \arabic{notation}."
|
2003-05-02 08:55:48 +00:00
|
|
|
Preamble
|
2003-10-13 09:50:10 +00:00
|
|
|
\theoremstyle{remark}
|
2003-05-02 08:55:48 +00:00
|
|
|
\newtheorem{notation}{Notation}
|
|
|
|
EndPreamble
|
2003-10-13 09:50:10 +00:00
|
|
|
End
|
1999-09-27 18:44:28 +00:00
|
|
|
|
2003-09-15 15:20:19 +00:00
|
|
|
|
1999-09-27 18:44:28 +00:00
|
|
|
Style Summary
|
2007-09-25 16:38:56 +00:00
|
|
|
LabelCounter summary
|
2007-10-24 09:40:15 +00:00
|
|
|
DependsOn ""
|
2007-09-25 16:38:56 +00:00
|
|
|
LabelString "Summary \arabic{summary}."
|
2003-05-02 08:55:48 +00:00
|
|
|
Preamble
|
2003-10-13 09:50:10 +00:00
|
|
|
\theoremstyle{remark}
|
2003-05-02 08:55:48 +00:00
|
|
|
\newtheorem{summary}{Summary}
|
|
|
|
EndPreamble
|
2003-10-13 09:50:10 +00:00
|
|
|
End
|
1999-09-27 18:44:28 +00:00
|
|
|
|
2003-09-15 15:20:19 +00:00
|
|
|
|
1999-09-27 18:44:28 +00:00
|
|
|
Style Acknowledgement
|
2007-09-25 16:38:56 +00:00
|
|
|
LabelCounter acknowledgement
|
2007-10-24 09:40:15 +00:00
|
|
|
DependsOn ""
|
2007-09-25 16:38:56 +00:00
|
|
|
LabelString "Acknowledgement \arabic{acknowledgement}."
|
2003-05-02 08:55:48 +00:00
|
|
|
Preamble
|
2003-10-13 09:50:10 +00:00
|
|
|
\theoremstyle{remark}
|
2003-05-02 08:55:48 +00:00
|
|
|
\newtheorem{acknowledgement}{Acknowledgement}
|
|
|
|
EndPreamble
|
2003-10-13 09:50:10 +00:00
|
|
|
End
|
1999-09-27 18:44:28 +00:00
|
|
|
|
2003-09-15 15:20:19 +00:00
|
|
|
|
2007-09-25 16:38:56 +00:00
|
|
|
Style Conclusion
|
|
|
|
LabelCounter conclusion
|
2007-10-24 09:40:15 +00:00
|
|
|
DependsOn ""
|
2007-09-25 16:38:56 +00:00
|
|
|
LabelString "Conclusion \arabic{conclusion}."
|
2003-05-02 08:55:48 +00:00
|
|
|
Preamble
|
2003-10-13 09:50:10 +00:00
|
|
|
\theoremstyle{remark}
|
2007-09-25 16:38:56 +00:00
|
|
|
\newtheorem{conclusion}{Conclusion}
|
2003-05-02 08:55:48 +00:00
|
|
|
EndPreamble
|
2003-10-13 09:50:10 +00:00
|
|
|
End
|
1999-09-27 18:44:28 +00:00
|
|
|
|
2003-09-15 15:20:19 +00:00
|
|
|
|
2007-09-25 16:38:56 +00:00
|
|
|
Style Assumption
|
|
|
|
LabelCounter assumption
|
2007-10-24 09:40:15 +00:00
|
|
|
DependsOn ""
|
2007-09-25 16:38:56 +00:00
|
|
|
LabelString "Assumption \arabic{assumption}."
|
2003-05-02 08:55:48 +00:00
|
|
|
Preamble
|
2007-09-25 16:38:56 +00:00
|
|
|
\theoremstyle{plain}
|
|
|
|
\newtheorem{assumption}{Assumption}
|
2003-05-02 08:55:48 +00:00
|
|
|
EndPreamble
|
2003-10-13 09:50:10 +00:00
|
|
|
End
|