mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-20 20:51:40 +00:00
04efe3c40a
* src/LaTeXFeatures.C (mustProvide): new method; returns true when isRequired is true and the feature is not provided by the textclass. (getPackages, getLyXSGMLEntities): use mustProvide when relevant. * src/bufferparams.C (getEngine): * src/buffer.C (validate): adapt to change below. * src/lyxtextclass.C (read): replace tags ProvidesNatbib, ProvidesMakeidx, ProvidesUrl and ProvidesAmsmath by a generic "Provides". (provides): take a string as argument. * lib/scripts/layout2layout.py (convert): convert "ProvidesXxx" tags to "Provides xxx". * lib/layouts/*: update to format 4. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17740 a592a061-630c-0410-9148-cb99ea01b6c8
321 lines
5.8 KiB
Plaintext
321 lines
5.8 KiB
Plaintext
#% Do not delete the line below; configure depends on this
|
|
# \DeclareLaTeXClass[aa]{article (A&A)}
|
|
#
|
|
# Author: Peter Sütterlin <pit@uni-sw.gwdg.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
|
|
|
|
|
|
Format 4
|
|
Columns 2
|
|
Sides 2
|
|
SecNumDepth 3
|
|
TocDepth 0
|
|
PageStyle Plain
|
|
|
|
|
|
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 Section
|
|
End
|
|
|
|
Style Subsection
|
|
End
|
|
|
|
Style Subsubsection
|
|
End
|
|
|
|
Style Itemize
|
|
End
|
|
|
|
Style Enumerate
|
|
End
|
|
|
|
Style Description
|
|
End
|
|
|
|
Style List
|
|
End
|
|
|
|
|
|
Style Title
|
|
End
|
|
|
|
Style Subtitle
|
|
End
|
|
|
|
Style Author
|
|
End
|
|
|
|
Style Address
|
|
End
|
|
|
|
Style Offprint
|
|
End
|
|
|
|
Style Mail
|
|
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 stdlists.inc
|
|
Input stdsections.inc
|
|
Input stdtitle.inc
|
|
Input stdstruct.inc
|
|
Input stdfloats.inc
|
|
Input stdcounters.inc
|
|
|
|
NoStyle Chapter
|
|
NoStyle Paragraph
|
|
NoStyle Subparagraph
|
|
NoStyle Part
|
|
|
|
|
|
Style Subtitle
|
|
Margin Static
|
|
LatexType Command
|
|
InTitle 1
|
|
LatexName subtitle
|
|
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
|
|
ParSkip 0.4
|
|
# BottomSep 0.4
|
|
Align Left
|
|
LabelType No_Label
|
|
Font
|
|
Family Roman
|
|
Size Small
|
|
EndFont
|
|
End
|
|
|
|
|
|
Style Offprint
|
|
Margin Static
|
|
LatexType Command
|
|
InTitle 1
|
|
LatexName offprints
|
|
Align Left
|
|
AlignPossible 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
|
|
LatexName mail
|
|
Align Left
|
|
AlignPossible 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
|
|
NextNoIndent 0
|
|
ItemSep 0
|
|
TopSep 1.2
|
|
BottomSep 0
|
|
ParSep 0
|
|
Align Block
|
|
AlignPossible Block
|
|
LabelType Static
|
|
LabelString "Acknowledgements."
|
|
LabelSep M
|
|
Font
|
|
Size Small
|
|
EndFont
|
|
LabelFont
|
|
Size Small
|
|
Shape Italic
|
|
EndFont
|
|
End
|
|
|
|
|
|
|
|
|
|
Style Section
|
|
TopSep 2.0
|
|
BottomSep 1.3
|
|
Font
|
|
Family Sans
|
|
Size Large
|
|
EndFont
|
|
End
|
|
|
|
|
|
Style Subsection
|
|
TopSep 1.7
|
|
BottomSep 1.1
|
|
Font
|
|
Family Sans
|
|
Series Medium
|
|
Size Large
|
|
Shape Slanted
|
|
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 Center
|
|
AlignPossible Left
|
|
Font
|
|
Family Sans
|
|
Series Bold
|
|
EndFont
|
|
End
|
|
|
|
|
|
Style Author
|
|
Align Center
|
|
AlignPossible Center
|
|
LabelType No_Label
|
|
BottomSep 1.5
|
|
Font
|
|
Size Large
|
|
Series Medium
|
|
EndFont
|
|
End
|
|
|
|
|
|
Style Date
|
|
LeftMargin MMM
|
|
LabelSep ""
|
|
TopSep 1.2
|
|
Align Left
|
|
AlignPossible Left
|
|
Font
|
|
Size Small
|
|
EndFont
|
|
End
|
|
|
|
|
|
Style Abstract
|
|
Margin First_Dynamic
|
|
LatexType Command
|
|
LatexName abstract
|
|
InTitle 1
|
|
NextNoIndent 1
|
|
LeftMargin MMM
|
|
RightMargin MMM
|
|
ParIndent ""
|
|
ItemSep 0
|
|
TopSep 1.2
|
|
BottomSep 0.7
|
|
ParSep 0
|
|
Align Block
|
|
AlignPossible Block
|
|
LabelType static
|
|
LabelString "Abstract"
|
|
LabelSep M
|
|
LabelBottomSep 0
|
|
Font
|
|
Size Small
|
|
EndFont
|
|
LabelFont
|
|
Family Sans
|
|
Series Bold
|
|
Size Small
|
|
EndFont
|
|
End
|
|
|
|
|
|
Style Bibliography
|
|
Align Left
|
|
AlignPossible Left
|
|
LabelFont
|
|
Series Bold
|
|
EndFont
|
|
End
|