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
141 lines
3.1 KiB
HTML
141 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 6
|
|
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
|
|
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
|
|
|