lyx_mirror/lib/layouts/spie.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

95 lines
1.9 KiB
Plaintext

#% Do not delete the line below; configure depends on this
# \DeclareLaTeXClass[spie]{article (SPIE Proceedings)}
# SPIE-Article textclass definition file.
# Author : Guenter Milde <g.milde@physik.tu-dresden.de>
# to be used with the spie.cls LaTex-style available at
# http://public.lanl.gov/kmh/spie/
Format 6
Input stdclass.inc
NoStyle Chapter
NoStyle Chapter*
PageStyle empty
SecNumDepth 3
TocDepth 3
Style Section
Align Center
AlignPossible Block, Center, Left
Font
Series Bold
Size large
EndFont
End
Style Section*
Align Center
AlignPossible Block, Center, Left
Font
Series Bold
Size large
EndFont
End
Style Keywords
Margin First_Dynamic
NextNoIndent 1
LatexType Command
LatexName keywords
LabelType Static
LabelSep M
LabelString "Keywords:"
LabelFont
Series Bold
EndFont
End
Style Authorinfo
Margin Dynamic
NextNoIndent 1
InTitle 1
LatexType Command
LatexName authorinfo
ParSkip 0.4
Align Left
AlignPossible Block, Left, Right, Center
BottomSep 1.5
LabelType Static
LabelSep M
LabelString "Authorinfo:"
LabelFont
Series Bold
Shape Italic
EndFont
End
Style Abstract
LeftMargin ""
RightMargin ""
ParIndent ""
ParSep 0.5
LabelString "ABSTRACT"
LabelFont
Series Bold
EndFont
TextFont
Size normal
EndFont
End
Style Acknowledgments
CopyStyle Abstract
# NextNoIndent 1
# LatexType Command
LatexName acknowledgments
LabelString "ACKNOWLEDGMENTS"
End