X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Flayouts%2Fstdletter.inc;h=ed2ce8729f6ea273d4c36a9c02b916571ba1a836;hb=4beba4e8f87ca218473448caf10563b99faf7b21;hp=9bb39cf3994f6f2e8807252b8f33d51bc04cbd7a;hpb=9359baacf89c4586751e60e45d711eaa3a2c9335;p=lyx.git diff --git a/lib/layouts/stdletter.inc b/lib/layouts/stdletter.inc index 9bb39cf399..ed2ce8729f 100644 --- a/lib/layouts/stdletter.inc +++ b/lib/layouts/stdletter.inc @@ -1,194 +1,135 @@ -# Letter textclass definition file. +# Letter textclass definition file. # Author : Matthias Ettrich # Heavily modifed and enhanced by several developers. -# General textclass parameters -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 - -# Standard style definition + +Format 45 +Columns 1 +Sides 1 +PageStyle Empty + + Style Standard - Margin Static - LatexType Paragraph - LatexName dummy - ParIndent MM - ParSkip 0.4 - Align Block - AlignPossible Block, Left, Right, Center - LabelType No_Label + Category MainText + Margin Static + LatexType Paragraph + LatexName dummy + ParIndent MM + ParSkip 0.4 + Align Block + AlignPossible Block, Left, Right, Center + LabelType No_Label End -# My Address style + Style My_Address - Margin Right_Address_Box - LatexType Command - LatexName address - ParSkip 0.4 - BottomSep 1.5 - ParSep 1.5 - Align Left - AlignPossible Left + Category "Postal Data" + Margin Right_Address_Box + LatexType Command + LatexName address + ParSkip 0.4 + BottomSep 1.5 + ParSep 1.5 + Align Left End -# Send_To_Address style definition + Style Send_To_Address - 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 + 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 -# Opening style definition + Style Opening - 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: - - # label font definition - LabelFont - Series Bold - Shape Italic - Color red - EndFont + 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 -# Signature style definition + Style Signature - 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: - - # label font definition - LabelFont - Series Bold - Shape Italic - Color red - EndFont + 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 -# Closing style definition + Style Closing - Margin Static - LatexType Command - 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: - - # label font definition - LabelFont - Series Bold - Shape Italic - Color red - EndFont + CopyStyle Signature + LatexName closing + LabelString "Closing:" End -# cc style definition + Style cc - Margin Static - LatexType Command - 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: + CopyStyle Signature + LatexName cc + LabelString "cc:" + LabelFont + Series Bold + Shape Italic + Color green + EndFont End -# encl style definition + Style encl - Margin Static - LatexType Command - 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: - Spacing Other 1.5 + CopyStyle cc + LatexName encl + LabelString "encl:" + Spacing Other 1.5 End -# Telephone style definition + 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 -# Telephone style definition + 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 -