mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-24 13:48:59 +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
364 lines
7.2 KiB
Plaintext
364 lines
7.2 KiB
Plaintext
#% Do not delete the line below; configure depends on this
|
|
# \DeclareLaTeXClass[apa,apacite.sty]{article (APA)}
|
|
# Author: Randy Gobbel <gobbel@andrew.cmu.edu>
|
|
|
|
Format 4
|
|
Columns 1
|
|
Sides 1
|
|
PageStyle Headers
|
|
|
|
|
|
ClassOptions
|
|
Other "man"
|
|
FontSize 6|8|10|12
|
|
End
|
|
|
|
|
|
Preamble
|
|
\helvetica
|
|
\author{Author} % hack around some bugs in apa.cls
|
|
\affiliation{Affiliation} % hack around some bugs in apa.cls
|
|
EndPreamble
|
|
|
|
|
|
Style Standard
|
|
LatexName dummy
|
|
LatexType Paragraph
|
|
Margin Static
|
|
ParIndent MM
|
|
ParSkip 0.4
|
|
ParSep 0.4
|
|
TopSep 1.0
|
|
BottomSep 1.0
|
|
Align Block
|
|
AlignPossible Block, Left, Right, Center
|
|
LabelType No_Label
|
|
End
|
|
|
|
|
|
Style Title
|
|
LatexName title
|
|
LatexType Command
|
|
InTitle 1
|
|
Font
|
|
Size Huge
|
|
EndFont
|
|
Align Center
|
|
End
|
|
|
|
|
|
Style RightHeader
|
|
LatexName rightheader
|
|
LatexType Command
|
|
InTitle 1
|
|
Font
|
|
Size Small
|
|
Shape SmallCaps
|
|
EndFont
|
|
Labeltype Static
|
|
LabelString "Right header:"
|
|
Labelsep M
|
|
LabelFont
|
|
Series Bold
|
|
Size Small
|
|
EndFont
|
|
Align Right
|
|
AlignPossible Right
|
|
End
|
|
|
|
|
|
Style Abstract
|
|
LatexName abstract
|
|
LatexType Command
|
|
InTitle 1
|
|
Font
|
|
Size Small
|
|
EndFont
|
|
Margin Dynamic
|
|
LeftMargin MMN
|
|
RightMargin MMN
|
|
Align Block
|
|
AlignPossible Block, Left, Right, Center
|
|
Labeltype Static
|
|
LabelString "Abstract:"
|
|
Labelsep M
|
|
LabelFont
|
|
Series Bold
|
|
Size Small
|
|
EndFont
|
|
End
|
|
|
|
|
|
Style ShortTitle
|
|
LatexName shorttitle
|
|
LatexType Command
|
|
InTitle 1
|
|
Align Left
|
|
AlignPossible Left, Right, Center
|
|
Margin Dynamic
|
|
Labeltype Static
|
|
LabelString "Short title:"
|
|
Labelsep M
|
|
Font
|
|
Shape SmallCaps
|
|
Size Small
|
|
EndFont
|
|
LabelFont
|
|
Series Bold
|
|
Size Small
|
|
Shape Up
|
|
EndFont
|
|
End
|
|
|
|
|
|
Style Author
|
|
LatexName author
|
|
LatexType Command
|
|
InTitle 1
|
|
Align Center
|
|
AlignPossible Left, Right, Center
|
|
TopSep 0.5
|
|
BottomSep 0.5
|
|
Font
|
|
Shape Italic
|
|
Size Small
|
|
EndFont
|
|
End
|
|
|
|
|
|
Style TwoAuthors
|
|
LatexName twoauthors
|
|
LatexType Command
|
|
InTitle 1
|
|
End
|
|
|
|
|
|
Style ThreeAuthors
|
|
LatexName threeauthors
|
|
LatexType Command
|
|
InTitle 1
|
|
End
|
|
|
|
|
|
Style FourAuthors
|
|
LatexName fourauthors
|
|
LatexType Command
|
|
InTitle 1
|
|
End
|
|
|
|
|
|
Style Affiliation
|
|
LatexName affiliation
|
|
LatexType Command
|
|
InTitle 1
|
|
Margin Dynamic
|
|
ParSkip 0.4
|
|
BottomSep 1.5
|
|
TopSep 1.5
|
|
ParSep 1.5
|
|
Align Left
|
|
AlignPossible Block, Left, Right, Center
|
|
LabelType Static
|
|
LabelString "Affiliation:"
|
|
Labelsep M
|
|
LabelFont
|
|
Series Bold
|
|
Size Small
|
|
EndFont
|
|
End
|
|
|
|
|
|
Style TwoAffiliations
|
|
LatexName twoaffiliations
|
|
LatexType Command
|
|
InTitle 1
|
|
End
|
|
|
|
|
|
Style ThreeAffiliations
|
|
LatexName threeaffiliations
|
|
LatexType Command
|
|
InTitle 1
|
|
End
|
|
|
|
|
|
Style FourAffiliations
|
|
LatexName fouraffiliations
|
|
LatexType Command
|
|
InTitle 1
|
|
End
|
|
|
|
|
|
Style Journal
|
|
LatexName journal
|
|
LatexType Command
|
|
InTitle 1
|
|
End
|
|
|
|
|
|
Style Copyright
|
|
LatexName ccoppy
|
|
LatexType Command
|
|
InTitle 1
|
|
End
|
|
|
|
|
|
Style CopNum
|
|
LatexName copnum
|
|
LatexType Command
|
|
InTitle 1
|
|
End
|
|
|
|
|
|
Style Note
|
|
LatexName note
|
|
LatexType Command
|
|
Font
|
|
Size Small
|
|
EndFont
|
|
End
|
|
|
|
|
|
Style Acknowledgements
|
|
LatexName acknowledgements
|
|
LatexType Command
|
|
Font
|
|
Size Small
|
|
EndFont
|
|
Margin Dynamic
|
|
LeftMargin MMN
|
|
RightMargin MMN
|
|
Align Block
|
|
AlignPossible Block, Left, Right, Center
|
|
Labeltype Static
|
|
LabelString "Acknowledgements:"
|
|
Labelsep M
|
|
LabelFont
|
|
Series Bold
|
|
Size Small
|
|
EndFont
|
|
End
|
|
|
|
|
|
Style Acknowledgments
|
|
ObsoletedBy Acknowledgements
|
|
End
|
|
|
|
|
|
Style ThickLine
|
|
LatexName thickline
|
|
LatexType Command
|
|
KeepEmpty 1
|
|
End
|
|
|
|
|
|
|
|
Input stdlayouts.inc
|
|
|
|
Style CenteredCaption
|
|
Margin First_Dynamic
|
|
LatexType Command
|
|
LatexName caption
|
|
NeedProtect 1
|
|
LabelSep xx
|
|
ParSkip 0.4
|
|
TopSep 0.5
|
|
Align Center
|
|
AlignPossible Center
|
|
LabelType Sensitive
|
|
LabelString "Senseless!"
|
|
OptionalArgs 1
|
|
LabelFont
|
|
Series Bold
|
|
EndFont
|
|
LatexName centeredcaption
|
|
Align Center
|
|
AlignPossible Center
|
|
End
|
|
|
|
|
|
Style FitFigure
|
|
LatexName fitfigure
|
|
LatexType Command
|
|
End
|
|
|
|
|
|
Style FitBitmap
|
|
LatexName fitbitmap
|
|
LatexType Command
|
|
End
|
|
|
|
|
|
Input stdsections.inc
|
|
Input stdstarsections.inc
|
|
|
|
Input stdfloats.inc
|
|
Input stdcounters.inc
|
|
|
|
NoStyle Part
|
|
NoStyle Section
|
|
NoStyle Subsection
|
|
NoStyle Subsubsection
|
|
NoStyle Chapter
|
|
NoStyle Paragraph
|
|
NoStyle Subparagraph
|
|
NoStyle Chapter*
|
|
|
|
|
|
Style Itemize
|
|
Margin Static
|
|
LatexType Item_Environment
|
|
LatexName APAitemize
|
|
NextNoIndent 1
|
|
LeftMargin MMN
|
|
LabelSep xx
|
|
ItemSep 0.2
|
|
TopSep 0.7
|
|
BottomSep 0.7
|
|
ParSep 0.3
|
|
Align Block
|
|
AlignPossible Block, Left
|
|
LabelType Static
|
|
LabelString "*"
|
|
End
|
|
|
|
|
|
Style Enumerate
|
|
Margin Static
|
|
LatexType Item_Environment
|
|
LatexName APAenumerate
|
|
NextNoIndent 1
|
|
LeftMargin MMN
|
|
LabelSep xx
|
|
ParSkip 0.0
|
|
ItemSep 0.2
|
|
TopSep 0.7
|
|
BottomSep 0.7
|
|
ParSep 0.3
|
|
Align Block
|
|
AlignPossible Block, Left
|
|
LabelType Enumerate
|
|
End
|
|
|
|
|
|
Style Seriate
|
|
Margin Static
|
|
LatexType Item_Environment
|
|
LatexName seriate
|
|
NextNoIndent 1
|
|
LeftMargin MMN
|
|
LabelSep x
|
|
ParSkip 0.0
|
|
ItemSep 0.9
|
|
TopSep 0.5
|
|
BottomSep 0.5
|
|
ParSep 0.0
|
|
Align Block
|
|
AlignPossible Block, Left
|
|
LabelType Counter
|
|
LabelCounter enumii
|
|
LabelString "(\alph{enumii})"
|
|
LabelStringAppendix "(\alph{enumii})"
|
|
End
|
|
|