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)
33 LeftMargin "Rucksende-Adresse:"
47 # in dinbrief, this is an environment spanning the whole letter
48 # (see scrlettr2 for an alternative lyx-implementation)
51 LabelString "Address:"
57 # Data Fields, placed according to DIN norm
58 # ---------------------------------------------------------
60 # need to be placed before the Opening in the LyX document!
62 # backaddress in letter head
65 LabelString "Sender Address:"
69 AlignPossible Block, Left, Right, Center
72 # backaddress in address window
73 Style "Return address"
75 LabelString "Backaddress:"
82 # Printed above the address (e.g., Air Mail, Registered Mail)
83 Style "Postal comment"
85 LabelString "Postal Remark:"
89 # Printed right next to Receiver (e.g., Urgent, Confidential)
92 LabelString "Handling:"
98 LabelString "Your ref.:"
104 LabelString "Our ref.:"
110 LabelString "Writer:"
116 LabelString "Signature:"
120 # contact info at the bottom of the first page
123 LabelString "Bottom text:"
125 AlignPossible Block, Left, Right, Center
128 # dinbrief's \phone has 2 args, area and number,
129 # define both as distinct styles
133 LabelString "Area Code:"
134 LatexName "renewcommand{\areacode}"
139 LabelString "Telephone:"
141 LatexParam {\areacode}
146 LabelString "Location:"
148 Margin Right_Address_Box
160 # dinbrief does not emphasize the subject line
163 LabelString "Subject:"
169 AlignPossible Block, Left, Right, Center
175 # sets the above data fields
179 LabelType Top_Environment
181 LabelString "Opening:"
188 # Backmatter (styles to be used at the end of the letter)
189 # -------------------------------------------------------
191 # placed in order of appearance in the document
195 LabelString "Closing:"
198 LabelString "Signature|S"
199 Tooltip "Here you can insert a signature scan"
227 LabelString "Post Scriptum:"
230 AlignPossible Block, Left
234 # Obsoleted (or differently named) styles
235 # ---------------------------------------
237 # ease conversion from g-brief, scrletter, or letter
241 ObsoletedBy My_Address
246 ObsoletedBy "Return address"
251 ObsoletedBy "Return address"
254 # dinbrief (gm old), g-brief-en, scrletter, ...
256 ObsoletedBy Send_To_Address
259 # g-brief-de, g-brief2
261 ObsoletedBy Send_To_Address
266 ObsoletedBy "Postal comment"
279 # These are identical in this class
296 ObsoletedBy Signature
301 ObsoletedBy Telephone
306 ObsoletedBy Telephone
334 # g-brief-en, g-brief2
349 # in dinbrief, the letter text is in Standard format
388 # Remove auxiliary style