1 #% Do not delete the line below; configure depends on this
2 # \DeclareLaTeXClass{DIN-Brief}
3 # \DeclareCategory{Letters}
4 # German DIN-Brief textclass definition file.
5 # Author : Juergen Vigna <jug@sad.it>
6 # Modified by: Carsten Kaemmerer <kammerer@ips.cs.tu-bs.de>
7 # Modified by: Guenter Milde <g.milde@users.berlios.de>
8 # Dummy Style DinBrief for common layout features (removed at eof)
9 # Generic style names (there are german translations for most names)
10 # Additional Styles and twiddeled layout
11 # Many "ObsoletedBy" to ease conversion from g-brief, scrletter,
12 # or letter (see also the update of the dinbrief.lyx template)
13 # Modified by: Juergen Spitzmueller <spitz@lyx.org>
14 # use English strings, localization is done by gettext!
20 # dinbrief's \phone has 2 args, area and number. We define an empty
21 # command that can be set by the Area_Code style
23 \newcommand{\areacode}{}
26 # auxiliary style copied by other dinbrief styles
27 # the LeftMargin is set to the probably longest string
28 # (no typo! the umlaut is delibarately omitted)
32 LeftMargin "Rucksende-Adresse:"
46 # in dinbrief, this is an environment spanning the whole letter
47 # (see scrlettr2 for an alternative lyx-implementation)
50 LabelString "Address:"
56 # Data Fields, placed according to DIN norm
57 # ---------------------------------------------------------
59 # need to be placed before the Opening in the LyX document!
61 # backaddress in letter head
64 LabelString "Sender Address:"
68 AlignPossible Block, Left, Right, Center
71 # backaddress in address window
72 Style "Return address"
74 LabelString "Backaddress:"
81 # Printed above the address (e.g., Air Mail, Registered Mail)
82 Style "Postal comment"
84 LabelString "Postal Remark:"
88 # Printed right next to Receiver (e.g., Urgent, Confidential)
91 LabelString "Handling:"
97 LabelString "Your ref.:"
103 LabelString "Our ref.:"
109 LabelString "Writer:"
115 LabelString "Signature:"
119 # contact info at the bottom of the first page
122 LabelString "Bottom text:"
124 AlignPossible Block, Left, Right, Center
127 # dinbrief's \phone has 2 args, area and number,
128 # define both as distinct styles
132 LabelString "Area Code:"
133 LatexName "renewcommand{\areacode}"
138 LabelString "Telephone:"
140 LatexParam {\areacode}
145 LabelString "Location:"
147 Margin Right_Address_Box
159 # dinbrief does not emphasize the subject line
162 LabelString "Subject:"
168 AlignPossible Block, Left, Right, Center
174 # sets the above data fields
178 LabelType Top_Environment
180 LabelString "Opening:"
187 # Backmatter (styles to be used at the end of the letter)
188 # -------------------------------------------------------
190 # placed in order of appearance in the document
194 LabelString "Closing:"
223 LabelString "Post Scriptum:"
226 AlignPossible Block, Left
230 # Obsoleted (or differently named) styles
231 # ---------------------------------------
233 # ease conversion from g-brief, scrletter, or letter
237 ObsoletedBy My_Address
242 ObsoletedBy "Return address"
247 ObsoletedBy "Return address"
250 # dinbrief (gm old), g-brief-en, scrletter, ...
252 ObsoletedBy Send_To_Address
255 # g-brief-de, g-brief2
257 ObsoletedBy Send_To_Address
262 ObsoletedBy "Postal comment"
275 # These are identical in this class
292 ObsoletedBy Signature
297 ObsoletedBy Telephone
302 ObsoletedBy Telephone
330 # g-brief-en, g-brief2
345 # in dinbrief, the letter text is in Standard format
384 # Remove auxiliary style