mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 18:08:10 +00:00
6b49b6b129
This makes the defaults of Inset::inheritFont() and Inset::resetFontEdit() compatible. There is no user visible change except for the Chunk inset which does not produce invalid LaTeX after editing operations anymore. This is the safe version for 2.1.0, for later there are still open questions: - All insets with ResetsFont true should be audited: Is this really needed, or do they show similar editing problems as the Chunk inset? - Does inheritFont() need to be customizable in the layout file as well? - Is resetFontEdit() != !inheritFont() needed at all? I did not use change tracking for the docs, since I updated all existing translations.
136 lines
2.9 KiB
HTML
136 lines
2.9 KiB
HTML
# Letter textclass definition file.
|
|
# Author : Matthias Ettrich <ettrich@informatik.uni-tuebingen.de>
|
|
# Heavily modifed and enhanced by several developers.
|
|
|
|
|
|
Format 49
|
|
Columns 1
|
|
Sides 1
|
|
PageStyle Empty
|
|
|
|
|
|
Style Standard
|
|
Category MainText
|
|
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
|
|
Category "Postal Data"
|
|
Margin Right_Address_Box
|
|
LatexType Command
|
|
LatexName address
|
|
ParSkip 0.4
|
|
BottomSep 1.5
|
|
ParSep 1.5
|
|
Align Left
|
|
End
|
|
|
|
|
|
Style Send_To_Address
|
|
Category "Postal Data"
|
|
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
|
|
Category Letter
|
|
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
|
|
Category Closings
|
|
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
|
|
LabelString "Closing:"
|
|
End
|
|
|
|
|
|
Style cc
|
|
CopyStyle Signature
|
|
LatexName cc
|
|
LabelString "cc:"
|
|
LabelFont
|
|
Series Bold
|
|
Shape Italic
|
|
Color green
|
|
EndFont
|
|
End
|
|
|
|
|
|
Style encl
|
|
CopyStyle cc
|
|
LatexName encl
|
|
LabelString "encl:"
|
|
Spacing Other 1.5
|
|
End
|
|
|
|
|
|
Style Location
|
|
CopyStyle cc
|
|
LatexName thispagestyle{firstpage}\location
|
|
LabelString "Location:"
|
|
End
|
|
|
|
|
|
Style Telephone
|
|
CopyStyle cc
|
|
LatexName thispagestyle{firstpage}\telephone
|
|
LabelString "Telephone:"
|
|
End
|