mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-11 08:22:44 +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.
248 lines
4.6 KiB
Plaintext
248 lines
4.6 KiB
Plaintext
#% Do not delete the line below; configure depends on this
|
|
# \DeclareLaTeXClass{KOMA-Script Letter (V. 1, Obsolete)}
|
|
# \DeclareCategory{Letters}
|
|
# KOMA scrlettr textclass definition file.
|
|
# Bernd Rellermeyer <100.41728@germanynet.de>, 1999/2/17.
|
|
|
|
Format 49
|
|
Style Standard
|
|
Category MainText
|
|
LatexName dummy
|
|
ParSep 0.4
|
|
AlignPossible Block, Left, Right, Center
|
|
End
|
|
|
|
Input stdlists.inc
|
|
Input stdcounters.inc
|
|
Input stdinsets.inc
|
|
|
|
Style Description
|
|
LabelFont
|
|
Family Sans
|
|
EndFont
|
|
End
|
|
|
|
|
|
Style Labeling
|
|
CopyStyle List
|
|
LatexName labeling
|
|
# overwrite the preamble code definition
|
|
Preamble
|
|
EndPreamble
|
|
End
|
|
|
|
Style List
|
|
Obsoletedby Labeling
|
|
End
|
|
|
|
Input stdlayouts.inc
|
|
|
|
|
|
|
|
Style Letter
|
|
Category Letter
|
|
LatexType Command
|
|
LatexName letter
|
|
KeepEmpty 1
|
|
LabelSep xx
|
|
TopSep 1.5
|
|
BottomSep 1.5
|
|
ParSep 1.5
|
|
Align Left
|
|
LabelType Static
|
|
LabelString "L"
|
|
LabelFont
|
|
Series Bold
|
|
Shape Italic
|
|
Size Small
|
|
Color Blue
|
|
EndFont
|
|
End
|
|
|
|
|
|
Style Opening
|
|
CopyStyle Letter
|
|
LatexName lyxopening
|
|
LabelString "O"
|
|
Preamble
|
|
\newcommand{\lyxopening}[1]{\pagebreak\startbreaks\opening{#1}}
|
|
EndPreamble
|
|
End
|
|
|
|
|
|
Style Closing
|
|
Category Letter
|
|
LatexType Command
|
|
LatexName closing
|
|
KeepEmpty 0
|
|
TopSep 1.5
|
|
BottomSep 1.5
|
|
ParSep 1.5
|
|
Align Left
|
|
End
|
|
|
|
|
|
Style PS
|
|
LatexType Command
|
|
LatexName ps
|
|
TopSep 0.4
|
|
BottomSep 0.4
|
|
ParSep 0.4
|
|
Align Left
|
|
End
|
|
|
|
|
|
Style CC
|
|
LatexType Command
|
|
LatexName cc
|
|
LeftMargin xxxx::xx
|
|
LabelSep xx
|
|
TopSep 0.4
|
|
BottomSep 0.4
|
|
ParSep 0.4
|
|
Align Left
|
|
LabelType Static
|
|
LabelString "cc:"
|
|
End
|
|
|
|
|
|
Style Encl
|
|
CopyStyle CC
|
|
LatexName encl
|
|
LabelString "encl:"
|
|
End
|
|
|
|
|
|
Style Name
|
|
Category Letter
|
|
LatexType Command
|
|
LatexName name
|
|
KeepEmpty 1
|
|
LeftMargin xxxxxxxxxxxx::xx
|
|
LabelSep xx
|
|
TopSep 0.4
|
|
BottomSep 0.4
|
|
ParSep 0.4
|
|
Align Left
|
|
LabelType Static
|
|
LabelString "Name:"
|
|
LabelFont
|
|
Series Bold
|
|
Shape Italic
|
|
Color Blue
|
|
EndFont
|
|
End
|
|
|
|
|
|
Style Signature
|
|
CopyStyle Name
|
|
LatexName signature
|
|
LabelString "Signature:"
|
|
End
|
|
|
|
|
|
Style Address
|
|
CopyStyle Name
|
|
LatexName address
|
|
LabelString "Address:"
|
|
End
|
|
|
|
|
|
Style Telephone
|
|
CopyStyle Name
|
|
LatexName telephone
|
|
LabelString "Telephone:"
|
|
End
|
|
|
|
|
|
Style Place
|
|
CopyStyle Name
|
|
LatexName place
|
|
LabelString "Place:"
|
|
End
|
|
|
|
|
|
Style Date
|
|
CopyStyle Name
|
|
LatexName date
|
|
LabelString "Date:"
|
|
End
|
|
|
|
|
|
Style Backaddress
|
|
CopyStyle Name
|
|
LatexName backaddress
|
|
LabelString "Backaddress:"
|
|
End
|
|
|
|
|
|
Style Specialmail
|
|
CopyStyle Name
|
|
LatexName specialmail
|
|
LabelString "Specialmail:"
|
|
End
|
|
|
|
|
|
Style Location
|
|
CopyStyle Name
|
|
LatexName location
|
|
LabelString "Location:"
|
|
End
|
|
|
|
|
|
Style Title
|
|
CopyStyle Name
|
|
LatexName title
|
|
LabelString "Title:"
|
|
HTMLTitle true
|
|
End
|
|
|
|
|
|
Style Subject
|
|
CopyStyle Name
|
|
LatexName subject
|
|
LabelString "Subject:"
|
|
End
|
|
|
|
|
|
Style Yourref
|
|
CopyStyle Name
|
|
LatexName yourref
|
|
LabelString "Your ref.:"
|
|
LabelFont
|
|
Family Sans
|
|
Series Medium
|
|
Shape Up
|
|
Size Small
|
|
Color None
|
|
EndFont
|
|
End
|
|
|
|
|
|
Style Yourmail
|
|
CopyStyle Yourref
|
|
LatexName yourmail
|
|
LabelString "Your letter of:"
|
|
End
|
|
|
|
|
|
Style Myref
|
|
CopyStyle Yourref
|
|
LatexName myref
|
|
LabelString "Our ref.:"
|
|
End
|
|
|
|
|
|
Style Customer
|
|
CopyStyle Yourref
|
|
LatexName customer
|
|
LabelString "Customer no.:"
|
|
End
|
|
|
|
|
|
Style Invoice
|
|
CopyStyle Yourref
|
|
LatexName invoice
|
|
LabelString "Invoice no.:"
|
|
End
|