X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Flayouts%2Fstdletter.inc;h=ed2ce8729f6ea273d4c36a9c02b916571ba1a836;hb=4beba4e8f87ca218473448caf10563b99faf7b21;hp=df535be49a0f81c004d5b919918b1ea3899d608c;hpb=3d00d04387ca65ca2316e81beaab1d8207b35256;p=lyx.git diff --git a/lib/layouts/stdletter.inc b/lib/layouts/stdletter.inc index df535be49a..ed2ce8729f 100644 --- a/lib/layouts/stdletter.inc +++ b/lib/layouts/stdletter.inc @@ -1,14 +1,16 @@ -# Letter textclass definition file. +# Letter textclass definition file. # Author : Matthias Ettrich # Heavily modifed and enhanced by several developers. +Format 45 Columns 1 Sides 1 PageStyle Empty Style Standard + Category MainText Margin Static LatexType Paragraph LatexName dummy @@ -21,6 +23,7 @@ End Style My_Address + Category "Postal Data" Margin Right_Address_Box LatexType Command LatexName address @@ -28,15 +31,15 @@ Style My_Address BottomSep 1.5 ParSep 1.5 Align Left - AlignPossible Left End Style Send_To_Address + Category "Postal Data" Margin Static LatexType Command LatexName letter - KeepEmpty 1 + KeepEmpty 1 ParSkip 0.4 BottomSep 1.5 ParSep 1.5 @@ -47,11 +50,12 @@ End Style Opening + Category Letter Margin Static LatexType Command LatexName opening - KeepEmpty 1 - LeftMargin Signature::xx + KeepEmpty 1 + LeftMargin Signature:xx LabelSep xx TopSep 0.4 BottomSep 0.4 @@ -59,8 +63,8 @@ Style Opening Align Block AlignPossible Block, Left LabelType Static - LabelString Opening: - LabelFont + LabelString "Opening:" + LabelFont Series Bold Shape Italic Color red @@ -69,10 +73,11 @@ End Style Signature + Category Closings Margin Static LatexType Command LatexName signature - LeftMargin Signature::xx + LeftMargin Signature:xx LabelSep xx TopSep 0.4 BottomSep 0.4 @@ -80,8 +85,8 @@ Style Signature Align Block AlignPossible Block, Left LabelType Static - LabelString Signature: - LabelFont + LabelString "Signature:" + LabelFont Series Bold Shape Italic Color red @@ -92,48 +97,39 @@ End Style Closing CopyStyle Signature LatexName closing - LeftMargin Signature::xx - LabelString Closing: + LabelString "Closing:" End Style cc - Margin Static - LatexType Command + CopyStyle Signature LatexName cc - LeftMargin cc:xx - LabelSep xx - TopSep 0.4 - BottomSep 0.4 - ParSep 0.4 - Align Block - AlignPossible Block, Left - LabelType Static - LabelString cc: + LabelString "cc:" + LabelFont + Series Bold + Shape Italic + Color green + EndFont End Style encl CopyStyle cc LatexName encl - LeftMargin encl:xx - LabelString encl: + LabelString "encl:" Spacing Other 1.5 End Style Location - CopyStyle encl - LatexName location - LeftMargin Location:xx - LabelString Location: + CopyStyle cc + LatexName thispagestyle{firstpage}\location + LabelString "Location:" End Style Telephone - CopyStyle encl - LatexName telephone - LeftMargin Telephone:xx - LabelString Telephone: + CopyStyle cc + LatexName thispagestyle{firstpage}\telephone + LabelString "Telephone:" End -