mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 18:08:10 +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
)
229 lines
3.6 KiB
Plaintext
229 lines
3.6 KiB
Plaintext
#% Do not delete the line below; configure depends on this
|
|
# \DeclareLaTeXClass[aa]{Astronomy & Astrophysics (V. 4, Obsolete)}
|
|
# \DeclareCategory{Obsolete}
|
|
#
|
|
# Author: Peter Sütterlin <pit@uni-sw.gwdg.de>
|
|
|
|
# This is for the old Springer layout of A&A (aa.cls version 4.x)
|
|
# If you still have this, please upgrade to version 5 (see Additional.lyx)
|
|
#
|
|
# If you want to keep the layout for old papers I'd suggest to rename
|
|
# the old style file to aa-old and change the second line in this file to
|
|
#
|
|
# \DeclareLaTeXClass[aa-old]{Astronomy & Astrophysics (V. 4, Obsolete)}
|
|
#
|
|
# and reconfigure LyX (after running texhash, of course).
|
|
|
|
|
|
Format 64
|
|
Columns 2
|
|
Sides 2
|
|
SecNumDepth 3
|
|
TocDepth 0
|
|
PageStyle Plain
|
|
|
|
|
|
DefaultFont
|
|
Family Roman
|
|
Series Medium
|
|
Shape Up
|
|
Size Normal
|
|
Color None
|
|
EndFont
|
|
|
|
|
|
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
|
|
|
|
|
|
# I want to keep the entries in a logical order.
|
|
# Therefore I'll define the entries first, then fill them
|
|
Style Itemize
|
|
End
|
|
|
|
Style Enumerate
|
|
End
|
|
|
|
Style Description
|
|
End
|
|
|
|
Style List
|
|
End
|
|
|
|
|
|
Style LaTeX
|
|
End
|
|
|
|
Style Section
|
|
TocLevel 1
|
|
End
|
|
|
|
Style Subsection
|
|
TocLevel 2
|
|
End
|
|
|
|
Style Subsubsection
|
|
TocLevel 3
|
|
End
|
|
|
|
Style Title
|
|
End
|
|
|
|
Style Subtitle
|
|
End
|
|
|
|
Style Author
|
|
End
|
|
|
|
Style Address
|
|
End
|
|
|
|
Style Email
|
|
End
|
|
|
|
Style Offprint
|
|
End
|
|
|
|
Style Thesaurus
|
|
End
|
|
|
|
Style Date
|
|
End
|
|
|
|
Style Abstract
|
|
End
|
|
|
|
Style Acknowledgement
|
|
End
|
|
|
|
Style Bibliography
|
|
End
|
|
|
|
# OK, now we have a more or less consistent Ordering. Now fill the
|
|
# definitions. First, the standard includes
|
|
|
|
Input stdinsets.inc
|
|
Input stdlists.inc
|
|
Input stdlayouts.inc
|
|
Input stdsections.inc
|
|
Input stdtitle.inc
|
|
Input stdstruct.inc
|
|
Input stdfloats.inc
|
|
Input stdcounters.inc
|
|
|
|
NoStyle Quotation
|
|
NoStyle Quote
|
|
NoStyle Verse
|
|
NoStyle Chapter
|
|
NoCounter chapter
|
|
NoStyle Paragraph
|
|
NoCounter paragraph
|
|
NoStyle Subparagraph
|
|
NoCounter subparagraph
|
|
NoStyle Part
|
|
NoCounter part
|
|
|
|
|
|
Input aapaper.inc
|
|
|
|
|
|
Style Section
|
|
TopSep 2.0
|
|
BottomSep 1.3
|
|
Font
|
|
Size Normal
|
|
EndFont
|
|
TocLevel 1
|
|
End
|
|
|
|
|
|
Style Subsection
|
|
TopSep 1.7
|
|
BottomSep 1.1
|
|
Font
|
|
Series Medium
|
|
Size Normal
|
|
Shape Italic
|
|
EndFont
|
|
TocLevel 2
|
|
End
|
|
|
|
|
|
Style Subsubsection
|
|
TopSep 1.7
|
|
BottomSep 1.1
|
|
Font
|
|
Series Medium
|
|
Size Normal
|
|
EndFont
|
|
TocLevel 3
|
|
End
|
|
|
|
|
|
Style Title
|
|
TopSep 2
|
|
BottomSep 1.3
|
|
Align Left
|
|
AlignPossible Left
|
|
Font
|
|
Series Bold
|
|
EndFont
|
|
End
|
|
|
|
|
|
Style Author
|
|
Align Left
|
|
AlignPossible Left
|
|
LabelType No_Label
|
|
Font
|
|
Size Normal
|
|
Series Bold
|
|
EndFont
|
|
End
|
|
|
|
|
|
Style Date
|
|
LabelSep ""
|
|
TopSep 1.2
|
|
Align Left
|
|
AlignPossible Left
|
|
Font
|
|
Size Small
|
|
EndFont
|
|
End
|
|
|
|
|
|
Style Abstract
|
|
LeftMargin ""
|
|
RightMargin ""
|
|
ParIndent ""
|
|
TopSep 1.4
|
|
BottomSep 0.7
|
|
LabelType Above
|
|
Font
|
|
Size Normal
|
|
EndFont
|
|
LabelFont
|
|
Series Bold
|
|
Size Normal
|
|
EndFont
|
|
End
|
|
|
|
|
|
Style Bibliography
|
|
Align Left
|
|
AlignPossible Left
|
|
LabelFont
|
|
Series Bold
|
|
EndFont
|
|
End
|