]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/dinbrief.layout
Fix table rotate conversion to 2.0 format
[lyx.git] / lib / layouts / dinbrief.layout
index 1fa52410e0c79849ac0c7ae5144a342833c8daf8..d1ebc18c3b84dfeafc1fd71c36321b456aeb6220 100644 (file)
@@ -1,10 +1,12 @@
 #% Do not delete the line below; configure depends on this
-#  \DeclareLaTeXClass{letter (DIN-Brief, German)}
+#  \DeclareLaTeXClass{DIN-Brief}
+#  \DeclareCategory{Letters}
 # German DIN-Brief textclass definition file.
 # Author : Juergen Vigna <jug@sad.it>
 # 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,
@@ -12,7 +14,7 @@
 # Modified by: Juergen Spitzmueller <spitz@lyx.org>
 #    use English strings, localization is done by gettext!
 
-Format 35
+Format 49
 
 Input letter.layout
 
@@ -26,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:"
@@ -41,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
@@ -59,7 +67,7 @@ End
 
 # backaddress in letter head
 Style My_Address
-       CopyStyle       DinBrief
+       CopyStyle       Addresses
        LabelString     "Sender Address:"
        LatexName       address
        KeepEmpty       1
@@ -69,7 +77,7 @@ End
 
 # backaddress in address window
 Style "Return address"
-       CopyStyle       DinBrief
+       CopyStyle       Addresses
        LabelString     "Backaddress:"
        LatexName       backaddress
        TextFont
@@ -79,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
@@ -111,6 +119,7 @@ End
 
 Style Signature
        CopyStyle       DinBrief
+       Category        Closings
        LabelString     "Signature:"
        LatexName       signature
 End
@@ -174,7 +183,7 @@ End
 
 Style Opening
        CopyStyle       DinBrief
-       LabelType       Top_Environment
+       LabelType       Above
        LeftMargin      ""
        LabelString     "Opening:"
        LatexName       opening
@@ -190,14 +199,19 @@ End
 
 Style Closing
        CopyStyle       Opening
+       Category        Closings
        LabelString     "Closing:"
        LatexName       closing
-       OptionalArgs    1
+       Argument 1
+               LabelString   "Signature|S"
+               Tooltip       "Here you can insert a signature scan"
+       EndArgument
        KeepEmpty       1
 End
 
 Style encl
        CopyStyle       Opening
+       Category        Closings
        LabelString     "encl:"
        LatexName       encl
        TopSep          0.4
@@ -380,6 +394,7 @@ Style Verteiler
        ObsoletedBy     cc
 End
 
-# Remove auxiliary style
+# Remove auxiliary styles
 NoStyle                        DinBrief
+NoStyle                        Addresses