mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-21 21:06:23 +00:00
f1dd80f464
With these changes, equation numbers are shown properly on screen. When setting is default, we guess the side using these two rules * ams(art|book) and siamltex classes are leqno by default. This is signalled because the classes provide "leqno" (in amsdefs.inc). If there are other classes that do this in output, the relevant classes should be updated. * the language arabic_arabi also sets leqno by default. This is currently hardcoded for lack of a better idea. Besides, a few bugs are fixed: * use mathrm instead of mathbf for numbers metrics * set spacing between maths and labels in inches
229 lines
5.1 KiB
HTML
229 lines
5.1 KiB
HTML
# 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 Heck <rgheck@brown.edu>
|
|
|
|
# Including the maths stuff
|
|
Format 63
|
|
|
|
# By default AMS articles & books use leqno option (as SIAM journals).
|
|
Provides leqno 1
|
|
|
|
# the environments copied from the old amsart.layout are:
|
|
# - Bibliography
|
|
# - Title
|
|
# - Author
|
|
# - Date
|
|
# - Abstract (This is a title component for this style.)
|
|
# - Address
|
|
# - Email
|
|
# - Keywords
|
|
# - Subjectclass
|
|
|
|
|
|
### 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
|
|
LatexName title
|
|
ParSkip 0.4
|
|
ItemSep 0
|
|
TopSep 0
|
|
BottomSep 1
|
|
ParSep 1
|
|
Align 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
|
|
End
|
|
|
|
|
|
Style Author
|
|
Category FrontMatter
|
|
Margin Static
|
|
LatexType Command
|
|
InTitle 1
|
|
LatexName author
|
|
LabelSep xxx
|
|
ParSkip 0.4
|
|
TopSep 1.3
|
|
BottomSep 0.7
|
|
ParSep 0.7
|
|
Align Center
|
|
LabelType No_Label
|
|
Font
|
|
Size Large
|
|
Shape Smallcaps
|
|
EndFont
|
|
End
|
|
|
|
|
|
Style Date
|
|
Category FrontMatter
|
|
Margin Dynamic
|
|
LatexType Command
|
|
InTitle 1
|
|
LatexName date
|
|
LabelSep xxx
|
|
ParSkip 0.4
|
|
TopSep 0.9
|
|
BottomSep 0.5
|
|
ParSep 1
|
|
Align Center
|
|
LabelType Static
|
|
LabelString "Date:"
|
|
Font
|
|
Size Large
|
|
EndFont
|
|
LabelFont
|
|
Shape Italic
|
|
Size Large
|
|
EndFont
|
|
End
|
|
|
|
|
|
Style Abstract
|
|
Category FrontMatter
|
|
Margin First_Dynamic
|
|
LatexType Environment
|
|
InTitle 1
|
|
LatexName abstract
|
|
LeftMargin MMM
|
|
LabelIndent MMM
|
|
RightMargin MMM
|
|
ParIndent MM
|
|
TopSep 0.7
|
|
BottomSep 0.7
|
|
Align Block
|
|
LabelType Static
|
|
LabelString "Abstract."
|
|
LabelSep M
|
|
Font
|
|
Size Small
|
|
EndFont
|
|
LabelFont
|
|
Shape Smallcaps
|
|
EndFont
|
|
End
|
|
|
|
# Clear Address definition from lyxmacros
|
|
NoStyle Address
|
|
|
|
Style Address
|
|
Category FrontMatter
|
|
Margin Dynamic
|
|
LatexType Command
|
|
InTitle 1
|
|
LatexName address
|
|
ParSkip 0.4
|
|
BottomSep 1.5
|
|
ParSep 1.5
|
|
Align Left
|
|
AlignPossible Block, Left, Right, Center
|
|
LabelType Static
|
|
LabelString "Address:"
|
|
LabelSep M
|
|
LabelFont
|
|
Shape Italic
|
|
EndFont
|
|
End
|
|
|
|
|
|
Style Current_Address
|
|
CopyStyle Address
|
|
LatexName curraddr
|
|
LabelString "Current address:"
|
|
End
|
|
|
|
|
|
Style Email
|
|
CopyStyle Address
|
|
Margin First_Dynamic
|
|
LatexName email
|
|
LabelString "E-mail address:"
|
|
End
|
|
|
|
|
|
Style URL
|
|
CopyStyle Address
|
|
Margin First_Dynamic
|
|
LatexName urladdr
|
|
LabelString "URL:"
|
|
End
|
|
|
|
|
|
Style Keywords
|
|
CopyStyle Address
|
|
LatexName keywords
|
|
LabelString "Key words and phrases:"
|
|
End
|
|
|
|
|
|
Style Thanks
|
|
CopyStyle Address
|
|
LatexName thanks
|
|
LabelString "Thanks:"
|
|
End
|
|
|
|
|
|
Style Dedicatory
|
|
CopyStyle Address
|
|
LatexName dedicatory
|
|
LabelString "Dedication:"
|
|
End
|
|
|
|
|
|
Style Translator
|
|
CopyStyle Address
|
|
LatexName translator
|
|
LabelString "Translator:"
|
|
End
|
|
|
|
|
|
Style Subjectclass
|
|
CopyStyle Address
|
|
LatexName subjclass[2000]
|
|
LabelString "2000 Mathematics Subject Classification:"
|
|
End
|
|
|
|
|
|
Style Bibliography
|
|
Category BackMatter
|
|
Margin First_Dynamic
|
|
LatexType Bib_Environment
|
|
LatexName thebibliography
|
|
NextNoIndent 1
|
|
ToggleIndent Never
|
|
LeftMargin MM
|
|
ParSkip 0.4
|
|
ItemSep 0
|
|
TopSep 0.7
|
|
BottomSep 0.7
|
|
ParSep 0.5
|
|
Align Block
|
|
AlignPossible Block, Left
|
|
LabelType Bibliography
|
|
LabelString "References"
|
|
LabelBottomSep 0.7
|
|
Font
|
|
Size Small
|
|
EndFont
|
|
LabelFont
|
|
Size Normal
|
|
Shape Smallcaps
|
|
EndFont
|
|
End
|