mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-14 15:05:56 +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
134 lines
2.8 KiB
Plaintext
134 lines
2.8 KiB
Plaintext
#% Do not delete the line below; configure depends on this
|
|
# \DeclareLaTeXClass{article (Springer cl2emult)}
|
|
# Springer's cl2emult textclass definition file.
|
|
# Author : André Poenitz
|
|
|
|
Format 6
|
|
Columns 1
|
|
Sides 1
|
|
SecNumDepth 2
|
|
TocDepth 2
|
|
DefaultStyle Standard
|
|
|
|
Input stdsections.inc
|
|
Input stdlists.inc
|
|
Input stdstruct.inc
|
|
Input stdlayouts.inc
|
|
Input stdfloats.inc
|
|
Input stdcounters.inc
|
|
|
|
NoStyle Chapter
|
|
NoStyle Chapter*
|
|
NoStyle Part
|
|
NoStyle Part*
|
|
NoStyle Paragraph
|
|
NoStyle Paragraph*
|
|
NoStyle Subparagraph
|
|
NoStyle Subparagraph*
|
|
|
|
|
|
DefaultFont
|
|
Family Roman
|
|
Series Medium
|
|
Shape Up
|
|
Size Normal
|
|
Color None
|
|
EndFont
|
|
|
|
|
|
Style Title
|
|
Margin Static
|
|
LatexType Command
|
|
InTitle 1
|
|
LatexName title*
|
|
ItemSep 0
|
|
TopSep 0
|
|
BottomSep 2
|
|
ParSep 1
|
|
Align Left
|
|
Font
|
|
Size Largest
|
|
Series Bold
|
|
EndFont
|
|
End
|
|
|
|
|
|
Style Author
|
|
Margin Static
|
|
LatexType Command
|
|
InTitle 1
|
|
LatexName author
|
|
TopSep 1.3
|
|
BottomSep 0.7
|
|
ParSep 0.7
|
|
Align Left
|
|
End
|
|
|
|
|
|
Style Institute
|
|
LatexType Command
|
|
InTitle 1
|
|
LatexName institute
|
|
TopSep 1.3
|
|
BottomSep 3.0
|
|
ParSep 1.7
|
|
Align Left
|
|
End
|
|
|
|
|
|
Style Abstract
|
|
Margin First_Dynamic
|
|
LeftMargin ""
|
|
LatexType Environment
|
|
LatexName abstract
|
|
TopSep 1.7
|
|
BottomSep 0.7
|
|
ParSep 0.7
|
|
Align Block
|
|
LabelType Static
|
|
LabelSep M
|
|
LabelString "Abstract"
|
|
#LabelBottomSep 0.5
|
|
Font
|
|
Size Small
|
|
EndFont
|
|
LabelFont
|
|
Series Bold
|
|
EndFont
|
|
End
|
|
|
|
|
|
Style Bibliography
|
|
Margin First_Dynamic
|
|
LatexType Bib_Environment
|
|
LatexName thebibliography
|
|
NextNoIndent 1
|
|
LeftMargin MM
|
|
ParSkip 0.4
|
|
ItemSep 0
|
|
TopSep 0.7
|
|
BottomSep 0.7
|
|
ParSep 0.5
|
|
Align Block
|
|
AlignPossible Block, Left
|
|
LabelType Bibliography
|
|
LabelString "References"
|
|
LabelBottomSep 0.7
|
|
LabelFont
|
|
Series Bold
|
|
Size Larger
|
|
EndFont
|
|
End
|
|
|
|
|
|
Style Standard
|
|
Margin Static
|
|
LatexType Paragraph
|
|
LatexName dummy
|
|
ParIndent ""
|
|
ParSkip 0.4
|
|
Align Block
|
|
AlignPossible Block, Left, Right, Center
|
|
LabelType No_Label
|
|
End
|