mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-15 01:41:43 +00:00
6b49b6b129
This makes the defaults of Inset::inheritFont() and Inset::resetFontEdit() compatible. There is no user visible change except for the Chunk inset which does not produce invalid LaTeX after editing operations anymore. This is the safe version for 2.1.0, for later there are still open questions: - All insets with ResetsFont true should be audited: Is this really needed, or do they show similar editing problems as the Chunk inset? - Does inheritFont() need to be customizable in the layout file as well? - Is resetFontEdit() != !inheritFont() needed at all? I did not use change tracking for the docs, since I updated all existing translations.
676 lines
15 KiB
Plaintext
676 lines
15 KiB
Plaintext
#% Do not delete the line below; configure depends on this
|
|
# \DeclareLaTeXClass{European Geophysical Society (EGS)}
|
|
# \DeclareCategory{Articles}
|
|
# 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 49
|
|
Columns 2
|
|
Sides 1
|
|
PageStyle Plain
|
|
Provides natbib 1
|
|
|
|
|
|
Style Standard
|
|
Category MainText
|
|
Margin Static
|
|
LatexType Paragraph
|
|
LatexName dummy
|
|
ParIndent MM
|
|
ParSkip 0.4
|
|
Align Block
|
|
AlignPossible Block, Left, Right, Center
|
|
LabelType No_Label
|
|
End
|
|
|
|
|
|
Style Section
|
|
Category Sectioning
|
|
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
|
|
TocLevel 1
|
|
End
|
|
|
|
|
|
Style Subsection
|
|
Category Sectioning
|
|
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
|
|
TocLevel 2
|
|
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
|
|
TocLevel 4
|
|
End
|
|
|
|
|
|
Style Subparagraph
|
|
CopyStyle Paragraph
|
|
LatexName subparagraph
|
|
NextNoIndent 0
|
|
LeftMargin MM
|
|
TocLevel 5
|
|
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
|
|
Category List
|
|
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
|
|
RefPrefix enu
|
|
Argument item:1
|
|
LabelString "Custom Item|s"
|
|
Tooltip "A customized item string"
|
|
EndArgument
|
|
End
|
|
|
|
|
|
Style Itemize
|
|
Category List
|
|
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
|
|
Argument item:1
|
|
LabelString "Custom Item|s"
|
|
Tooltip "A customized item string"
|
|
EndArgument
|
|
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
|
|
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
|
|
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
|
|
Category FrontMatter
|
|
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
|
|
Font
|
|
Family Sans
|
|
Series Bold
|
|
Size Largest
|
|
EndFont
|
|
HTMLTitle true
|
|
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
|
|
LabelType No_Label
|
|
Font
|
|
Family Sans
|
|
Series Bold
|
|
Size Largest
|
|
EndFont
|
|
HTMLTitle true
|
|
End
|
|
|
|
|
|
Style Author
|
|
Category FrontMatter
|
|
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
|
|
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
|
|
LabelType Static
|
|
LabelString "Affiliation:"
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
LabelType No_Label
|
|
End
|
|
|
|
|
|
Style Abstract
|
|
Category FrontMatter
|
|
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
|
|
Category BackMatter
|
|
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
|
|
Category BackMatter
|
|
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 stdinsets.inc
|
|
Input stdfloats.inc
|
|
Input numarticle.inc
|
|
Input stdcounters.inc
|
|
Input stdrefprefix.inc
|