X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Flayouts%2Fscrlettr.layout;h=cbb88519a8325bd7d809f91e1be6a1d35ee4e3ef;hb=ed5794d68bbfca0dd81b62887f76003405c5fb23;hp=cacc7a9322683542656ad734bf99c1909812c08d;hpb=12d02d04b2b26bdd49ca8dfcc0c53529c8a20f9d;p=lyx.git diff --git a/lib/layouts/scrlettr.layout b/lib/layouts/scrlettr.layout index cacc7a9322..cbb88519a8 100644 --- a/lib/layouts/scrlettr.layout +++ b/lib/layouts/scrlettr.layout @@ -1,9 +1,9 @@ #% Do not delete the line below; configure depends on this -# \DeclareLaTeXClass[scrlettr]{letter (koma-script)} -# KOMA scrlettr textclass definition file. +# \DeclareLaTeXClass[scrlettr]{letter (KOMA-Script)} +# KOMA scrlettr textclass definition file. # Bernd Rellermeyer <100.41728@germanynet.de>, 1999/2/17. -# Standard style definition +Format 8 Style Standard LatexName dummy ParSep 0.4 @@ -11,40 +11,32 @@ Style Standard End Input stdlists.inc +Input stdcounters.inc +Input stdinsets.inc -# Modify Description Style Description LabelFont Family Sans EndFont End -# Delete List -NoStyle List -# Labeling style definition Style Labeling - Margin Manual - LatexType List_Environment + CopyStyle List LatexName labeling - NextNoindent 1 - LabelSep xxx - ParSkip 0.4 - TopSep 0.7 - BottomSep 0.7 - ParSep 0.5 - Align Block - AlignPossible Block, Left - LabelType Manual - LabelString 00.00.0000 + # overwrite the preamble code definition + Preamble + EndPreamble +End + +Style List + Obsoletedby Labeling End Input stdlayouts.inc -# Delete Caption -NoStyle Caption -# Letter style definition + Style Letter LatexType Command LatexName letter @@ -54,11 +46,9 @@ Style Letter BottomSep 1.5 ParSep 1.5 Align Left - AlignPossible Left LabelType Static LabelString "L" - - LabelFont + LabelFont Series Bold Shape Italic Size Small @@ -66,18 +56,17 @@ Style Letter EndFont End -# Opening style definition + Style Opening CopyStyle Letter LatexName lyxopening LabelString "O" - Preamble \newcommand{\lyxopening}[1]{\pagebreak\startbreaks\opening{#1}} EndPreamble End -# Closing style definition + Style Closing LatexType Command LatexName closing @@ -86,10 +75,9 @@ Style Closing BottomSep 1.5 ParSep 1.5 Align Left - AlignPossible Left End -# PS style definition + Style PS LatexType Command LatexName ps @@ -97,10 +85,9 @@ Style PS BottomSep 0.4 ParSep 0.4 Align Left - AlignPossible Left End -# CC style definition + Style CC LatexType Command LatexName cc @@ -110,19 +97,18 @@ Style CC BottomSep 0.4 ParSep 0.4 Align Left - AlignPossible Left LabelType Static LabelString "cc:" End -# Encl style definition + Style Encl CopyStyle CC LatexName encl LabelString "encl:" End -# Name style definition + Style Name LatexType Command LatexName name @@ -133,94 +119,91 @@ Style Name BottomSep 0.4 ParSep 0.4 Align Left - AlignPossible Left LabelType Static LabelString "Name:" - - LabelFont + LabelFont Series Bold Shape Italic Color Blue EndFont End -# Signature style definition + Style Signature CopyStyle Name LatexName signature LabelString "Signature:" End -# Address style definition + Style Address CopyStyle Name LatexName address LabelString "Address:" End -# Telephone style definition + Style Telephone CopyStyle Name LatexName telephone LabelString "Telephone:" End -# Place style definition + Style Place CopyStyle Name LatexName place LabelString "Place:" End -# Date style definition + Style Date CopyStyle Name LatexName date LabelString "Date:" End -# Backaddress style definition + Style Backaddress CopyStyle Name LatexName backaddress LabelString "Backaddress:" End -# Specialmail style definition + Style Specialmail CopyStyle Name LatexName specialmail LabelString "Specialmail:" End -# Location style definition + Style Location CopyStyle Name LatexName location LabelString "Location:" End -# Title style definition + Style Title CopyStyle Name LatexName title LabelString "Title:" End -# Subject style definition + Style Subject CopyStyle Name LatexName subject LabelString "Subject:" End -# Yourref style definition + Style Yourref CopyStyle Name LatexName yourref LabelString "Your ref.:" - - LabelFont + LabelFont Family Sans Series Medium Shape Up @@ -229,28 +212,28 @@ Style Yourref EndFont End -# Yourmail style definition + Style Yourmail CopyStyle Yourref LatexName yourmail LabelString "Your letter of:" End -# Myref style definition + Style Myref CopyStyle Yourref LatexName myref LabelString "Our ref.:" End -# Customer style definition + Style Customer CopyStyle Yourref LatexName customer LabelString "Customer no.:" End -# Invoice style definition + Style Invoice CopyStyle Yourref LatexName invoice