1 #% Do not delete the line below; configure depends on this
2 # \DeclareLaTeXClass{letter (DIN-Brief, German)}
3 # German DIN-Brief textclass definition file.
4 # Author : Juergen Vigna <jug@sad.it>
5 # Modified by: Carsten Kaemmerer <kammerer@ips.cs.tu-bs.de>
6 # Modified by: Guenter Milde <g.milde@users.berlios.de>
7 # Dummy Style DinBrief for common layout features (removed at eof)
8 # Generic style names (there are german translations for most names)
9 # Additional Styles and twiddeled layout
10 # Many "ObsoletedBy" to ease conversion from g-brief, scrletter,
11 # or letter (see also the update of the dinbrief.lyx template)
12 # Modified by: Juergen Spitzmueller <spitz@lyx.org>
13 # use English strings, localization is done by gettext!
19 # dinbrief's \phone has 2 args, area and number. We define an empty
20 # command that can be set by the Area_Code style
22 \newcommand{\areacode}{}
25 # auxiliary style copied by other dinbrief styles
29 LeftMargin "XXBackaddress:"
43 # in dinbrief, this is an environment spanning the whole letter
44 # (see scrlettr2 for an alternative lyx-implementation)
47 LabelString "Address:"
53 # Data Fields, placed according to DIN norm
54 # ---------------------------------------------------------
56 # need to be placed before the Opening in the LyX document!
58 # backaddress in letter head
61 LabelString "Sender Address:"
65 AlignPossible Block, Left, Right, Center
68 # backaddress in address window
69 Style "Return address"
71 LabelString "Backaddress:"
78 # Printed above the address (e.g., Air Mail, Registered Mail)
79 Style "Postal comment"
81 LabelString "Postal Remark:"
85 # Printed right next to Receiver (e.g., Urgent, Confidential)
88 LabelString "Handling:"
94 LabelString "Your ref.:"
100 LabelString "Our ref.:"
106 LabelString "Writer:"
112 LabelString "Signature:"
116 # contact info at the bottom of the first page
119 LabelString "Bottom text:"
121 AlignPossible Block, Left, Right, Center
124 # dinbrief's \phone has 2 args, area and number,
125 # define both as distinct styles
129 LabelString "Area Code:"
130 LatexName "renewcommand{\areacode}"
135 LabelString "Telephone:"
137 LatexParam {\areacode}
142 LabelString "Location:"
144 Margin Right_Address_Box
156 # dinbrief does not emphasize the subject line
159 LabelString "Subject:"
165 AlignPossible Block, Left, Right, Center
171 # sets the above data fields
175 LabelType Top_Environment
177 LabelString "Opening:"
184 # Backmatter (styles to be used at the end of the letter)
185 # -------------------------------------------------------
187 # placed in order of appearance in the document
191 LabelString "Closing:"
220 LabelString "Post Scriptum:"
223 AlignPossible Block, Left
227 # Obsoleted (or differently named) styles
228 # ---------------------------------------
230 # ease conversion from g-brief, scrletter, or letter
234 ObsoletedBy My_Address
239 ObsoletedBy "Return address"
244 ObsoletedBy "Return address"
247 # dinbrief (gm old), g-brief-en, scrletter, ...
249 ObsoletedBy Send_To_Address
252 # g-brief-de, g-brief2
254 ObsoletedBy Send_To_Address
259 ObsoletedBy "Postal comment"
272 # These are identical in this class
289 ObsoletedBy Signature
294 ObsoletedBy Telephone
299 ObsoletedBy Telephone
327 # g-brief-en, g-brief2
342 # in dinbrief, the letter text is in Standard format
381 # Remove auxiliary style