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
26 # the LeftMargin is set to the probably longest string
27 # (no typo! the umlaut is delibarately omitted)
31 LeftMargin "Rucksende-Adresse:"
45 # in dinbrief, this is an environment spanning the whole letter
46 # (see scrlettr2 for an alternative lyx-implementation)
49 LabelString "Address:"
55 # Data Fields, placed according to DIN norm
56 # ---------------------------------------------------------
58 # need to be placed before the Opening in the LyX document!
60 # backaddress in letter head
63 LabelString "Sender Address:"
67 AlignPossible Block, Left, Right, Center
70 # backaddress in address window
71 Style "Return address"
73 LabelString "Backaddress:"
80 # Printed above the address (e.g., Air Mail, Registered Mail)
81 Style "Postal comment"
83 LabelString "Postal Remark:"
87 # Printed right next to Receiver (e.g., Urgent, Confidential)
90 LabelString "Handling:"
96 LabelString "Your ref.:"
102 LabelString "Our ref.:"
108 LabelString "Writer:"
114 LabelString "Signature:"
118 # contact info at the bottom of the first page
121 LabelString "Bottom text:"
123 AlignPossible Block, Left, Right, Center
126 # dinbrief's \phone has 2 args, area and number,
127 # define both as distinct styles
131 LabelString "Area Code:"
132 LatexName "renewcommand{\areacode}"
137 LabelString "Telephone:"
139 LatexParam {\areacode}
144 LabelString "Location:"
146 Margin Right_Address_Box
158 # dinbrief does not emphasize the subject line
161 LabelString "Subject:"
167 AlignPossible Block, Left, Right, Center
173 # sets the above data fields
177 LabelType Top_Environment
179 LabelString "Opening:"
186 # Backmatter (styles to be used at the end of the letter)
187 # -------------------------------------------------------
189 # placed in order of appearance in the document
193 LabelString "Closing:"
222 LabelString "Post Scriptum:"
225 AlignPossible Block, Left
229 # Obsoleted (or differently named) styles
230 # ---------------------------------------
232 # ease conversion from g-brief, scrletter, or letter
236 ObsoletedBy My_Address
241 ObsoletedBy "Return address"
246 ObsoletedBy "Return address"
249 # dinbrief (gm old), g-brief-en, scrletter, ...
251 ObsoletedBy Send_To_Address
254 # g-brief-de, g-brief2
256 ObsoletedBy Send_To_Address
261 ObsoletedBy "Postal comment"
274 # These are identical in this class
291 ObsoletedBy Signature
296 ObsoletedBy Telephone
301 ObsoletedBy Telephone
329 # g-brief-en, g-brief2
344 # in dinbrief, the letter text is in Standard format
383 # Remove auxiliary style