mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-30 05:12:40 +00:00
9e5eebc14c
* src/TextClass{cpp,h}: - implement Requires tag for class and InsetLayout. * src/Layout.{cpp,h}: - implement Requires tag for layouts. - increase layouts format to 6. * src/Paragraph.cpp: - request required features for paragraph layouts. * src/LaTeXFeatures.cpp: - add some packages needed by modules. - remove Preamble method for InsetLayout. This is now done in InsetFlex::validate. * src/BufferParams.cpp (validate): - request required features for the class. * src/insets/InsetLayout.h: - new member "requires". * src/insets/InsetFlex.{cpp,h}: - implement validate method and request required features and preamble snippets. * lib/layouts/*.{layout,module,inc}: - increase layouts format to 6. - use Requires tags in some modules (more can be done later). * lib/doc/Customization.lyx: - document Requires tag. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22414 a592a061-630c-0410-9148-cb99ea01b6c8
217 lines
3.4 KiB
Plaintext
217 lines
3.4 KiB
Plaintext
#% Do not delete the line below; configure depends on this
|
|
# \DeclareLaTeXClass[aa]{article (A&A V4)}
|
|
#
|
|
# 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 Extended.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]{article (A&A V4)}
|
|
#
|
|
# and reconfigure LyX (after running texhash, of course).
|
|
|
|
|
|
Format 6
|
|
Columns 2
|
|
Sides 2
|
|
SecNumDepth 3
|
|
TocDepth 0
|
|
PageStyle Plain
|
|
|
|
|
|
DefaultFont
|
|
Family Roman
|
|
Series Medium
|
|
Shape Up
|
|
Size Normal
|
|
Color None
|
|
EndFont
|
|
|
|
|
|
Style Standard
|
|
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
|
|
End
|
|
|
|
Style Subsection
|
|
End
|
|
|
|
Style Subsubsection
|
|
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
|
|
NoStyle Paragraph
|
|
NoStyle Subparagraph
|
|
NoStyle Part
|
|
|
|
|
|
Input aapaper.inc
|
|
|
|
|
|
Style Section
|
|
TopSep 2.0
|
|
BottomSep 1.3
|
|
Font
|
|
Size Normal
|
|
EndFont
|
|
End
|
|
|
|
|
|
Style Subsection
|
|
TopSep 1.7
|
|
BottomSep 1.1
|
|
Font
|
|
Series Medium
|
|
Size Normal
|
|
Shape Italic
|
|
EndFont
|
|
End
|
|
|
|
|
|
Style Subsubsection
|
|
TopSep 1.7
|
|
BottomSep 1.1
|
|
Font
|
|
Series Medium
|
|
Size Normal
|
|
EndFont
|
|
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 Top_Environment
|
|
Font
|
|
Size Normal
|
|
EndFont
|
|
LabelFont
|
|
Series Bold
|
|
Size Normal
|
|
EndFont
|
|
End
|
|
|
|
|
|
Style Bibliography
|
|
Align Left
|
|
AlignPossible Left
|
|
LabelFont
|
|
Series Bold
|
|
EndFont
|
|
End
|