mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-14 15:05:56 +00:00
04efe3c40a
* src/LaTeXFeatures.C (mustProvide): new method; returns true when isRequired is true and the feature is not provided by the textclass. (getPackages, getLyXSGMLEntities): use mustProvide when relevant. * src/bufferparams.C (getEngine): * src/buffer.C (validate): adapt to change below. * src/lyxtextclass.C (read): replace tags ProvidesNatbib, ProvidesMakeidx, ProvidesUrl and ProvidesAmsmath by a generic "Provides". (provides): take a string as argument. * lib/scripts/layout2layout.py (convert): convert "ProvidesXxx" tags to "Provides xxx". * lib/layouts/*: update to format 4. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17740 a592a061-630c-0410-9148-cb99ea01b6c8
663 lines
15 KiB
Plaintext
663 lines
15 KiB
Plaintext
#% Do not delete the line below; configure depends on this
|
|
# \DeclareLaTeXClass{article (European Geophysical Society) egs}
|
|
# egs (article) textclass definition file for LyX.
|
|
# Get egs.cls from EGS website under www.copernicus.org
|
|
# Author : Matthias Ettrich <ettrich@informatik.uni-tuebingen.de>
|
|
# Transposed by Pascal André <andre@via.ecp.fr>
|
|
# Heavily modifed and enhanced by several developers.
|
|
# Converted article -> egs Martin Vermeer
|
|
|
|
|
|
Format 4
|
|
Columns 2
|
|
Sides 1
|
|
PageStyle Plain
|
|
Provides natbib 1
|
|
|
|
|
|
Style Standard
|
|
Margin Static
|
|
LatexType Paragraph
|
|
LatexName dummy
|
|
ParIndent MM
|
|
ParSkip 0.4
|
|
Align Block
|
|
AlignPossible Block, Left, Right, Center
|
|
LabelType No_Label
|
|
End
|
|
|
|
|
|
Style Section
|
|
Margin Dynamic
|
|
LatexType Command
|
|
LatexName section
|
|
NextNoIndent 1
|
|
LabelSep xxx
|
|
ParSkip 0.4
|
|
TopSep 1.3
|
|
BottomSep 0.7
|
|
ParSep 0.7
|
|
Align Block
|
|
AlignPossible Block, Left
|
|
Font
|
|
Series Bold
|
|
EndFont
|
|
LabelFont
|
|
Series Bold
|
|
EndFont
|
|
End
|
|
|
|
|
|
Style Subsection
|
|
Margin Dynamic
|
|
LatexType Command
|
|
LatexName subsection
|
|
NextNoIndent 1
|
|
LabelSep xxx
|
|
ParSkip 0.4
|
|
TopSep 0.9
|
|
BottomSep 0.5
|
|
ParSep 0.5
|
|
Align Block
|
|
AlignPossible Block, Left
|
|
Font
|
|
Shape Up
|
|
EndFont
|
|
End
|
|
|
|
|
|
Style Paragraph
|
|
CopyStyle Subsection
|
|
LatexName paragraph
|
|
ParSkip 0.4
|
|
TopSep 0.4
|
|
BottomSep 0.4
|
|
Font
|
|
Series Bold
|
|
Size Normal
|
|
EndFont
|
|
LabelFont
|
|
Series Bold
|
|
Size Normal
|
|
EndFont
|
|
End
|
|
|
|
|
|
Style Subparagraph
|
|
CopyStyle Paragraph
|
|
LatexName subparagraph
|
|
NextNoIndent 0
|
|
LeftMargin MM
|
|
End
|
|
|
|
|
|
Style Quotation
|
|
Margin Static
|
|
LatexType Environment
|
|
LatexName quotation
|
|
NextNoIndent 1
|
|
LeftMargin MMM
|
|
RightMargin MMM
|
|
ParIndent MM
|
|
ParSkip 0
|
|
ItemSep 0
|
|
TopSep 0.5
|
|
BottomSep 0.5
|
|
ParSep 0
|
|
Align Block
|
|
AlignPossible Block, Left, Right, Center
|
|
End
|
|
|
|
|
|
Style Quote
|
|
Margin Static
|
|
LatexType Environment
|
|
LatexName quote
|
|
NextNoIndent 1
|
|
LeftMargin MMM
|
|
RightMargin MMM
|
|
TopSep 0.5
|
|
ParSep 0.5
|
|
BottomSep 0.5
|
|
Align Block
|
|
AlignPossible Block, Left, Right, Center
|
|
LabelType No_Label
|
|
End
|
|
|
|
|
|
Style List
|
|
Margin Manual
|
|
LatexType List_Environment
|
|
LatexName lyxlist
|
|
NextNoindent 1
|
|
LabelSep xxx
|
|
ParSkip 0.4
|
|
TopSep 0.7
|
|
BottomSep 0.7
|
|
ParSep 0.5
|
|
Align Block
|
|
AlignPossible Block, Left
|
|
LabelType Manual
|
|
LabelString "00.00.0000"
|
|
End
|
|
|
|
|
|
Style Enumerate
|
|
Margin Static
|
|
LatexType Item_Environment
|
|
LatexName enumerate
|
|
NextNoIndent 1
|
|
LeftMargin MMN
|
|
LabelSep xx
|
|
ParSkip 0.0
|
|
ItemSep 0.2
|
|
TopSep 0.7
|
|
BottomSep 0.7
|
|
ParSep 0.3
|
|
Align Block
|
|
AlignPossible Block, Left
|
|
LabelType Enumerate
|
|
End
|
|
|
|
|
|
Style Itemize
|
|
Margin Static
|
|
LatexType Item_Environment
|
|
LatexName itemize
|
|
NextNoIndent 1
|
|
LeftMargin MMN
|
|
LabelSep xx
|
|
ItemSep 0.2
|
|
TopSep 0.7
|
|
BottomSep 0.7
|
|
ParSep 0.3
|
|
Align Block
|
|
AlignPossible Block, Left
|
|
LabelType Itemize
|
|
LabelString "*"
|
|
End
|
|
|
|
|
|
Style Description
|
|
Margin First_Dynamic
|
|
LatexType Item_environment
|
|
LatexName description
|
|
NextNoIndent 1
|
|
LeftMargin MM
|
|
LabelSep xxx
|
|
ParSkip 0.4
|
|
ItemSep 0.2
|
|
TopSep 0.7
|
|
BottomSep 0.7
|
|
ParSep 0.3
|
|
Align Block
|
|
AlignPossible Block, Left
|
|
LabelType Manual
|
|
LabelString "MM"
|
|
LabelFont
|
|
Series Bold
|
|
EndFont
|
|
End
|
|
|
|
|
|
Style Verse
|
|
# LaTeX type is first dynamic because of LaTeX implementation.
|
|
# In LyX this does not make sense.
|
|
LatexType Environment
|
|
LatexName verse
|
|
Margin First_Dynamic
|
|
NextNoIndent 1
|
|
LeftMargin MMMM
|
|
LabelIndent MMMM
|
|
ParSkip 0.4
|
|
TopSep 0.7
|
|
BottomSep 0.7
|
|
ParSep 0.5
|
|
Align Block
|
|
AlignPossible Block, Left
|
|
LabelType No_Label
|
|
End
|
|
|
|
|
|
Style Right_Address
|
|
Margin Right_Address_Box
|
|
LatexType Command
|
|
LatexName lyxrightaddress
|
|
ParSkip 0.4
|
|
BottomSep 1.5
|
|
ParSep 1.5
|
|
Align Left
|
|
AlignPossible Left
|
|
End
|
|
|
|
|
|
Style Address
|
|
Margin Static
|
|
LatexType Command
|
|
LatexName lyxaddress
|
|
ParSkip 0.4
|
|
BottomSep 1.5
|
|
ParSep 1.5
|
|
Align Left
|
|
AlignPossible Block, Left, Right, Center
|
|
LabelType No_Label
|
|
End
|
|
|
|
|
|
Style Title
|
|
Margin Static
|
|
LatexType Command
|
|
LatexName title
|
|
NextNoIndent 1
|
|
ParSkip 0.4
|
|
TopSep 1.3
|
|
BottomSep 0.7
|
|
ParSep 0.7
|
|
Align Left
|
|
AlignPossible Block, Center, Left, Right, Center
|
|
LabelType No_Label
|
|
Fill_Top 1
|
|
Fill_Bottom 1
|
|
Font
|
|
Family Sans
|
|
Series Bold
|
|
Size Largest
|
|
EndFont
|
|
End
|
|
|
|
|
|
Style LaTeX_Title
|
|
Margin Static
|
|
LatexType Command
|
|
LatexName title
|
|
NextNoIndent 1
|
|
ParSkip 0.4
|
|
ItemSep 0
|
|
TopSep 0
|
|
BottomSep 0
|
|
ParSep 0
|
|
Align Center
|
|
AlignPossible Center
|
|
LabelType No_Label
|
|
Font
|
|
Family Sans
|
|
Series Bold
|
|
Size Largest
|
|
EndFont
|
|
End
|
|
|
|
|
|
Style Author
|
|
Margin Static
|
|
LatexType Command
|
|
LatexName author
|
|
NextNoIndent 1
|
|
LeftMargin Author:xx
|
|
LabelSep xxx
|
|
ParSkip 0.4
|
|
TopSep 1.3
|
|
BottomSep 0.7
|
|
ParSep 0.7
|
|
Align Left
|
|
AlignPossible Left
|
|
LabelType Static
|
|
LabelString "Author:"
|
|
LabelFont
|
|
Series Bold
|
|
Shape Italic
|
|
Color red
|
|
EndFont
|
|
End
|
|
|
|
|
|
Style Affil
|
|
Margin Static
|
|
LatexType Command
|
|
LatexName affil
|
|
NextNoIndent 1
|
|
LeftMargin Affiliation:x
|
|
LabelSep xxx
|
|
ParSkip 0.4
|
|
TopSep 1.3
|
|
BottomSep 0.7
|
|
ParSep 0.7
|
|
Align Left
|
|
AlignPossible Left
|
|
LabelType Static
|
|
LabelString "Affilation:"
|
|
LabelFont
|
|
Series Bold
|
|
Shape Italic
|
|
Color red
|
|
EndFont
|
|
End
|
|
|
|
|
|
Style Journal
|
|
Margin Static
|
|
LatexType Command
|
|
LatexName journal
|
|
NextNoIndent 1
|
|
LeftMargin Journal:xx
|
|
LabelSep xxx
|
|
ParSkip 0.4
|
|
TopSep 1.3
|
|
BottomSep 0.7
|
|
ParSep 0.7
|
|
Align Left
|
|
AlignPossible Left
|
|
LabelType Static
|
|
LabelString "Journal:"
|
|
LabelFont
|
|
Series Bold
|
|
Shape Italic
|
|
Color red
|
|
EndFont
|
|
End
|
|
|
|
|
|
Style msnumber
|
|
Margin Static
|
|
LatexType Command
|
|
LatexName msnumber
|
|
NextNoIndent 1
|
|
LabelSep xxx
|
|
LeftMargin MS_number:xx
|
|
LabelSep xxx
|
|
ParSkip 0.4
|
|
TopSep 1.3
|
|
BottomSep 0.7
|
|
ParSep 0.7
|
|
Align Left
|
|
AlignPossible Left
|
|
LabelType Static
|
|
LabelString "MS_number:"
|
|
LabelFont
|
|
Series Bold
|
|
Shape Italic
|
|
Color red
|
|
EndFont
|
|
End
|
|
|
|
|
|
|
|
Style FirstAuthor
|
|
Margin Static
|
|
LatexType Command
|
|
LatexName firstauthor
|
|
NextNoIndent 1
|
|
LabelSep xxx
|
|
LeftMargin 1st_author_surname:xx
|
|
ParSkip 0.4
|
|
TopSep 1.3
|
|
BottomSep 0.7
|
|
ParSep 0.7
|
|
Align Left
|
|
AlignPossible Left
|
|
LabelType Static
|
|
LabelString "1st_author_surname:"
|
|
LabelFont
|
|
Series Bold
|
|
Shape Italic
|
|
Color red
|
|
EndFont
|
|
End
|
|
|
|
|
|
Style Received
|
|
Margin Static
|
|
LatexType Command
|
|
LatexName received
|
|
NextNoIndent 1
|
|
LabelSep xxx
|
|
LeftMargin Received:xx
|
|
ParSkip 0.4
|
|
TopSep 1.3
|
|
BottomSep 0.7
|
|
ParSep 0.7
|
|
Align Left
|
|
AlignPossible Left
|
|
LabelType Static
|
|
LabelString "Received:"
|
|
LabelFont
|
|
Series Bold
|
|
Shape Italic
|
|
Color red
|
|
EndFont
|
|
End
|
|
|
|
|
|
Style Accepted
|
|
Margin Static
|
|
LatexType Command
|
|
LatexName accepted
|
|
NextNoIndent 1
|
|
LabelSep xxx
|
|
LeftMargin Accepted:xx
|
|
ParSkip 0.4
|
|
TopSep 1.3
|
|
BottomSep 0.7
|
|
ParSep 0.7
|
|
Align Left
|
|
AlignPossible Left
|
|
LabelType Static
|
|
LabelString "Accepted:"
|
|
LabelFont
|
|
Series Bold
|
|
Shape Italic
|
|
Color red
|
|
EndFont
|
|
End
|
|
|
|
|
|
Style Offsets
|
|
Margin Static
|
|
LatexType Command
|
|
LatexName offsets
|
|
NextNoIndent 1
|
|
LabelSep xxx
|
|
LeftMargin Reprint_reqs_To:x
|
|
ParSkip 0.4
|
|
TopSep 1.3
|
|
BottomSep 0.7
|
|
ParSep 0.7
|
|
Align Left
|
|
AlignPossible Left
|
|
LabelType Static
|
|
LabelString "reprint_reqs_to:"
|
|
LabelFont
|
|
Series Bold
|
|
Shape Italic
|
|
Color red
|
|
EndFont
|
|
End
|
|
|
|
|
|
Style Date
|
|
Margin Dynamic
|
|
LatexType Command
|
|
LatexName date
|
|
NextNoIndent 1
|
|
LabelSep xxx
|
|
ParSkip 0.4
|
|
TopSep 0.9
|
|
BottomSep 0.5
|
|
ParSep 0.5
|
|
Align Left
|
|
AlignPossible Left
|
|
LabelType No_Label
|
|
End
|
|
|
|
|
|
Style Abstract
|
|
Margin First_Dynamic
|
|
LatexType Environment
|
|
LatexName abstract
|
|
NextNoIndent 0
|
|
ParIndent MM
|
|
LabelSep x
|
|
ItemSep 0
|
|
TopSep 0.7
|
|
BottomSep 0.7
|
|
ParSep 0
|
|
Align Block
|
|
AlignPossible Block, Left
|
|
LabelType Static
|
|
LabelString "Abstract."
|
|
LabelFont
|
|
Series Bold
|
|
EndFont
|
|
End
|
|
|
|
|
|
Style Acknowledgements
|
|
Margin First_Dynamic
|
|
LatexType Environment
|
|
LatexName acknowledgements
|
|
NextNoIndent 0
|
|
ParIndent MM
|
|
LabelSep x
|
|
ItemSep 0
|
|
TopSep 0.7
|
|
BottomSep 0.7
|
|
ParSep 0
|
|
Align Block
|
|
AlignPossible Block, Left
|
|
LabelType Static
|
|
LabelString "Acknowledgements."
|
|
Font
|
|
Size Small
|
|
EndFont
|
|
LabelFont
|
|
Shape Italic
|
|
Size Small
|
|
EndFont
|
|
End
|
|
|
|
|
|
Style Acknowledgement
|
|
Margin First_Dynamic
|
|
LatexType Environment
|
|
LatexName acknowledgement
|
|
NextNoIndent 0
|
|
ParIndent MM
|
|
LabelSep x
|
|
ItemSep 0
|
|
TopSep 0.7
|
|
BottomSep 0.7
|
|
ParSep 0
|
|
Align Block
|
|
AlignPossible Block, Left
|
|
LabelType Static
|
|
LabelString "Acknowledgement."
|
|
Font
|
|
Size Small
|
|
EndFont
|
|
LabelFont
|
|
Shape Italic
|
|
Size Small
|
|
EndFont
|
|
End
|
|
|
|
|
|
Style Bibliography
|
|
Margin First_Dynamic
|
|
LatexType Bib_Environment
|
|
LatexName thebibliography
|
|
NextNoIndent 1
|
|
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
|
|
LabelFont
|
|
Series Bold
|
|
EndFont
|
|
End
|
|
|
|
|
|
|
|
|
|
Style Section*
|
|
Margin Static
|
|
LatexType Command
|
|
LatexName section*
|
|
NextNoIndent 1
|
|
LabelSep xxx
|
|
ParSkip 0.4
|
|
TopSep 1.3
|
|
BottomSep 0.7
|
|
ParSep 0.7
|
|
Align Block
|
|
AlignPossible Block, Left, Right, Center
|
|
LabelType No_Label
|
|
Font
|
|
Series Bold
|
|
# Size Larger
|
|
EndFont
|
|
End
|
|
|
|
|
|
Style Subsection*
|
|
Margin Static
|
|
LatexType Command
|
|
LatexName subsection*
|
|
NextNoIndent 1
|
|
LabelSep xxx
|
|
ParSkip 0.4
|
|
TopSep 0.9
|
|
BottomSep 0.5
|
|
ParSep 0.5
|
|
Align Block
|
|
AlignPossible Block, Left, Right, Center
|
|
LabelType No_Label
|
|
End
|
|
|
|
|
|
Style LaTeX
|
|
Margin Static
|
|
LatexType Paragraph
|
|
LatexName dummy
|
|
NewLine 0
|
|
ParIndent MM
|
|
ParSkip 0.4
|
|
ParSep 0.5
|
|
Align Block
|
|
AlignPossible Block, Left, Right, Center
|
|
LabelType No_Label
|
|
FreeSpacing 1
|
|
Font
|
|
Color red
|
|
EndFont
|
|
End
|
|
|
|
|
|
Style LyX-Code
|
|
Margin Static
|
|
LatexType Environment
|
|
LatexName lyxcode
|
|
NextNoIndent 1
|
|
LeftMargin MMM
|
|
RightMargin MMM
|
|
TopSep 0.5
|
|
BottomSep 0.5
|
|
Align Left
|
|
AlignPossible Block, Left, Right, Center
|
|
LabelType No_Label
|
|
FreeSpacing 1
|
|
Font
|
|
Family Typewriter
|
|
EndFont
|
|
End
|
|
|
|
|
|
Input stdfloats.inc
|
|
Input numarticle.inc
|
|
Input stdcounters.inc
|