mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-07 12:32:26 +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.
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{Articles}
|
|
#
|
|
# 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 49
|
|
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
|