]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/dinbrief.layout
use LatexParam where appropriate
[lyx.git] / lib / layouts / dinbrief.layout
index c30dc4e162f6eabc7f77b6f5755c68147fc9c760..0fd66e8f8adb42404dd6dc534a982a14eeca5379 100644 (file)
@@ -1,5 +1,6 @@
 #% 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>
@@ -12,7 +13,7 @@
 # Modified by: Juergen Spitzmueller <spitz@lyx.org>
 #    use English strings, localization is done by gettext!
 
-Format 19
+Format 41
 
 Input letter.layout
 
@@ -23,10 +24,12 @@ Preamble
 EndPreamble
 
 # auxiliary style copied by other dinbrief styles
+# the LeftMargin is set to the probably longest string
+# (no typo! the umlaut is delibarately omitted)
 Style DinBrief
        LatexType       Command
        Margin          Static
-       LeftMargin      "XXBackaddress:"
+       LeftMargin      "Rucksende-Adresse:"
        Align           Left
        AlignPossible   Left
        LabelType       Static
@@ -190,7 +193,10 @@ Style Closing
        CopyStyle       Opening
        LabelString     "Closing:"
        LatexName       closing
-       OptionalArgs    1
+       Argument 1
+               LabelString   "Signature|S"
+               Tooltip       "Here you can insert a signature scan"
+       EndArgument
        KeepEmpty       1
 End