* lib/layouts/ams*.layout:

* lib/layouts/ams*.inc:
	- updates from Paul A. Rubin.

Maybe some tweaks for 1.6 are still needed (e.g. counters).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20496 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jürgen Spitzmüller 2007-09-25 16:38:56 +00:00
parent 6787303a26
commit f367964247
8 changed files with 312 additions and 571 deletions

View File

@ -7,6 +7,7 @@
# The "unnumbered" version has all results, unnumbered # The "unnumbered" version has all results, unnumbered
# Probably broken by Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr> # Probably broken by Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
# modified and modularized by Emmanuel GUREGHIAN <gureghia@boston.bertin.fr> # modified and modularized by Emmanuel GUREGHIAN <gureghia@boston.bertin.fr>
# Tinkered with Sep. '07 by Paul Rubin <rubin@msu.edu>
Format 5 Format 5
Input amsart.layout Input amsart.layout
@ -14,141 +15,10 @@ Input amsart.layout
# Change the definitions of the theorem-like environments to get unnumbered # Change the definitions of the theorem-like environments to get unnumbered
# results # results
Input amsmaths-plain.inc
# Use a simpler preamble. # Use a simpler preamble.
Preamble Preamble
\usepackage{amsmath,amsthm} \usepackage{amsmath,amsthm}
\usepackage{amsfonts} \usepackage{amsfonts}
EndPreamble EndPreamble
Input amsmaths-plain.inc
Style Theorem
LabelString "Theorem."
End
Style Corollary
LabelType Static
LabelString "Corollary."
End
Style Lemma
LabelType Static
LabelString "Lemma."
End
Style Proposition
LabelType Static
LabelString "Proposition."
End
Style Conjecture
LabelType Static
LabelString "Conjecture."
End
Style Criterion
LabelType Static
LabelString "Criterion."
End
Style Algorithm
LabelType Static
LabelString "Algorithm."
End
Style Fact
LabelType Static
LabelString "Fact."
End
Style Axiom
LabelType Static
LabelString "Axiom."
End
Style Definition
LabelType Static
LabelString "Definition."
End
Style Example
LabelType Static
LabelString "Example."
End
Style Condition
LabelType Static
LabelString "Condition."
End
Style Problem
LabelType Static
LabelString "Problem."
End
Style Exercise
LabelType Static
LabelString "Exercise."
End
Style Remark
LabelType Static
LabelString "Remark."
End
Style Claim
LabelType Static
LabelString "Claim."
End
Style Note
LabelType Static
LabelString "Note."
End
Style Notation
LabelType Static
LabelString "Notation."
End
Style Summary
LabelType Static
LabelString "Summary."
End
Style Acknowledgement
LabelType Static
LabelString "Acknowledgement."
End
Style Case
LabelType Static
LabelString "Case."
End
Style Conclusion
LabelType Static
LabelString "Conclusion."
End

View File

@ -11,6 +11,7 @@
# #
# Probably broken by Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr> # Probably broken by Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
# modified and modularized by Emmanuel GUREGHIAN <gureghia@boston.bertin.fr> # modified and modularized by Emmanuel GUREGHIAN <gureghia@boston.bertin.fr>
# Tinkered with Sep. '07 by Paul Rubin <rubin@msu.edu>
Format 5 Format 5
Input amsart.layout Input amsart.layout
@ -20,247 +21,3 @@ Input amsart.layout
Input amsmaths-seq.inc Input amsmaths-seq.inc
# Use a simpler preamble.
Preamble
EndPreamble
# but more counters
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 case
End
Counter
Name conclusion
End
Style Theorem
LabelCounter theorem
LabelString "Theorem \arabic{theorem}."
End
Style Corollary
LabelCounter corollary
LabelString "Corollary \arabic{corollary}."
End
Style Lemma
LabelCounter lemma
LabelString "Lemma \arabic{lemma}."
End
Style Proposition
LabelCounter proposition
LabelString "Proposition \arabic{proposition}."
End
Style Conjecture
LabelCounter conjecture
LabelString "Conjecture \arabic{conjecture}."
End
Style Criterion
LabelCounter criterion
LabelString "Criterion \arabic{criterion}."
End
Style Algorithm
LabelCounter algorithm
LabelString "Algorithm \arabic{algorithm}."
End
Style Fact
LabelCounter fact
LabelString "Fact \arabic{fact}."
End
Style Axiom
LabelCounter axiom
LabelString "Axiom \arabic{axiom}."
End
Style Definition
LabelCounter definition
LabelString "Definition \arabic{definition}."
End
Style Example
LabelCounter example
LabelString "Example \arabic{example}."
End
Style Condition
LabelCounter condition
LabelString "Condition \arabic{condition}."
End
Style Problem
LabelCounter problem
LabelString "Problem \arabic{problem}."
End
Style Exercise
LabelCounter exercise
LabelString "Exercise \arabic{exercise}."
End
Style Remark
LabelCounter remark
LabelString "Remark \arabic{remark}."
End
Style Claim
LabelCounter claim
LabelString "Claim \arabic{claim}."
End
Style Note
LabelCounter note
LabelString "Note \arabic{note}."
End
Style Notation
LabelCounter notation
LabelString "Notation \arabic{notation}."
End
Style Summary
LabelCounter summary
LabelString "Summary \arabic{summary}."
End
Style Acknowledgement
LabelCounter acknowledgement
LabelString "Acknowledgement \arabic{acknowledgement}."
End
Style Case
LabelCounter case
LabelString "Case \arabic{case}."
End
Style Conclusion
LabelCounter conclusion
LabelString "Conclusion \arabic{conclusion}."
End

View File

@ -6,6 +6,7 @@
# Author : David L. Johnson <dlj0@lehigh.edu> # Author : David L. Johnson <dlj0@lehigh.edu>
# Probably broken by Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr> # Probably broken by Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
# modified and modularized by Emmanuel GUREGHIAN <gureghia@boston.bertin.fr> # modified and modularized by Emmanuel GUREGHIAN <gureghia@boston.bertin.fr>
# Tinkered with Sep. '07 by Paul Rubin <rubin@msu.edu>
Format 5 Format 5
Columns 1 Columns 1
@ -31,22 +32,19 @@ End
Preamble Preamble
\theoremstyle{plain}
\newtheorem{thm}{Theorem}[section]
\numberwithin{equation}{section} %% Comment out for sequentially-numbered \numberwithin{equation}{section} %% Comment out for sequentially-numbered
\numberwithin{figure}{section} %% Comment out for sequentially-numbered \numberwithin{figure}{section} %% Comment out for sequentially-numbered
EndPreamble EndPreamble
Input stdinsets.inc
Input stdsections.inc Input stdsections.inc
Input stdstarsections.inc Input stdstarsections.inc
Input lyxmacros.inc Input lyxmacros.inc
Input amsdefs.inc
Input stdlayouts.inc Input stdlayouts.inc
Input stdlists.inc Input stdlists.inc
Input stdfloats.inc Input stdfloats.inc
Input stdcounters.inc Input stdcounters.inc
Input amsdefs.inc
NoStyle Chapter NoStyle Chapter
NoStyle Paragraph NoStyle Paragraph
@ -56,12 +54,11 @@ NoStyle Chapter*
#NoStyle Subparagraph* #NoStyle Subparagraph*
NoStyle Verse # Although mathematicians tend to be poets at times, NoStyle Verse # Although mathematicians tend to be poets at times,
# we don't need this. # we don't need this.
Style Section Style Section
Align Center Align Center
AlignPossible Block, Center, Left
Font Font
Series Medium Series Medium
Shape Smallcaps Shape Smallcaps

View File

@ -6,6 +6,7 @@
# Author : David L. Johnson <dlj0@lehigh.edu> # Author : David L. Johnson <dlj0@lehigh.edu>
# Probably broken by Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr> # Probably broken by Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
# modified and modularized by Emmanuel GUREGHIAN <gureghia@boston.bertin.fr> # modified and modularized by Emmanuel GUREGHIAN <gureghia@boston.bertin.fr>
# Tinkered with Sep. '07 by Paul Rubin <rubin@msu.edu>
Format 5 Format 5
@ -33,21 +34,17 @@ End
Preamble Preamble
\numberwithin{section}{chapter} \numberwithin{section}{chapter}
\theoremstyle{plain}
\newtheorem{thm}{Theorem}[section]
\numberwithin{equation}{section} %% Comment out for sequentially-numbered \numberwithin{equation}{section} %% Comment out for sequentially-numbered
\numberwithin{figure}{section} %% Comment out for sequentially-numbered \numberwithin{figure}{section} %% Comment out for sequentially-numbered
EndPreamble EndPreamble
Input stdinsets.inc
Input stdsections.inc Input stdsections.inc
Input numreport.inc Input numreport.inc
Style Section Style Section
Align Center Align Center
AlignPossible Block, Center, Left
Font Font
Series Medium Series Medium
Shape Smallcaps Shape Smallcaps
@ -73,24 +70,17 @@ End
Input stdstarsections.inc Input stdstarsections.inc
Input lyxmacros.inc Input lyxmacros.inc
NoStyle Address
Input amsdefs.inc
Input stdlayouts.inc Input stdlayouts.inc
NoStyle Verse
NoStyle Abstract
Input stdlists.inc Input stdlists.inc
Input stdfloats.inc Input stdfloats.inc
Input stdcounters.inc Input stdcounters.inc
Input amsdefs.inc
# Unwanted styles from the includes
NoStyle Address
NoStyle Verse
NoStyle Abstract
# Chapter is _not_ prepended # Chapter is _not_ prepended
Style Section Style Section

View File

@ -1,6 +1,7 @@
# Author : David L. Johnson <dlj0@lehigh.edu> # Author : David L. Johnson <dlj0@lehigh.edu>
# Probably broken by Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr> # Probably broken by Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
# modified and modularized by Emmanuel GUREGHIAN <gureghia@boston.bertin.fr> # modified and modularized by Emmanuel GUREGHIAN <gureghia@boston.bertin.fr>
# Tinkered with Sep. '07 by Paul Rubin <rubin@msu.edu>
# Including the maths stuff # Including the maths stuff
Format 5 Format 5
@ -68,7 +69,6 @@ Style Title
BottomSep 1 BottomSep 1
ParSep 1 ParSep 1
Align Center Align Center
AlignPossible Center
LabelType No_Label LabelType No_Label
OptionalArgs 1 OptionalArgs 1
Font Font
@ -90,7 +90,6 @@ Style Author
BottomSep 0.7 BottomSep 0.7
ParSep 0.7 ParSep 0.7
Align Center Align Center
AlignPossible Center
LabelType No_Label LabelType No_Label
Font Font
Size Large Size Large
@ -110,7 +109,6 @@ Style Date
BottomSep 0.5 BottomSep 0.5
ParSep 1 ParSep 1
Align Center Align Center
AlignPossible Center
LabelType Static LabelType Static
LabelString "Date:" LabelString "Date:"
Font Font
@ -135,7 +133,6 @@ Style Abstract
TopSep 0.7 TopSep 0.7
BottomSep 0.7 BottomSep 0.7
Align Block Align Block
AlignPossible Block
LabelType Static LabelType Static
LabelString "Abstract." LabelString "Abstract."
LabelSep M LabelSep M
@ -222,8 +219,8 @@ End
Style Subjectclass Style Subjectclass
CopyStyle Address CopyStyle Address
LatexName subjclass LatexName subjclass[2000]
LabelString "1991 Mathematics Subject Classification:" LabelString "2000 Mathematics Subject Classification:"
End End

View File

@ -1,9 +1,12 @@
# Author : David L. Johnson <dlj0@lehigh.edu> # Author : David L. Johnson <dlj0@lehigh.edu>
# Probably broken by Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr> # Probably broken by Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
# modified and modularized by Emmanuel GUREGHIAN <gureghia@boston.bertin.fr> # modified and modularized by Emmanuel GUREGHIAN <gureghia@boston.bertin.fr>
# Tinkered with Sep. '07 by Paul Rubin <rubin@msu.edu>
# These are only the plain (unnumbered) theorem styles environments # These are only the plain (unnumbered) theorem styles environments.
# Both starred and unstarred versions are included for compatibility
# with the other AMS classes.
# The environments defined are: # The environments defined are:
# - Theorem # - Theorem
# - Corollary # - Corollary
@ -25,226 +28,140 @@
# - Notation # - Notation
# - Summary # - Summary
# - Acknowledgement # - Acknowledgement
# - Case
# - Conclusion # - Conclusion
# - Assumption
# - Case (regular only -- defined as an enumeration)
Format 5 Format 5
Style Theorem Style Theorem
LatexName thm* LatexName thm*
LabelString "Theorem." LabelString "Theorem."
Preamble
\theoremstyle{plain}
\newtheorem*{thm*}{Theorem}
EndPreamble
End End
Style Corollary Style Corollary
LatexName cor* LatexName cor*
LabelString "Corollary." LabelString "Corollary."
Preamble
\theoremstyle{plain}
\newtheorem*{cor*}{Corollary}
EndPreamble
End End
Style Lemma Style Lemma
LatexName lem* LatexName lem*
LabelString "Lemma." LabelString "Lemma."
Preamble
\theoremstyle{plain}
\newtheorem*{lem*}{Lemma}
EndPreamble
End End
Style Proposition Style Proposition
LatexName prop* LatexName prop*
LabelString "Proposition." LabelString "Proposition."
Preamble
\theoremstyle{plain}
\newtheorem*{prop*}{Proposition}
EndPreamble
End End
Style Conjecture Style Conjecture
LatexName conjecture* LatexName conjecture*
LabelString "Conjecture." LabelString "Conjecture."
Preamble
\theoremstyle{plain}
\newtheorem*{conjecture*}{Conjecture}
EndPreamble
End End
Style Criterion Style Criterion
LatexName criterion* LatexName criterion*
LabelString "Criterion." LabelString "Criterion."
Preamble
\theoremstyle{plain}
\newtheorem*{criterion*}{Criterion}
EndPreamble
End End
Style Algorithm Style Algorithm
LatexName algorithm* LatexName algorithm*
LabelString "Algorithm #." LabelString "Algorithm."
Preamble
\theoremstyle{plain}
\newtheorem*{algorithm*}{Algorithm}
EndPreamble
End End
Style Fact Style Fact
LatexName fact* LatexName fact*
LabelString "Fact." LabelString "Fact."
Preamble
\theoremstyle{plain}
\newtheorem*{fact*}{Fact}
EndPreamble
End End
Style Axiom Style Axiom
LatexName ax* LatexName ax*
LabelString "Axiom." LabelString "Axiom."
Preamble
\theoremstyle{plain}
\newtheorem*{ax*}{Axiom}
EndPreamble
End End
Style Definition Style Definition
LatexName defn* LatexName defn*
LabelString "Definition." LabelString "Definition."
Preamble
\theoremstyle{definition}
\newtheorem*{defn*}{Definition}
EndPreamble
End End
Style Example Style Example
LatexName example* LatexName example*
LabelString "Example." LabelString "Example."
Preamble
\theoremstyle{definition}
\newtheorem*{example*}{Example}
EndPreamble
End End
Style Condition Style Condition
LatexName condition* LatexName condition*
LabelString "Condition." LabelString "Condition."
Preamble
\theoremstyle{definition}
\newtheorem*{condition*}{Condition}
EndPreamble
End End
Style Problem Style Problem
LatexName problem* LatexName problem*
LabelString "Problem." LabelString "Problem."
Preamble
\theoremstyle{definition}
\newtheorem*{problem*}{Problem}
EndPreamble
End End
Style Exercise Style Exercise
LatexName xca* LatexName xca*
LabelString "Exercise." LabelString "Exercise."
Preamble
\theoremstyle{definition}
\newtheorem*{xca*}{Exercise}
EndPreamble
End End
Style Remark Style Remark
LatexName rem* LatexName rem*
LabelString "Remark." LabelString "Remark."
Preamble
\theoremstyle{remark}
\newtheorem*{rem*}{Remark}
EndPreamble
End End
Style Claim Style Claim
LatexName claim* LatexName claim*
LabelString "Claim." LabelString "Claim."
Preamble
\theoremstyle{remark}
\newtheorem*{claim*}{Claim}
EndPreamble
End End
Style Note Style Note
LatexName note* LatexName note*
LabelString "Note." LabelString "Note."
Preamble
\theoremstyle{remark}
\newtheorem*{note*}{Note}
EndPreamble
End End
Style Notation Style Notation
LatexName notation* LatexName notation*
LabelString "Notation." LabelString "Notation."
Preamble
\theoremstyle{remark}
\newtheorem*{notation*}{Notation}
EndPreamble
End End
Style Summary Style Summary
LatexName summary* LatexName summary*
LabelString "Summary." LabelString "Summary."
Preamble
\theoremstyle{remark}
\newtheorem*{summary*}{Summary}
EndPreamble
End End
Style Acknowledgement Style Acknowledgement
LatexName acknowledgement* LatexName acknowledgement*
LabelString "Acknowledgement." LabelString "Acknowledgement."
Preamble
\theoremstyle{remark}
\newtheorem*{acknowledgement*}{Acknowledgement}
EndPreamble
End
Style Case
LatexName case*
LabelString "Case."
Preamble
\theoremstyle{remark}
\newtheorem*{case*}{Case}
EndPreamble
End End
Style Conclusion Style Conclusion
LatexName conclusion* LatexName conclusion*
LabelString "Conclusion." LabelString "Conclusion."
Preamble End
\theoremstyle{remark}
\newtheorem*{conclusion*}{Conclusion}
EndPreamble Style Assumption
LatexName assumption*
LabelString "Assumption."
End End

View File

@ -1,6 +1,7 @@
# Author : David L. Johnson <dlj0@lehigh.edu> # Author : David L. Johnson <dlj0@lehigh.edu>
# Probably broken by Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr> # Probably broken by Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
# modified and modularized by Emmanuel GUREGHIAN <gureghia@boston.bertin.fr> # modified and modularized by Emmanuel GUREGHIAN <gureghia@boston.bertin.fr>
# Tinkered with Sep. '07 by Paul Rubin <rubin@msu.edu>
# These are only the theorems styles environnements # These are only the theorems styles environnements
# The environnements defined are : # The environnements defined are :
@ -24,12 +25,131 @@
# - Notation # - Notation
# - Summary # - Summary
# - Acknowledgement # - Acknowledgement
# - Case
# - Conclusion # - Conclusion
# - Assumption
# - Case (regular only -- defined as an enumeration)
Format 5 Format 5
# 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
Style Theorem Style Theorem
LabelCounter thm
LabelString "Theorem \arabic{thm}."
Preamble Preamble
\theoremstyle{plain} \theoremstyle{plain}
\newtheorem{thm}{Theorem} \newtheorem{thm}{Theorem}
@ -38,6 +158,8 @@ End
Style Corollary Style Corollary
LabelCounter corollary
LabelString "Corollary \arabic{corollary}."
Preamble Preamble
\theoremstyle{plain} \theoremstyle{plain}
\newtheorem{cor}{Corollary} \newtheorem{cor}{Corollary}
@ -46,6 +168,8 @@ End
Style Lemma Style Lemma
LabelCounter lemma
LabelString "Lemma \arabic{lemma}."
Preamble Preamble
\theoremstyle{plain} \theoremstyle{plain}
\newtheorem{lem}{Lemma} \newtheorem{lem}{Lemma}
@ -54,6 +178,8 @@ End
Style Proposition Style Proposition
LabelCounter proposition
LabelString "Proposition \arabic{proposition}."
Preamble Preamble
\theoremstyle{plain} \theoremstyle{plain}
\newtheorem{prop}{Proposition} \newtheorem{prop}{Proposition}
@ -62,6 +188,8 @@ End
Style Conjecture Style Conjecture
LabelCounter conjecture
LabelString "Conjecture \arabic{conjecture}."
Preamble Preamble
\theoremstyle{plain} \theoremstyle{plain}
\newtheorem{conjecture}{Conjecture} \newtheorem{conjecture}{Conjecture}
@ -70,6 +198,8 @@ End
Style Criterion Style Criterion
LabelCounter criterion
LabelString "Criterion \arabic{criterion}."
Preamble Preamble
\theoremstyle{plain} \theoremstyle{plain}
\newtheorem{criterion}{Criterion} \newtheorem{criterion}{Criterion}
@ -78,6 +208,8 @@ End
Style Algorithm Style Algorithm
LabelCounter algorithm
LabelString "Algorithm \arabic{algorithm}."
Preamble Preamble
\theoremstyle{plain} \theoremstyle{plain}
\newtheorem{algorithm}{Algorithm} \newtheorem{algorithm}{Algorithm}
@ -86,6 +218,8 @@ End
Style Fact Style Fact
LabelCounter fact
LabelString "Fact \arabic{fact}."
Preamble Preamble
\theoremstyle{plain} \theoremstyle{plain}
\newtheorem{fact}{Fact} \newtheorem{fact}{Fact}
@ -94,6 +228,8 @@ End
Style Axiom Style Axiom
LabelCounter axiom
LabelString "Axiom \arabic{axiom}."
Preamble Preamble
\theoremstyle{plain} \theoremstyle{plain}
\newtheorem{ax}{Axiom} \newtheorem{ax}{Axiom}
@ -102,6 +238,8 @@ End
Style Definition Style Definition
LabelCounter definition
LabelString "Definition \arabic{definition}."
Preamble Preamble
\theoremstyle{definition} \theoremstyle{definition}
\newtheorem{defn}{Definition} \newtheorem{defn}{Definition}
@ -110,6 +248,8 @@ End
Style Example Style Example
LabelCounter example
LabelString "Example \arabic{example}."
Preamble Preamble
\theoremstyle{definition} \theoremstyle{definition}
\newtheorem{example}{Example} \newtheorem{example}{Example}
@ -118,6 +258,8 @@ End
Style Condition Style Condition
LabelCounter condition
LabelString "Condition \arabic{condition}."
Preamble Preamble
\theoremstyle{definition} \theoremstyle{definition}
\newtheorem{condition}{Condition} \newtheorem{condition}{Condition}
@ -126,6 +268,8 @@ End
Style Problem Style Problem
LabelCounter problem
LabelString "Problem \arabic{problem}."
Preamble Preamble
\theoremstyle{definition} \theoremstyle{definition}
\newtheorem{problem}{Problem} \newtheorem{problem}{Problem}
@ -134,6 +278,8 @@ End
Style Exercise Style Exercise
LabelCounter exercise
LabelString "Exercise \arabic{exercise}."
Preamble Preamble
\theoremstyle{definition} \theoremstyle{definition}
\newtheorem{xca}{Exercise} \newtheorem{xca}{Exercise}
@ -142,6 +288,8 @@ End
Style Remark Style Remark
LabelCounter remark
LabelString "Remark \arabic{remark}."
Preamble Preamble
\theoremstyle{remark} \theoremstyle{remark}
\newtheorem{rem}{Remark} \newtheorem{rem}{Remark}
@ -150,6 +298,8 @@ End
Style Claim Style Claim
LabelCounter claim
LabelString "Claim \arabic{claim}."
Preamble Preamble
\theoremstyle{remark} \theoremstyle{remark}
\newtheorem{claim}{Claim} \newtheorem{claim}{Claim}
@ -158,6 +308,8 @@ End
Style Note Style Note
LabelCounter note
LabelString "Note \arabic{note}."
Preamble Preamble
\theoremstyle{remark} \theoremstyle{remark}
\newtheorem{note}{Note} \newtheorem{note}{Note}
@ -166,6 +318,8 @@ End
Style Notation Style Notation
LabelCounter notation
LabelString "Notation \arabic{notation}."
Preamble Preamble
\theoremstyle{remark} \theoremstyle{remark}
\newtheorem{notation}{Notation} \newtheorem{notation}{Notation}
@ -174,6 +328,8 @@ End
Style Summary Style Summary
LabelCounter summary
LabelString "Summary \arabic{summary}."
Preamble Preamble
\theoremstyle{remark} \theoremstyle{remark}
\newtheorem{summary}{Summary} \newtheorem{summary}{Summary}
@ -182,6 +338,8 @@ End
Style Acknowledgement Style Acknowledgement
LabelCounter acknowledgement
LabelString "Acknowledgement \arabic{acknowledgement}."
Preamble Preamble
\theoremstyle{remark} \theoremstyle{remark}
\newtheorem{acknowledgement}{Acknowledgement} \newtheorem{acknowledgement}{Acknowledgement}
@ -189,15 +347,9 @@ Style Acknowledgement
End End
Style Case
Preamble
\theoremstyle{remark}
\newtheorem{case}{Case}
EndPreamble
End
Style Conclusion Style Conclusion
LabelCounter conclusion
LabelString "Conclusion \arabic{conclusion}."
Preamble Preamble
\theoremstyle{remark} \theoremstyle{remark}
\newtheorem{conclusion}{Conclusion} \newtheorem{conclusion}{Conclusion}
@ -205,5 +357,11 @@ Style Conclusion
End End
Style Assumption
LabelCounter assumption
LabelString "Assumption \arabic{assumption}."
Preamble
\theoremstyle{plain}
\newtheorem{assumption}{Assumption}
EndPreamble
End

View File

@ -5,57 +5,39 @@
# numbered environments (figures as well) containing the section number. # numbered environments (figures as well) containing the section number.
# (Themorem (1.1), Corollary (1.2) Theorem (1.3), etc. # (Themorem (1.1), Corollary (1.2) Theorem (1.3), etc.
# These are only the theorems styles environnements # These are only the theorems styles environnements
# Tinkered with Sep. '07 by Paul Rubin <rubin@msu.edu>
# The environnements defined (regular and starred) are :
# The environnements defined are :
# - Theorem # - Theorem
# - Theorem*
# - Corollary # - Corollary
# - Corollary*
# - Lemma # - Lemma
# - Lemma*
# - Proposition # - Proposition
# - Proposition*
# - Conjecture # - Conjecture
# - Conjecture*
# - Criterion # - Criterion
# - Algorithm # - Algorithm
# - Axiom # - Axiom
# - Definition # - Definition
# - Definition*
# - Example # - Example
# - Example*
# - Condition # - Condition
# - Condition*
# - Problem # - Problem
# - Problem*
# - Exercise # - Exercise
# - Remark # - Remark
# - Remark*
# - Note # - Note
# - Note*
# - Notation # - Notation
# - Notation*
# - Claim # - Claim
# - Claim*
# - Summary # - Summary
# - Acknowledgement # - Acknowledgement
# - Acknowledgement*
# - Case
# - Conclusion # - Conclusion
# - Conclusion*
# - Fact # - Fact
# - Fact* # - Assumption
# - Case (regular only -- defined as an enumeration)
Format 5 Format 5
Preamble
\theoremstyle{plain}
\newtheorem{thm}{Theorem}[section]
EndPreamble
Counter Counter
Name theorem Name theorem
Within section
End End
@ -76,7 +58,7 @@ Style Theorem
AlignPossible Block, Left AlignPossible Block, Left
LabelType Counter LabelType Counter
LabelCounter theorem LabelCounter theorem
LabelString "Theorem \thetheorem." LabelString "Theorem @Section@.\arabic{theorem}."
Font Font
Shape Italic Shape Italic
Size Normal Size Normal
@ -85,6 +67,10 @@ Style Theorem
Shape Up Shape Up
Series Bold Series Bold
EndFont EndFont
Preamble
\theoremstyle{plain}
\newtheorem{thm}{Theorem}[section]
EndPreamble
End End
@ -103,7 +89,7 @@ End
Style Corollary Style Corollary
CopyStyle Theorem CopyStyle Theorem
LatexName cor LatexName cor
LabelString "Corollary \thetheorem." LabelString "Corollary @Section@.\arabic{theorem}."
Preamble Preamble
\theoremstyle{plain} \theoremstyle{plain}
\newtheorem{cor}[thm]{Corollary} \newtheorem{cor}[thm]{Corollary}
@ -125,7 +111,7 @@ End
Style Lemma Style Lemma
CopyStyle Theorem CopyStyle Theorem
LatexName lem LatexName lem
LabelString "Lemma \thetheorem." LabelString "Lemma @Section@.\arabic{theorem}."
Preamble Preamble
\theoremstyle{plain} \theoremstyle{plain}
\newtheorem{lem}[thm]{Lemma} \newtheorem{lem}[thm]{Lemma}
@ -147,7 +133,7 @@ End
Style Proposition Style Proposition
CopyStyle Theorem CopyStyle Theorem
LatexName prop LatexName prop
LabelString "Proposition \thetheorem." LabelString "Proposition @Section@.\arabic{theorem}."
Preamble Preamble
\theoremstyle{plain} \theoremstyle{plain}
\newtheorem{prop}[thm]{Proposition} \newtheorem{prop}[thm]{Proposition}
@ -169,7 +155,7 @@ End
Style Conjecture Style Conjecture
CopyStyle Theorem CopyStyle Theorem
LatexName conjecture LatexName conjecture
LabelString "Conjecture \thetheorem." LabelString "Conjecture @Section@.\arabic{theorem}."
Preamble Preamble
\theoremstyle{plain} \theoremstyle{plain}
\newtheorem{conjecture}[thm]{Conjecture} \newtheorem{conjecture}[thm]{Conjecture}
@ -191,18 +177,28 @@ End
Style Criterion Style Criterion
CopyStyle Theorem CopyStyle Theorem
LatexName criterion LatexName criterion
LabelString "Criterion \thetheorem." LabelString "Criterion @Section@.\arabic{theorem}."
Preamble Preamble
\theoremstyle{plain} \theoremstyle{plain}
\newtheorem{criterion}[thm]{Criterion} \newtheorem{criterion}[thm]{Criterion}
EndPreamble EndPreamble
End End
Style Criterion*
CopyStyle Theorem*
LatexName criterion*
LabelString "Criterion."
Preamble
\theoremstyle{plain}
\newtheorem*{criterion*}{Criterion}
EndPreamble
End
Style Algorithm Style Algorithm
CopyStyle Theorem CopyStyle Theorem
LatexName algorithm LatexName algorithm
LabelString "Algorithm \thetheorem." LabelString "Algorithm @Section@.\arabic{theorem}."
Preamble Preamble
\theoremstyle{plain} \theoremstyle{plain}
\newtheorem{algorithm}[thm]{Algorithm} \newtheorem{algorithm}[thm]{Algorithm}
@ -210,10 +206,21 @@ Style Algorithm
End End
Style Algorithm*
CopyStyle Theorem*
LatexName algorithm*
LabelString "Algorithm."
Preamble
\theoremstyle{plain}
\newtheorem*{algorithm*}{Algorithm}
EndPreamble
End
Style Fact Style Fact
CopyStyle Theorem CopyStyle Theorem
LatexName fact LatexName fact
LabelString "Fact \thetheorem." LabelString "Fact @Section@.\arabic{theorem}."
Preamble Preamble
\theoremstyle{plain} \theoremstyle{plain}
\newtheorem{fact}[thm]{Fact} \newtheorem{fact}[thm]{Fact}
@ -235,7 +242,7 @@ End
Style Axiom Style Axiom
CopyStyle Theorem CopyStyle Theorem
LatexName ax LatexName ax
LabelString "Axiom \thetheorem." LabelString "Axiom @Section@.\arabic{theorem}."
Preamble Preamble
\theoremstyle{plain} \theoremstyle{plain}
\newtheorem{ax}[thm]{Axiom} \newtheorem{ax}[thm]{Axiom}
@ -243,10 +250,21 @@ Style Axiom
End End
Style Axiom*
CopyStyle Theorem*
LatexName ax*
LabelString "Axiom."
Preamble
\theoremstyle{plain}
\newtheorem*{ax*}{Axiom}
EndPreamble
End
Style Definition Style Definition
CopyStyle Theorem CopyStyle Theorem
LatexName defn LatexName defn
LabelString "Definition \thetheorem." LabelString "Definition @Section@.\arabic{theorem}."
Font Font
Shape Up Shape Up
EndFont EndFont
@ -276,7 +294,7 @@ End
Style Example Style Example
CopyStyle Definition CopyStyle Definition
LatexName example LatexName example
LabelString "Example \thetheorem." LabelString "Example @Section@.\arabic{theorem}."
Preamble Preamble
\theoremstyle{definition} \theoremstyle{definition}
\newtheorem{example}[thm]{Example} \newtheorem{example}[thm]{Example}
@ -298,7 +316,7 @@ End
Style Condition Style Condition
CopyStyle Definition CopyStyle Definition
LatexName condition LatexName condition
LabelString "Condition \thetheorem." LabelString "Condition @Section@.\arabic{theorem}."
Preamble Preamble
\theoremstyle{definition} \theoremstyle{definition}
\newtheorem{condition}[thm]{Condition} \newtheorem{condition}[thm]{Condition}
@ -320,7 +338,7 @@ End
Style Problem Style Problem
CopyStyle Definition CopyStyle Definition
LatexName problem LatexName problem
LabelString "Problem \thetheorem." LabelString "Problem @Section@.\arabic{theorem}."
Preamble Preamble
\theoremstyle{definition} \theoremstyle{definition}
\newtheorem{problem}[thm]{Problem} \newtheorem{problem}[thm]{Problem}
@ -342,11 +360,10 @@ End
Style Exercise Style Exercise
CopyStyle Definition CopyStyle Definition
LatexName xca LatexName xca
LabelString "Exercise \thetheorem." LabelString "Exercise @Section@.\arabic{theorem}."
Preamble Preamble
\theoremstyle{definition} \theoremstyle{definition}
%%Delete [section] for sequential numbering \newtheorem{xca}[thm]{Exercise}
\newtheorem{xca}[section]{Exercise}
EndPreamble EndPreamble
End End
@ -365,7 +382,7 @@ End
Style Remark Style Remark
CopyStyle Theorem CopyStyle Theorem
LatexName rem LatexName rem
LabelString "Remark \thetheorem." LabelString "Remark @Section@.\arabic{theorem}."
Font Font
Shape Up Shape Up
Size Normal Size Normal
@ -396,7 +413,7 @@ End
Style Claim Style Claim
CopyStyle Remark CopyStyle Remark
LatexName claim LatexName claim
LabelString "Claim \thetheorem." LabelString "Claim @Section@.\arabic{theorem}."
Preamble Preamble
\theoremstyle{remark} \theoremstyle{remark}
\newtheorem{claim}[thm]{Claim} \newtheorem{claim}[thm]{Claim}
@ -418,7 +435,7 @@ End
Style Note Style Note
CopyStyle Remark CopyStyle Remark
LatexName note LatexName note
LabelString "Note \thetheorem." LabelString "Note @Section@.\arabic{theorem}."
Preamble Preamble
\theoremstyle{remark} \theoremstyle{remark}
\newtheorem{note}[thm]{Note} \newtheorem{note}[thm]{Note}
@ -440,7 +457,7 @@ End
Style Notation Style Notation
CopyStyle Remark CopyStyle Remark
LatexName notation LatexName notation
LabelString "Notation \thetheorem." LabelString "Notation @Section@.\arabic{theorem}."
Preamble Preamble
\theoremstyle{remark} \theoremstyle{remark}
\newtheorem{notation}[thm]{Notation} \newtheorem{notation}[thm]{Notation}
@ -454,7 +471,7 @@ Style Notation*
LabelString "Notation." LabelString "Notation."
Preamble Preamble
\theoremstyle{remark} \theoremstyle{remark}
\newtheorem*{notation*}[thm]{Notation} \newtheorem*{notation*}{Notation}
EndPreamble EndPreamble
End End
@ -462,7 +479,7 @@ End
Style Summary Style Summary
CopyStyle Remark CopyStyle Remark
LatexName summary LatexName summary
LabelString "Summary \thetheorem." LabelString "Summary @Section@.\arabic{theorem}."
Preamble Preamble
\theoremstyle{remark} \theoremstyle{remark}
\newtheorem{summary}[thm]{Summary} \newtheorem{summary}[thm]{Summary}
@ -470,10 +487,21 @@ Style Summary
End End
Style Summary*
CopyStyle Remark*
LatexName summary*
LabelString "Summary."
Preamble
\theoremstyle{remark}
\newtheorem*{summary*}{Summary}
EndPreamble
End
Style Acknowledgement Style Acknowledgement
CopyStyle Remark CopyStyle Remark
LatexName acknowledgement LatexName acknowledgement
LabelString "Acknowledgement \thetheorem." LabelString "Acknowledgement @Section@.\arabic{theorem}."
Preamble Preamble
\theoremstyle{remark} \theoremstyle{remark}
\newtheorem{acknowledgement}[thm]{Acknowledgement} \newtheorem{acknowledgement}[thm]{Acknowledgement}
@ -492,21 +520,10 @@ Style Acknowledgement*
End 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 Style Conclusion
CopyStyle Remark CopyStyle Remark
LatexName conclusion LatexName conclusion
LabelString "Conclusion \thetheorem." LabelString "Conclusion @Section@.\arabic{theorem}."
Preamble Preamble
\theoremstyle{remark} \theoremstyle{remark}
\newtheorem{conclusion}[thm]{Conclusion} \newtheorem{conclusion}[thm]{Conclusion}
@ -523,3 +540,41 @@ Style Conclusion*
\newtheorem*{conclusion*}{Conclusion} \newtheorem*{conclusion*}{Conclusion}
EndPreamble EndPreamble
End End
Style Assumption
CopyStyle Theorem
LatexName assumption
LabelString "Assumption @Section@.\arabic{theorem}."
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