#% 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,
# Modified by: Juergen Spitzmueller <spitz@lyx.org>
# use English strings, localization is done by gettext!
-Format 29
+Format 68
Input letter.layout
# 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:"
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
# backaddress in letter head
Style My_Address
- CopyStyle DinBrief
+ CopyStyle Addresses
LabelString "Sender Address:"
LatexName address
KeepEmpty 1
# backaddress in address window
Style "Return address"
- CopyStyle DinBrief
+ CopyStyle Addresses
LabelString "Backaddress:"
LatexName backaddress
TextFont
# 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
Style Signature
CopyStyle DinBrief
+ Category Closings
LabelString "Signature:"
LatexName signature
End
Style Opening
CopyStyle DinBrief
- LabelType Top_Environment
+ LabelType Above
LeftMargin ""
LabelString "Opening:"
LatexName opening
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
ObsoletedBy cc
End
-# Remove auxiliary style
+# Remove auxiliary styles
NoStyle DinBrief
+NoStyle Addresses