* lib/layouts/ams*.layout:

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

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@20488 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jürgen Spitzmüller 2007-09-25 13:54:37 +00:00
parent be7696ea4e
commit 39e392728f
8 changed files with 292 additions and 549 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 4 Format 4
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 4 Format 4
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 4 Format 4
Columns 1 Columns 1
@ -31,8 +32,6 @@ 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
@ -41,11 +40,11 @@ EndPreamble
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
@ -55,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 4 Format 4
@ -33,8 +34,6 @@ 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
@ -46,7 +45,6 @@ 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
@ -72,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 4 Format 4
@ -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 4 Format 4
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 4 Format 4
# 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 4 Format 4
Preamble
\theoremstyle{plain}
\newtheorem{thm}{Theorem}[section]
EndPreamble
Counter Counter
Name theorem Name theorem
Within section
End End
@ -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
@ -198,6 +184,16 @@ Style 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
@ -210,6 +206,17 @@ 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
@ -243,6 +250,17 @@ 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
@ -345,15 +363,14 @@ Style Exercise
LabelString "Exercise @Section@.\arabic{theorem}." 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
Style Exercise* Style Exercise*
CopyStyle Definition* CopyStyle Definition*
LatexName xca LatexName xca*
LabelString "Exercise." LabelString "Exercise."
Preamble Preamble
\theoremstyle{definition} \theoremstyle{definition}
@ -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
@ -470,6 +487,17 @@ 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
@ -492,17 +520,6 @@ Style Acknowledgement*
End End
Style Case
CopyStyle Remark
LatexName case
LabelString "Case @Section@.\arabic{theorem}."
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
@ -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