mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-15 15:45:43 +00:00
b92ceba9a1
Remove the trimming operation on LabelString, LabelStringAppendix,
EndLabelString and LabelCounter. This trimming meant that quotes
strings were not preserved, which is wrong.
To preserve layouts, the Layout format has been updated to 64, so that
layout2layout can remove extra spaces on existing strings, which
ensures that behavior is unchanged for old layouts (courtesy of rgheck).
It is now possible to re-add spaces in label strings where it makes
sense.
Fixes bug #10723.
(cherry picked from commit 5c54557350
)
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 64
|
|
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
|