lyx_mirror/lib/layouts/stdletter.inc
Jean-Marc Lasgouttes 04efe3c40a New framework for declaring generic features in textclasses.
* 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
2007-04-06 09:02:23 +00:00

142 lines
3.1 KiB
HTML

# Letter textclass definition file.
# Author : Matthias Ettrich <ettrich@informatik.uni-tuebingen.de>
# Heavily modifed and enhanced by several developers.
Format 4
Columns 1
Sides 1
PageStyle Empty
Style Standard
Margin Static
LatexType Paragraph
LatexName dummy
ParIndent MM
ParSkip 0.4
Align Block
AlignPossible Block, Left, Right, Center
LabelType No_Label
End
Style My_Address
Margin Right_Address_Box
LatexType Command
LatexName address
ParSkip 0.4
BottomSep 1.5
ParSep 1.5
Align Left
AlignPossible Left
End
Style Send_To_Address
Margin Static
LatexType Command
LatexName letter
KeepEmpty 1
ParSkip 0.4
BottomSep 1.5
ParSep 1.5
Align Left
AlignPossible Block, Left, Right, Center
LabelType No_Label
End
Style Opening
Margin Static
LatexType Command
LatexName opening
KeepEmpty 1
LeftMargin Signature:xx
LabelSep xx
TopSep 0.4
BottomSep 0.4
ParSep 0.4
Align Block
AlignPossible Block, Left
LabelType Static
LabelString "Opening:"
LabelFont
Series Bold
Shape Italic
Color red
EndFont
End
Style Signature
Margin Static
LatexType Command
LatexName signature
LeftMargin Signature:xx
LabelSep xx
TopSep 0.4
BottomSep 0.4
ParSep 0.4
Align Block
AlignPossible Block, Left
LabelType Static
LabelString "Signature:"
LabelFont
Series Bold
Shape Italic
Color red
EndFont
End
Style Closing
CopyStyle Signature
LatexName closing
LeftMargin Signature:xx
LabelString "Closing:"
End
Style cc
Margin Static
LatexType Command
LatexName cc
LeftMargin cc:xx
LabelSep xx
TopSep 0.4
BottomSep 0.4
ParSep 0.4
Align Block
AlignPossible Block, Left
LabelType Static
LeftMargin Signature:xx
LabelString "cc:"
End
Style encl
CopyStyle cc
LatexName encl
LeftMargin Signature:xx
LabelString "encl:"
Spacing Other 1.5
End
Style Location
CopyStyle encl
LatexName location
LeftMargin Signature:xx
LabelString "Location:"
End
Style Telephone
CopyStyle encl
LatexName telephone
LeftMargin Signature:xx
LabelString "Telephone:"
End