mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-13 22:49:20 +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
176 lines
3.0 KiB
Plaintext
176 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 6
|
|
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 stdinsets.inc
|
|
Input stdlists.inc
|
|
Input stdsections.inc
|
|
|
|
|
|
# All the section headings now use sans serif
|
|
Style Part
|
|
Align 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
|
|
Font
|
|
Family Sans
|
|
Series Bold
|
|
Size Largest
|
|
EndFont
|
|
End
|
|
|
|
|
|
Style Author
|
|
Align 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
|