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 <milde@lyx.org>
8 # Dummy Style DinBrief for common layout features (removed at eof)
9 # Dummy Style Addresses for common address features (removed at eof)
10 # Generic style names (there are german translations for most names)
11 # Additional Styles and twiddeled layout
12 # Many "ObsoletedBy" to ease conversion from g-brief, scrletter,
13 # or letter (see also the update of the dinbrief.lyx template)
14 # Modified by: Juergen Spitzmueller <spitz@lyx.org>
15 # use English strings, localization is done by gettext!
21 # dinbrief's \phone has 2 args, area and number. We define an empty
22 # command that can be set by the Area_Code style
24 \newcommand{\areacode}{}
27 # auxiliary style copied by other dinbrief styles
28 # the LeftMargin is set to the probably longest string
29 # (no typo! the umlaut is delibarately omitted)
34 LeftMargin "Rucksende-Adresse:"
49 Category "Postal Data"
53 # in dinbrief, this is an environment spanning the whole letter
54 # (see scrlettr2 for an alternative lyx-implementation)
57 LabelString "Address:"
63 # Data Fields, placed according to DIN norm
64 # ---------------------------------------------------------
66 # need to be placed before the Opening in the LyX document!
68 # backaddress in letter head
71 LabelString "Sender Address:"
75 AlignPossible Block, Left, Right, Center
78 # backaddress in address window
79 Style "Return address"
81 LabelString "Backaddress:"
88 # Printed above the address (e.g., Air Mail, Registered Mail)
89 Style "Postal comment"
91 LabelString "Postal Remark:"
95 # Printed right next to Receiver (e.g., Urgent, Confidential)
98 LabelString "Handling:"
104 LabelString "Your ref.:"
110 LabelString "Our ref.:"
116 LabelString "Writer:"
123 LabelString "Signature:"
127 # contact info at the bottom of the first page
130 LabelString "Bottom text:"
132 AlignPossible Block, Left, Right, Center
135 # dinbrief's \phone has 2 args, area and number,
136 # define both as distinct styles
140 LabelString "Area Code:"
141 LatexName "renewcommand{\areacode}"
146 LabelString "Telephone:"
148 LatexParam {\areacode}
153 LabelString "Location:"
155 Margin Right_Address_Box
167 # dinbrief does not emphasize the subject line
170 LabelString "Subject:"
176 AlignPossible Block, Left, Right, Center
182 # sets the above data fields
188 LabelString "Opening:"
195 # Backmatter (styles to be used at the end of the letter)
196 # -------------------------------------------------------
198 # placed in order of appearance in the document
203 LabelString "Closing:"
206 LabelString "Signature|S"
207 Tooltip "Here you can insert a signature scan"
236 LabelString "Post Scriptum:"
239 AlignPossible Block, Left
243 # Obsoleted (or differently named) styles
244 # ---------------------------------------
246 # ease conversion from g-brief, scrletter, or letter
250 ObsoletedBy My_Address
255 ObsoletedBy "Return address"
260 ObsoletedBy "Return address"
263 # dinbrief (gm old), g-brief-en, scrletter, ...
265 ObsoletedBy Send_To_Address
268 # g-brief-de, g-brief2
270 ObsoletedBy Send_To_Address
275 ObsoletedBy "Postal comment"
288 # These are identical in this class
305 ObsoletedBy Signature
310 ObsoletedBy Telephone
315 ObsoletedBy Telephone
343 # g-brief-en, g-brief2
358 # in dinbrief, the letter text is in Standard format
397 # Remove auxiliary styles