]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/stdletter.inc
RJournal template and layout: move ERTs to layout
[lyx.git] / lib / layouts / stdletter.inc
index 7511f4f169d5fd8feea46851364eb1733d3db5b0..ed2ce8729f6ea273d4c36a9c02b916571ba1a836 100644 (file)
@@ -3,12 +3,14 @@
 # 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,11 +31,11 @@ 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
@@ -47,11 +50,12 @@ End
 
 
 Style Opening
+       Category              Letter
        Margin                Static
        LatexType             Command
        LatexName             opening
        KeepEmpty             1
-       LeftMargin            Signature::xx
+       LeftMargin            Signature:xx
        LabelSep              xx
        TopSep                0.4
        BottomSep             0.4
@@ -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
@@ -92,48 +97,39 @@ End
 Style Closing
        CopyStyle             Signature
        LatexName             closing
-       LeftMargin            Signature::xx
        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:"
+       LabelFont
+         Series              Bold
+         Shape               Italic
+         Color               green
+       EndFont
 End
 
 
 Style encl
        CopyStyle             cc
        LatexName             encl
-       LeftMargin            encl:xx
        LabelString           "encl:"
        Spacing               Other 1.5
 End
 
 
 Style Location
-       CopyStyle             encl
-       LatexName             location
-       LeftMargin            Location:xx
+       CopyStyle             cc
+       LatexName             thispagestyle{firstpage}\location
        LabelString           "Location:"
 End
 
 
 Style Telephone
-       CopyStyle             encl
-       LatexName             telephone
-       LeftMargin            Telephone:xx
+       CopyStyle             cc
+       LatexName             thispagestyle{firstpage}\telephone
        LabelString           "Telephone:"
 End
-