# 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>
+# Tinkered with Sep. '07 by Paul Rubin <rubin@msu.edu>
+# Modularized Jan '08 by Richard Kimberly Heck <rikiheck@lyx.org>
# Including the maths stuff
-Input amsmaths.inc
-
-# The AMS documentclasses use the package amsmath and provide the
-# functionality of makeidx.sty.
-ProvidesAmsmath 1
-ProvidesMakeidx 1
+Format 90
+# By default AMS articles & books use leqno option (as SIAM journals).
+Provides leqno 1
# the environments copied from the old amsart.layout are:
-# - Proof
# - Bibliography
# - Title
# - Author
# - Subjectclass
-Style Proof
- Margin First_Dynamic
- LatexType Environment
- LatexName proof
- NextNoIndent 1
- LabelSep xx
- ParIndent MMM
- ParSkip 0.4
- ItemSep 0.2
- TopSep 0.7
- BottomSep 0.7
- ParSep 0.3
- Align Block
- AlignPossible Block, Left
- LabelType Static
- LabelString "Proof."
- EndLabelType Box
- Font
- Shape Up
- Size Normal
- EndFont
- LabelFont
- Shape Italic
- EndFont
- # We don't want the preamble from Theorem
- Preamble
- EndPreamble
-End
-
-
### Now the title stuff. We copy do not use stdstruct.inc to keep
### things in the right order
Style Title
+ Category FrontMatter
Margin Static
LatexType Command
InTitle 1
BottomSep 1
ParSep 1
Align Center
- AlignPossible Center
LabelType No_Label
+ Argument 1
+ LabelString "Short Title|S"
+ Tooltip "Short title which appears in the running headers"
+ InsertCotext 1
+ EndArgument
Font
Shape Smallcaps
Series Bold
Size Larger
EndFont
+ HTMLTitle true
+ DocBookTag title
+ DocBookTagType paragraph
+ DocBookInInfo maybe
End
Style Author
+ Category FrontMatter
Margin Static
LatexType Command
InTitle 1
BottomSep 0.7
ParSep 0.7
Align Center
- AlignPossible Center
LabelType No_Label
Font
Size Large
Shape Smallcaps
EndFont
+ DocBookTag personname
+ DocBookTagType paragraph
+ DocBookWrapperTag author
+ DocBookWrapperMergeWithPrevious true
+ DocBookInInfo always
End
Style Date
+ Category FrontMatter
Margin Dynamic
LatexType Command
InTitle 1
BottomSep 0.5
ParSep 1
Align Center
- AlignPossible Center
LabelType Static
- LabelString "Date: "
+ LabelString "Date:"
Font
Size Large
EndFont
Shape Italic
Size Large
EndFont
+ DocBookTag date
+ DocBookTagType paragraph
+ DocBookInInfo always
End
Style Abstract
+ Category FrontMatter
Margin First_Dynamic
LatexType Environment
InTitle 1
TopSep 0.7
BottomSep 0.7
Align Block
- AlignPossible Block
LabelType Static
LabelString "Abstract."
LabelSep M
LabelFont
Shape Smallcaps
EndFont
+ DocBookTag para
+ DocBookWrapperTag abstract
+ DocBookWrapperMergeWithPrevious true
+ DocBookInInfo always
End
+# Clear Address definition from lyxmacros
+NoStyle Address
Style Address
+ Category FrontMatter
Margin Dynamic
LatexType Command
InTitle 1
Align Left
AlignPossible Block, Left, Right, Center
LabelType Static
- LabelString "Address: "
+ LabelString "Address:"
+ LabelSep M
LabelFont
Shape Italic
EndFont
+ DocBookTag address
+ DocBookTagType paragraph
+ DocBookWrapperTag author
+ DocBookWrapperMergeWithPrevious true
+ DocBookInInfo always
End
Style Current_Address
CopyStyle Address
LatexName curraddr
- LabelString "Current address: "
+ LabelString "Current address:"
+ DocBookTag address
+ DocBookTagType paragraph
+ DocBookInInfo always
+ DocBookAttr role='current'
End
CopyStyle Address
Margin First_Dynamic
LatexName email
- LabelString "E-mail address: "
+ LabelString "E-mail address:"
+ DocBookTag email
+ DocBookTagType paragraph
+ DocBookWrapperTag author
+ DocBookWrapperMergeWithPrevious true
+ DocBookInInfo always
End
CopyStyle Address
Margin First_Dynamic
LatexName urladdr
- LabelString "URL: "
+ LabelString "URL:"
+ DocBookTag uri
+ DocBookTagType paragraph
+ DocBookWrapperTag author
+ DocBookWrapperMergeWithPrevious true
+ DocBookInInfo always
End
Style Keywords
CopyStyle Address
LatexName keywords
- LabelString "Key words and phrases: "
+ LabelString "Key words and phrases:"
+ DocBookTag keyword
+ DocBookTagType paragraph
+ DocBookWrapperTag keywordset
+ DocBookWrapperMergeWithPrevious true
+ DocBookInInfo always
End
Style Thanks
CopyStyle Address
LatexName thanks
- LabelString "Thanks: "
+ LabelString "Thanks:"
+ DocBookTag personname
+ DocBookTagType paragraph
+ DocBookWrapperTag othercredit
+ DocBookWrapperMergeWithPrevious true
+ DocBookInInfo always
End
Style Dedicatory
CopyStyle Address
LatexName dedicatory
- LabelString "Dedication: "
+ LabelString "Dedication:"
+ DocBookTag para
+ DocBookWrapperTag dedication
+ DocBookWrapperMergeWithPrevious true
+ DocBookInInfo never
End
Style Translator
CopyStyle Address
LatexName translator
- LabelString "Translator: "
+ LabelString "Translator:"
+ DocBookTag personname
+ DocBookTagType paragraph
+ DocBookWrapperTag othercredit
+ DocBookWrapperAttr role='translator'
+ DocBookWrapperMergeWithPrevious true
+ DocBookInInfo always
End
Style Subjectclass
CopyStyle Address
- LatexName subjclass
- LabelString "1991 Mathematics Subject Classification: "
+ LatexName subjclass[2000]
+ LabelString "2000 Mathematics Subject Classification:"
+ DocBookItemTag subjectterm
+ DocBookItemTagType inline
+ DocBookTag subject
+ DocBookTagType paragraph
+ DocBookWrapperTag subjectset
+ DocBookWrapperMergeWithPrevious true
+ DocBookInInfo always
End
Style Bibliography
+ Category BackMatter
Margin First_Dynamic
LatexType Bib_Environment
LatexName thebibliography
NextNoIndent 1
+ ToggleIndent Never
LeftMargin MM
ParSkip 0.4
ItemSep 0
Size Normal
Shape Smallcaps
EndFont
+ TocLevel 1
+ IsTocCaption 0
+ Argument listpreamble:1
+ LabelString "Bib preamble"
+ MenuString "Bibliography Preamble"
+ Tooltip "LaTeX code to be inserted before the first bibliography item"
+ PassThru 1
+ Font
+ Family typewriter
+ Color latex
+ EndFont
+ EndArgument
End