]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/stdletter.inc
Allow literate documents other than noweb to work out of the box. Currently
[lyx.git] / lib / layouts / stdletter.inc
index df535be49a0f81c004d5b919918b1ea3899d608c..a9e282ec24fed728ac78138298836d24285d26ec 100644 (file)
@@ -1,8 +1,9 @@
-# Letter textclass definition file. 
+# Letter textclass definition file.
 # Author : Matthias Ettrich <ettrich@informatik.uni-tuebingen.de>
 # Heavily modifed and enhanced by several developers.
 
 
+Format 11
 Columns                 1
 Sides                   1
 PageStyle               Empty
@@ -28,7 +29,6 @@ Style My_Address
        BottomSep             1.5
        ParSep                1.5
        Align                 Left
-       AlignPossible         Left
 End
 
 
@@ -36,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
@@ -50,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
@@ -59,8 +59,8 @@ Style Opening
        Align                 Block
        AlignPossible         Block, Left
        LabelType             Static
-       LabelString           Opening:
-       LabelFont 
+       LabelString           "Opening:"
+       LabelFont
          Series              Bold
          Shape               Italic
          Color               red
@@ -72,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
@@ -80,8 +80,8 @@ Style Signature
        Align                 Block
        AlignPossible         Block, Left
        LabelType             Static
-       LabelString           Signature:
-       LabelFont 
+       LabelString           "Signature:"
+       LabelFont
          Series              Bold
          Shape               Italic
          Color               red
@@ -92,48 +92,40 @@ 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