X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Flayouts%2Fdinbrief.layout;h=6e62aadb6dbf13c7937b857469803b13d19c707b;hb=7cb50d70086faafb22a7dd8ca779278a0f9310e9;hp=176483d3a9cf30d01752352665058a46fe76e6cc;hpb=b0aa0db10aae4a51d48f060e642f05542e89f370;p=lyx.git diff --git a/lib/layouts/dinbrief.layout b/lib/layouts/dinbrief.layout index 176483d3a9..6e62aadb6d 100644 --- a/lib/layouts/dinbrief.layout +++ b/lib/layouts/dinbrief.layout @@ -4,8 +4,9 @@ # German DIN-Brief textclass definition file. # Author : Juergen Vigna # Modified by: Carsten Kaemmerer -# Modified by: Guenter Milde +# Modified by: Guenter Milde # 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 # use English strings, localization is done by gettext! -Format 42 +Format 81 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,6 +199,7 @@ End Style Closing CopyStyle Opening + Category Closings LabelString "Closing:" LatexName closing Argument 1 @@ -202,6 +211,7 @@ End Style encl CopyStyle Opening + Category Closings LabelString "encl:" LatexName encl TopSep 0.4 @@ -384,6 +394,7 @@ Style Verteiler ObsoletedBy cc End -# Remove auxiliary style +# Remove auxiliary styles NoStyle DinBrief +NoStyle Addresses