mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-25 19:07:45 +00:00
b92ceba9a1
Remove the trimming operation on LabelString, LabelStringAppendix,
EndLabelString and LabelCounter. This trimming meant that quotes
strings were not preserved, which is wrong.
To preserve layouts, the Layout format has been updated to 64, so that
layout2layout can remove extra spaces on existing strings, which
ensures that behavior is unchanged for old layouts (courtesy of rgheck).
It is now possible to re-add spaces in label strings where it makes
sense.
Fixes bug #10723.
(cherry picked from commit 5c54557350
)
681 lines
16 KiB
Plaintext
681 lines
16 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 64
|
|
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
|
|
ToggleIndent Always
|
|
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
|
|
ToggleIndent Never
|
|
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
|
|
ToggleIndent Never
|
|
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
|
|
ToggleIndent Never
|
|
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
|
|
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
|
|
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
|