mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-15 01:41:43 +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
179 lines
3.0 KiB
Plaintext
179 lines
3.0 KiB
Plaintext
#% Do not delete the line below; configure depends on this
|
|
# \DeclareLaTeXClass{article (paper)}
|
|
# Paper textclass definition file.
|
|
# Created by Jean-Marc Lasgouttes (Jean-Marc.Lasgouttes@inria.fr)
|
|
|
|
|
|
Format 4
|
|
Columns 1
|
|
Sides 1
|
|
SecNumDepth 3
|
|
TocDepth 3
|
|
|
|
|
|
Style Standard
|
|
Margin Static
|
|
LatexType Paragraph
|
|
LatexName dummy
|
|
ParIndent MM
|
|
ParSkip 0.4
|
|
Align Block
|
|
AlignPossible Block, Left, Right, Center
|
|
LabelType No_Label
|
|
End
|
|
|
|
|
|
Input stdlists.inc
|
|
Input stdsections.inc
|
|
|
|
|
|
# All the section headings now use sans serif
|
|
Style Part
|
|
Align Left
|
|
AlignPossible Left
|
|
TopSep 2
|
|
BottomSep 1.5
|
|
Font
|
|
Family Sans
|
|
Series Bold
|
|
Size Largest
|
|
EndFont
|
|
End
|
|
|
|
|
|
Style Section
|
|
Font
|
|
Family Sans
|
|
Series Bold
|
|
Size Large
|
|
EndFont
|
|
End
|
|
|
|
|
|
Style Subsection
|
|
Font
|
|
Family Sans
|
|
Series Bold
|
|
Size Large
|
|
EndFont
|
|
End
|
|
|
|
|
|
Style Subsubsection
|
|
Font
|
|
Family Sans
|
|
Series Bold
|
|
Size Normal
|
|
EndFont
|
|
End
|
|
|
|
|
|
Style Paragraph
|
|
Font
|
|
Family Sans
|
|
Series Bold
|
|
Size Normal
|
|
EndFont
|
|
End
|
|
|
|
|
|
Style Subparagraph
|
|
Font
|
|
Family Sans
|
|
Size Normal
|
|
EndFont
|
|
End
|
|
|
|
|
|
Input stdstarsections.inc
|
|
|
|
|
|
# There are no chapters in a paper.
|
|
NoStyle Chapter
|
|
NoStyle Chapter*
|
|
|
|
Input stdtitle.inc
|
|
Input stdstruct.inc
|
|
Input lyxmacros.inc
|
|
Input stdlayouts.inc
|
|
Input stdfloats.inc
|
|
Input stdcounters.inc
|
|
|
|
|
|
Style Description
|
|
LabelFont
|
|
Family Sans
|
|
Series Bold
|
|
EndFont
|
|
End
|
|
|
|
|
|
# The \maketitle stuff is by default left justified.
|
|
Style Title
|
|
Align Left
|
|
AlignPossible Left
|
|
Font
|
|
Family Sans
|
|
Series Bold
|
|
Size Largest
|
|
EndFont
|
|
End
|
|
|
|
|
|
Style Author
|
|
Align Left
|
|
AlignPossible Left
|
|
|
|
Font
|
|
Size Larger
|
|
Family Sans
|
|
Shape Italic
|
|
EndFont
|
|
End
|
|
|
|
|
|
Style Abstract
|
|
Font
|
|
Size Small
|
|
EndFont
|
|
LabelType Top_Environment
|
|
LabelFont
|
|
Series Bold
|
|
Family Sans
|
|
Size Small
|
|
EndFont
|
|
LeftMargin ""
|
|
RightMargin ""
|
|
ParIndent ""
|
|
End
|
|
|
|
|
|
### A few new things defined only in the paper document class
|
|
Style SubTitle
|
|
CopyStyle Title
|
|
LatexName subtitle
|
|
Font
|
|
Family Sans
|
|
Series Medium
|
|
Size Large
|
|
EndFont
|
|
End
|
|
|
|
|
|
Style Institution
|
|
CopyStyle Title
|
|
LatexName institution
|
|
Font
|
|
Family Sans
|
|
Series Medium
|
|
Size Normal
|
|
EndFont
|
|
End
|
|
|
|
|
|
Style Keywords
|
|
CopyStyle Abstract
|
|
LatexName keywords
|
|
LabelString "Keywords:"
|
|
End
|