lyx_mirror/lib/layouts/kluwer.layout
Jürgen Spitzmüller 9e5eebc14c *** Requires tag for classes, layouts and custom insets ***
* 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
2008-01-07 16:59:10 +00:00

356 lines
7.4 KiB
Plaintext

#% Do not delete the line below; configure depends on this
# \DeclareLaTeXClass[kluwer]{article (Kluwer)}
# Textclass definition file for kluwer.cls
# For Kluwer Academic publications:
# Astrophysics & Space Science, Solar Physics, etc.
#
# Panayotis "PAP" Papasotiriou <papasot@physics.upatras.gr>
# (based on the first version kindly offered by
# Peter "Pit" Sütterlin <P.Suetterlin@astro.uu.nl>)
#
# 2001-06-15 First version from scratch (due to "Pit").
# 2001-09-09 Enhanced version (due to "PAP").
# Need of ERT is considerably minimized.
# 2003-03-03 Updated for lyx 1.3.0.
Format 6
Columns 1
Sides 2
SecNumDepth 4
PageStyle Plain
DefaultFont
Family Roman
Series Medium
Shape Up
Size Normal
Color None
EndFont
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 stdsections.inc
Input stdstruct.inc
Input stdlists.inc
Input stdfloats.inc
Input stdcounters.inc
Input stdlayouts.inc
NoStyle Chapter
NoStyle Part
NoStyle Verse
Style Section
Align Center
Font
Size Large
EndFont
End
Style Subsection
Font
Series Medium
Size Normal
Shape SmallCaps
EndFont
End
Style Subsubsection
Font
Series Medium
Size Normal
Shape Italic
EndFont
End
Style Paragraph
Font
Series Medium
Size Normal
Shape Italic
EndFont
End
Style Subparagraph
LeftMargin ""
NextNoIndent 1
Font
Series Medium
Size Normal
Shape Italic
EndFont
End
Style Title
Margin Static
LatexType Command
LatexName title
ParSkip 0.4
ItemSep 0
TopSep 0
BottomSep 0
ParSep 1
Align Left
LabelType No_Label
Font
Size Largest
EndFont
End
Style Subtitle
Margin Static
LatexType Command
LatexName subtitle
NextNoIndent 1
ParSkip 0.4
ItemSep 0
TopSep 0.2
BottomSep 1.3
ParSep 1
Align Left
LabelType No_Label
Font
Family Roman
Size Larger
Shape Italic
EndFont
End
Style Date
Margin Dynamic
LatexType Command
LatexName date
ParSkip 0.4
TopSep 1
BottomSep 0.5
ParSep 1
Align Left
LabelType No_Label
Font
Size Large
EndFont
End
Style Author
Margin Static
LatexType Command
LatexName author
ParSkip 0.4
TopSep 1
BottomSep 0
ParSep 0
Align Left
LabelType No_Label
Font
Size Normal
Series Bold
EndFont
End
Style Address
Margin Static
LatexType Command
LatexName institute
ParSkip 0.4
TopSep 0.2
BottomSep 0
Align Left
LabelType No_Label
Font
Size normal
Shape Italic
EndFont
End
Style AddressForOffprints
LatexType Environment
LatexName ao
NextNoIndent 1
Margin First_Dynamic
Align Block
TopSep 1
LabelType Static
LabelString "Address for Offprints:"
LabelSep M
LabelFont
Size Small
Shape Italic
Color Red
EndFont
End
Style RunningTitle
LatexType Command
LatexName runningtitle
NextNoIndent 1
Margin Dynamic
Align Left
TopSep 1
LabelType Static
LabelString "Running title:"
LabelSep M
Font
Size Small
Series Bold
EndFont
LabelFont
Series Medium
Shape Italic
Color Red
EndFont
End
Style RunningAuthor
Margin Dynamic
LatexType Command
LatexName runningauthor
NextNoIndent 1
Align Left
LabelType Static
LabelString "Running author:"
LabelSep M
Font
Size Small
Series Bold
EndFont
LabelFont
Series Medium
Shape Italic
Color Red
EndFont
End
Style Abstract
Margin First_Dynamic
LatexType Environment
LatexName abstract
NextNoIndent 1
ParIndent MM
ItemSep 0
TopSep 1
BottomSep 1
ParSep 0
Align Block
LabelType Static
LabelString "Abstract."
LabelSep M
Font
Size Small
EndFont
LabelFont
Series Bold
EndFont
End
Style Keywords
Margin First_Dynamic
LatexType Command
LatexName keywords
NextNoIndent 1
Align Left
LabelType Static
LabelString "Keywords:"
LabelSep M
Font
Size Small
EndFont
LabelFont
Series Bold
Size Small
EndFont
End
Style Acknowledgements
Margin Static
LatexType Environment
LatexName acknowledgements
NextNoIndent 1
ItemSep 0
TopSep 1
BottomSep 1
ParSep 0
Align Block
LabelType Centered_Top_Environment
LabelString "Acknowledgements"
LabelBottomSep 0.5
LabelFont
Series Bold
Size Large
EndFont
End
Style Appendix
Margin Static
LatexType Command
LatexName appendix
KeepEmpty 1
ParSkip 0.4
ItemSep 0
TopSep 0
BottomSep 0
ParSep 1
# Align Block
# AlignPossible Block, Left, Right, Center
LabelType Centered_Top_Environment
LabelString "Appendix"
Font
Series Bold
Size Large
EndFont
End
Style References
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
LabelType Bibliography
LabelString "References"
LabelBottomSep 0.7
Align Block
AlignPossible Block, Left, Right, Center
LabelFont
Family Roman
Size Normal
Series Bold
EndFont
End