X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Flayouts%2Fstdletter.inc;h=f1fd43725738f41b1c8a33186015b96ab85ec74a;hb=7195abcb4f404b4b00270a5f5514c5290c95a9b6;hp=99fdc5db87386e5732d800958b49615748e9cef5;hpb=28f4beaefac5839f6ba7fae615d46a6ba107486d;p=lyx.git diff --git a/lib/layouts/stdletter.inc b/lib/layouts/stdletter.inc index 99fdc5db87..f1fd437257 100644 --- a/lib/layouts/stdletter.inc +++ b/lib/layouts/stdletter.inc @@ -1,22 +1,13 @@ -# Letter textclass definition file. +# Letter textclass definition file. # Author : Matthias Ettrich # Heavily modifed and enhanced by several developers. -# General textclass parameters + +Format 40 Columns 1 Sides 1 PageStyle Empty -# This is just to show how to declare the default font. -# The defaults are exactly those shown here. -DefaultFont - Family Roman - Series Medium - Shape Up - Size Normal - Color None -EndFont - Style Standard Margin Static @@ -38,7 +29,6 @@ Style My_Address BottomSep 1.5 ParSep 1.5 Align Left - AlignPossible Left End @@ -46,7 +36,7 @@ Style Send_To_Address Margin Static LatexType Command LatexName letter - KeepEmpty 1 + KeepEmpty 1 ParSkip 0.4 BottomSep 1.5 ParSep 1.5 @@ -60,8 +50,8 @@ Style Opening Margin Static LatexType Command LatexName opening - KeepEmpty 1 - LeftMargin Signature::xx + KeepEmpty 1 + LeftMargin Signature:xx LabelSep xx TopSep 0.4 BottomSep 0.4 @@ -69,9 +59,8 @@ Style Opening Align Block AlignPossible Block, Left LabelType Static - LabelString Opening: - - LabelFont + LabelString "Opening:" + LabelFont Series Bold Shape Italic Color red @@ -83,7 +72,7 @@ Style Signature Margin Static LatexType Command LatexName signature - LeftMargin Signature::xx + LeftMargin Signature:xx LabelSep xx TopSep 0.4 BottomSep 0.4 @@ -91,9 +80,8 @@ Style Signature Align Block AlignPossible Block, Left LabelType Static - LabelString Signature: - - LabelFont + LabelString "Signature:" + LabelFont Series Bold Shape Italic Color red @@ -102,89 +90,41 @@ End Style Closing - Margin Static - LatexType Command + CopyStyle Signature LatexName closing - LeftMargin Signature::xx - LabelSep xx - TopSep 0.4 - BottomSep 0.4 - ParSep 0.4 - Align Block - AlignPossible Block, Left - LabelType Static - LabelString Closing: - - LabelFont - Series Bold - Shape Italic - Color red - EndFont + 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 - Margin Static - LatexType Command + CopyStyle cc LatexName encl - LeftMargin encl:xx - LabelSep xx - TopSep 0.4 - BottomSep 0.4 - ParSep 0.4 - Align Block - AlignPossible Block, Left - LabelType Static - LabelString encl: + LabelString "encl:" Spacing Other 1.5 End Style Location - Margin Static - LatexType Command - LatexName location - LeftMargin Location:xx - LabelSep xx - TopSep 0.4 - BottomSep 0.4 - ParSep 0.4 - Align Block - AlignPossible Block, Left - LabelType Static - LabelString Location: - Spacing Other 1.5 + CopyStyle cc + LatexName thispagestyle{firstpage}\location + LabelString "Location:" End Style Telephone - Margin Static - LatexType Command - LatexName telephone - LeftMargin Telephone:xx - LabelSep xx - TopSep 0.4 - BottomSep 0.4 - ParSep 0.4 - Align Block - AlignPossible Block, Left - LabelType Static - LabelString Telephone: - Spacing Other 1.5 + CopyStyle cc + LatexName thispagestyle{firstpage}\telephone + LabelString "Telephone:" End