mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-15 23:49:37 +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.
396 lines
5.8 KiB
Plaintext
396 lines
5.8 KiB
Plaintext
#% Do not delete the line below; configure depends on this
|
|
# \DeclareLaTeXClass[aa,answers.sty]{Astronomy & Astrophysics}
|
|
# \DeclareCategory{Articles}
|
|
#
|
|
# Author: Peter Sütterlin <pit@uni-sw.gwdg.de>
|
|
# Author: Jürgen Spitzmüller <spitz@lyx.org>
|
|
# Author: Uwe Stöhr <uwestoehr@web.de>
|
|
#
|
|
# 2001-05-17 take out include of stdlayouts; merge aapaper.inc
|
|
# remove LaTeX style, rename to aa
|
|
# 2001-05-31 Adapt to aa.cls version 5.01:
|
|
# take out thesaurus, email -> mail
|
|
# change layout of title
|
|
# abstract is command
|
|
# 2008-06-09 Implement \inst and \email as char styles,
|
|
# implement paragraph style keywords
|
|
# 2008-10-26 Updated for aa.cls version 6.1
|
|
# 2013-05-26 Updated for aa.cls version 8.2
|
|
|
|
|
|
Format 49
|
|
Columns 2
|
|
Sides 2
|
|
SecNumDepth 3
|
|
TocDepth 0
|
|
PageStyle Plain
|
|
|
|
# Pre-loaded packages
|
|
Provides inputenc 1
|
|
Provides natbib 1
|
|
|
|
ClassOptions
|
|
Other latin9
|
|
End
|
|
|
|
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
|
|
|
|
Input stdinsets.inc
|
|
Input stdlists.inc
|
|
Input stdsections.inc
|
|
Input stdtitle.inc
|
|
Input stdstruct.inc
|
|
Input stdfloats.inc
|
|
Input stdcounters.inc
|
|
|
|
NoStyle Chapter
|
|
NoCounter chapter
|
|
NoStyle Paragraph
|
|
NoCounter paragraph
|
|
NoStyle Subparagraph
|
|
NoCounter subparagraph
|
|
NoStyle Part
|
|
NoCounter part
|
|
NoStyle Abstract
|
|
NoStyle Bibliography
|
|
|
|
|
|
Style Subtitle
|
|
Margin Static
|
|
LatexType Command
|
|
InTitle 1
|
|
LatexName subtitle
|
|
Category FrontMatter
|
|
NextNoIndent 1
|
|
ParSkip 0.4
|
|
ItemSep 0
|
|
TopSep 1.3
|
|
BottomSep 1.3
|
|
ParSep 1
|
|
Align Center
|
|
LabelType No_Label
|
|
Font
|
|
Family Sans
|
|
Size Larger
|
|
Series Bold
|
|
EndFont
|
|
End
|
|
|
|
|
|
Style Address
|
|
LeftMargin MMM
|
|
Margin Static
|
|
LatexType Command
|
|
InTitle 1
|
|
LatexName institute
|
|
Category FrontMatter
|
|
ParSkip 0.4
|
|
#BottomSep 0.4
|
|
Align Left
|
|
LabelType No_Label
|
|
Font
|
|
Family Roman
|
|
Size Small
|
|
EndFont
|
|
End
|
|
|
|
|
|
Style Offprint
|
|
Margin Static
|
|
LatexType Command
|
|
Category FrontMatter
|
|
InTitle 1
|
|
LatexName offprints
|
|
Align Left
|
|
LeftMargin "Offprint Requests to:M"
|
|
LabelType Static
|
|
LabelString "Offprint Requests to:"
|
|
LabelSep M
|
|
Font
|
|
Family Roman
|
|
Size Small
|
|
EndFont
|
|
LabelFont
|
|
Family Roman
|
|
Size Small
|
|
Shape Slanted
|
|
EndFont
|
|
End
|
|
|
|
|
|
Style Mail
|
|
Margin Static
|
|
LatexType Command
|
|
InTitle 1
|
|
Category FrontMatter
|
|
LatexName mail
|
|
Align Left
|
|
LeftMargin "Correspondence to:M"
|
|
LabelType Static
|
|
LabelString "Correspondence to:"
|
|
LabelSep M
|
|
Font
|
|
Family Roman
|
|
Size Small
|
|
EndFont
|
|
LabelFont
|
|
Family Roman
|
|
Size Small
|
|
Shape Slanted
|
|
EndFont
|
|
End
|
|
|
|
|
|
Style Acknowledgement
|
|
Margin First_Dynamic
|
|
LatexType Environment
|
|
LatexName acknowledgements
|
|
Category BackMatter
|
|
NextNoIndent 0
|
|
ItemSep 0
|
|
TopSep 1.2
|
|
BottomSep 0
|
|
ParSep 0
|
|
Align Block
|
|
LabelType Static
|
|
LabelString "Acknowledgements."
|
|
LabelSep M
|
|
Font
|
|
Size Small
|
|
EndFont
|
|
LabelFont
|
|
Size Small
|
|
Shape Italic
|
|
EndFont
|
|
End
|
|
|
|
|
|
Style Section
|
|
Font
|
|
Family Sans
|
|
Size Large
|
|
EndFont
|
|
End
|
|
|
|
|
|
Style Subsection
|
|
Font
|
|
Family Sans
|
|
Series Medium
|
|
Size Normal
|
|
Shape Slanted
|
|
EndFont
|
|
End
|
|
|
|
|
|
Style Subsubsection
|
|
Font
|
|
Series Medium
|
|
Size Normal
|
|
EndFont
|
|
End
|
|
|
|
|
|
Style Title
|
|
TopSep 2
|
|
BottomSep 1.3
|
|
Align Center
|
|
AlignPossible Left
|
|
Font
|
|
Family Sans
|
|
Series Bold
|
|
EndFont
|
|
End
|
|
|
|
|
|
Style Author
|
|
Align Center
|
|
LabelType No_Label
|
|
BottomSep 1.5
|
|
Font
|
|
Size Large
|
|
Series Medium
|
|
EndFont
|
|
End
|
|
|
|
|
|
Style Date
|
|
InTitle 1
|
|
LeftMargin MMM
|
|
LabelSep ""
|
|
TopSep 1.2
|
|
Align Left
|
|
Font
|
|
Size Small
|
|
EndFont
|
|
End
|
|
|
|
|
|
InsetLayout "Flex:institutemark"
|
|
LyxType custom
|
|
LatexType command
|
|
LatexName inst
|
|
LabelString "Institute Mark"
|
|
Font
|
|
Color foreground
|
|
Size Small
|
|
Family Roman
|
|
Shape Up
|
|
Series Medium
|
|
Misc No_Emph
|
|
Misc No_Noun
|
|
Misc No_Bar
|
|
EndFont
|
|
LabelFont
|
|
Color green
|
|
Size Small
|
|
EndFont
|
|
MultiPar true
|
|
End
|
|
|
|
|
|
Style Abstract_(unstructured)
|
|
LatexType Command
|
|
LatexName abstract
|
|
Category FrontMatter
|
|
InTitle 1
|
|
NextNoIndent 1
|
|
Margin Static
|
|
LeftMargin MMM
|
|
RightMargin MMM
|
|
ParIndent ""
|
|
ItemSep 0
|
|
TopSep 1.2
|
|
BottomSep 0.7
|
|
ParSep 0
|
|
Align Left
|
|
LabelType Centered
|
|
LabelString "ABSTRACT"
|
|
LabelBottomSep 0.7
|
|
Font
|
|
Size Small
|
|
EndFont
|
|
LabelFont
|
|
Family Sans
|
|
Series Bold
|
|
Size Small
|
|
EndFont
|
|
End
|
|
|
|
|
|
Style Abstract
|
|
ObsoletedBy Abstract_(unstructured)
|
|
End
|
|
|
|
|
|
Style Abstract_(structured)
|
|
CopyStyle Abstract_(unstructured)
|
|
Argument 1
|
|
Mandatory 1
|
|
LabelString "Context"
|
|
Tooltip "Context of your work (optional, can be left empty)"
|
|
EndArgument
|
|
Argument 2
|
|
Mandatory 1
|
|
LabelString "Aims"
|
|
Tooltip "Aims of your work"
|
|
EndArgument
|
|
Argument 3
|
|
Mandatory 1
|
|
LabelString "Methods"
|
|
Tooltip "Methods used in your work"
|
|
EndArgument
|
|
Argument 4
|
|
Mandatory 1
|
|
LabelString "Results"
|
|
Tooltip "Results of your work"
|
|
EndArgument
|
|
End
|
|
|
|
|
|
Style Keywords
|
|
Margin First_Dynamic
|
|
LatexType Command
|
|
LatexName keywords
|
|
Category FrontMatter
|
|
InTitle 1
|
|
NextNoIndent 1
|
|
LeftMargin MMM
|
|
RightMargin MMM
|
|
ParIndent ""
|
|
ItemSep 0
|
|
TopSep 1.2
|
|
BottomSep 0.7
|
|
ParSep 0
|
|
Align Block
|
|
LabelType static
|
|
LabelString "Key words."
|
|
LabelSep M
|
|
LabelBottomSep 0
|
|
Font
|
|
Size Small
|
|
EndFont
|
|
LabelFont
|
|
Family Sans
|
|
Series Bold
|
|
Size Small
|
|
EndFont
|
|
End
|
|
|
|
|
|
InsetLayout Flex:Institute
|
|
LyXType charstyle
|
|
LatexType command
|
|
LatexName inst
|
|
Font
|
|
Color blue
|
|
EndFont
|
|
ResetsFont true
|
|
End
|
|
|
|
|
|
InsetLayout Flex:E-Mail
|
|
LyXType charstyle
|
|
LatexType command
|
|
LatexName email
|
|
Font
|
|
Family Typewriter
|
|
Color blue
|
|
EndFont
|
|
ResetsFont true
|
|
End
|
|
|
|
|
|
InsetLayout "Flex:Email"
|
|
LyxType custom
|
|
LatexType command
|
|
LatexName email
|
|
LabelString "Email"
|
|
Font
|
|
Color foreground
|
|
Size Small
|
|
Family Roman
|
|
Shape Up
|
|
Series Medium
|
|
Misc No_Emph
|
|
Misc No_Noun
|
|
Misc No_Bar
|
|
EndFont
|
|
LabelFont
|
|
Color urllabel
|
|
Size Small
|
|
EndFont
|
|
MultiPar true
|
|
End
|
|
|