]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/dinbrief.layout
cosmetics
[lyx.git] / lib / layouts / dinbrief.layout
index 15f0e747878f35a18d1665d899e33c4494effcdd..d1ebc18c3b84dfeafc1fd71c36321b456aeb6220 100644 (file)
@@ -6,6 +6,7 @@
 # Modified by: Carsten Kaemmerer <kammerer@ips.cs.tu-bs.de>
 # Modified by: Guenter Milde <g.milde@users.berlios.de>
 #    Dummy Style DinBrief for common layout features (removed at eof)
+#    Dummy Style Addresses for common address features (removed at eof)
 #    Generic style names (there are german translations for most names)
 #    Additional Styles and twiddeled layout
 #    Many "ObsoletedBy" to ease conversion from g-brief, scrletter,
@@ -13,7 +14,7 @@
 # Modified by: Juergen Spitzmueller <spitz@lyx.org>
 #    use English strings, localization is done by gettext!
 
-Format 40
+Format 49
 
 Input letter.layout
 
@@ -27,6 +28,7 @@ EndPreamble
 # the LeftMargin is set to the probably longest string
 # (no typo! the umlaut is delibarately omitted)
 Style DinBrief
+       Category        Letter
        LatexType       Command
        Margin          Static
        LeftMargin      "Rucksende-Adresse:"
@@ -42,11 +44,16 @@ Style DinBrief
        EndFont
 End
 
+Style Addresses
+       CopyStyle       DinBrief
+       Category        "Postal Data"
+End
+
 # Open a new letter
 # in dinbrief, this is an environment spanning the whole letter
 # (see scrlettr2 for an alternative lyx-implementation)
 Style Send_To_Address
-       CopyStyle       DinBrief
+       CopyStyle       Addresses
        LabelString     "Address:"
        KeepEmpty       1
        BottomSep       0.1
@@ -60,7 +67,7 @@ End
 
 # backaddress in letter head
 Style My_Address
-       CopyStyle       DinBrief
+       CopyStyle       Addresses
        LabelString     "Sender Address:"
        LatexName       address
        KeepEmpty       1
@@ -70,7 +77,7 @@ End
 
 # backaddress in address window
 Style "Return address"
-       CopyStyle       DinBrief
+       CopyStyle       Addresses
        LabelString     "Backaddress:"
        LatexName       backaddress
        TextFont
@@ -80,14 +87,14 @@ End
 
 # Printed above the address (e.g., Air Mail, Registered Mail)
 Style "Postal comment"
-       CopyStyle       DinBrief
+       CopyStyle       Addresses
        LabelString     "Postal Remark:"
        LatexName       postremark
 End
 
 # Printed right next to Receiver (e.g., Urgent, Confidential)
 Style Handling
-       CopyStyle       DinBrief
+       CopyStyle       Addresses
        LabelString     "Handling:"
        LatexName       handling
 End
@@ -112,6 +119,7 @@ End
 
 Style Signature
        CopyStyle       DinBrief
+       Category        Closings
        LabelString     "Signature:"
        LatexName       signature
 End
@@ -175,7 +183,7 @@ End
 
 Style Opening
        CopyStyle       DinBrief
-       LabelType       Top_Environment
+       LabelType       Above
        LeftMargin      ""
        LabelString     "Opening:"
        LatexName       opening
@@ -191,11 +199,11 @@ End
 
 Style Closing
        CopyStyle       Opening
+       Category        Closings
        LabelString     "Closing:"
        LatexName       closing
        Argument 1
-               LabelString   "Signature"
-               Shortcut      S
+               LabelString   "Signature|S"
                Tooltip       "Here you can insert a signature scan"
        EndArgument
        KeepEmpty       1
@@ -203,6 +211,7 @@ End
 
 Style encl
        CopyStyle       Opening
+       Category        Closings
        LabelString     "encl:"
        LatexName       encl
        TopSep          0.4
@@ -385,6 +394,7 @@ Style Verteiler
        ObsoletedBy     cc
 End
 
-# Remove auxiliary style
+# Remove auxiliary styles
 NoStyle                        DinBrief
+NoStyle                        Addresses