]> git.lyx.org Git - lyx.git/blob - lib/examples/de/serienbrief3.lyx
Amend and extend 9f3518bc
[lyx.git] / lib / examples / de / serienbrief3.lyx
1 #LyX 2.2 created this file. For more info see http://www.lyx.org/
2 \lyxformat 508
3 \begin_document
4 \begin_header
5 \save_transient_properties true
6 \origin /systemlyxdir/examples/de/
7 \textclass scrlttr2
8 \begin_preamble
9 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%
10 %% Here you can modify the layout of your letter
11 %% Have a look at the KOMA script documentation
12 %% for details. Most commands are commented out
13 %% here (i.e. we use default settings)
14 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%
15
16 %% Load an *.lco style file (see KOMA documentation)
17 \LoadLetterOption{DIN}%                          
18
19 %% THE CLASS OPTIONS
20 %% Remove preceeding '%' to uncomment an item
21 \KOMAoptions{%
22 %headsepline=true,%            separate the header with a line on page >1
23 %footsepline=true,%             separate the footer with a line on page >1
24 %pagenumber=botcenter,%   position of the page number (see docu)
25 %parskip=false,%          Use indent instead of skip (more options cf. docu)
26 fromalign=center,%        alignment of the address
27 fromrule=aftername,%    separate the address with a line?
28 fromphone=true,%         print sender phone number
29 %fromfax=true,%          print sender fax number
30 fromemail=true,%           print sender e-mail address
31 fromurl=true%               print sender URL
32 %fromlogo=true,%         print a logo (position depends on fromalign)
33 %addrfield=false,%        print an address field?
34 %backaddress=false,%  print the back address?
35 %subject=afteropening,titled,% alternative subject layout and position
36 %locfield=narrow,%      width of the (extra) location field
37 %foldmarks=false,%      print foldmarks?
38 %numericaldate=true,%  date layout
39 %refline=wide%             layout of the refline
40 }
41
42 %% Customize Separators
43 %\setkomavar{placeseparator}{ -- }
44 \setkomavar{backaddressseparator}{ $\cdot$ }
45 %\setkomavar{emailseparator}{ --> }
46 %\setkomavar{enclseparator}{ > }
47 %\setkomavar{faxseparator}{ --> }
48 %\setkomavar{phoneseparator}{ --> }
49 %\setkomavar{subjectseparator}{ >>> }
50
51 %% Customize fonts
52 %% Use LaTeX's standard font commands
53 %% Modify with \setkomafont or \addtokomafont
54 %% (see KOMA documentation)
55 \setkomafont{backaddress}{\rmfamily}
56 %\setkomafont{descriptionlabel}{}
57 \setkomafont{fromaddress}{\small}
58 \setkomafont{fromname}{\scshape}
59 %\setkomafont{pagefoot}{}
60 %\setkomafont{pagehead}{}
61 %\setkomafont{pagenumber}{}
62 %\setkomafont{subject}{}
63 %\setkomafont{title}{}
64 \end_preamble
65 \use_default_options false
66 \maintain_unincluded_children false
67 \language ngerman
68 \language_package default
69 \inputencoding auto
70 \fontencoding global
71 \font_roman "palatino" "default"
72 \font_sans "default" "default"
73 \font_typewriter "default" "default"
74 \font_math "auto" "auto"
75 \font_default_family default
76 \use_non_tex_fonts false
77 \font_sc false
78 \font_osf false
79 \font_sf_scale 100 100
80 \font_tt_scale 100 100
81 \graphics default
82 \default_output_format default
83 \output_sync 0
84 \bibtex_command default
85 \index_command default
86 \paperfontsize 11
87 \spacing other 1.15
88 \use_hyperref true
89 \pdf_bookmarks false
90 \pdf_bookmarksnumbered false
91 \pdf_bookmarksopen false
92 \pdf_bookmarksopenlevel 1
93 \pdf_breaklinks false
94 \pdf_pdfborder true
95 \pdf_colorlinks false
96 \pdf_backref false
97 \pdf_pdfusetitle false
98 \papersize default
99 \use_geometry false
100 \use_package amsmath 0
101 \use_package amssymb 0
102 \use_package cancel 0
103 \use_package esint 0
104 \use_package mathdots 1
105 \use_package mathtools 0
106 \use_package mhchem 1
107 \use_package stackrel 0
108 \use_package stmaryrd 0
109 \use_package undertilde 0
110 \cite_engine basic
111 \cite_engine_type default
112 \biblio_style plain
113 \use_bibtopic false
114 \use_indices false
115 \paperorientation portrait
116 \suppress_date false
117 \justification true
118 \use_refstyle 0
119 \index Stichwortverzeichnis
120 \shortcut idx
121 \color #008000
122 \end_index
123 \secnumdepth 3
124 \tocdepth 3
125 \paragraph_separation skip
126 \defskip medskip
127 \quotes_language german
128 \papercolumns 1
129 \papersides 1
130 \paperpagestyle default
131 \tracking_changes false
132 \output_changes false
133 \html_math_output 0
134 \html_css_as_file 0
135 \html_be_strict false
136 \end_header
137
138 \begin_body
139
140 \begin_layout Name
141 Das \SpecialChar LyX
142 -Entwicklerteam
143 \end_layout
144
145 \begin_layout SenderAddress
146 Planstr.
147  140
148 \begin_inset Newline newline
149 \end_inset
150
151 99999 Planstadt
152 \end_layout
153
154 \begin_layout Telephone
155 0011/222
156 \begin_inset space \thinspace{}
157 \end_inset
158
159 333
160 \end_layout
161
162 \begin_layout E-Mail
163 lyx-users@lists.lyx.org
164 \end_layout
165
166 \begin_layout URL
167 www.lyx.org
168 \end_layout
169
170 \begin_layout Backaddress
171 Das \SpecialChar LyX
172 -Entwicklerteam
173 \begin_inset Newline newline
174 \end_inset
175
176 Planstr.
177  140
178 \begin_inset Newline newline
179 \end_inset
180
181 99999 Planstadt
182 \end_layout
183
184 \begin_layout Signature
185 Das \SpecialChar LyX
186 -Team
187 \end_layout
188
189 \begin_layout Subject
190 Neues KOMA-Brief-Layout
191 \end_layout
192
193 \begin_layout Place
194 Im Internet
195 \end_layout
196
197 \begin_layout Date
198 \begin_inset ERT
199 status collapsed
200
201 \begin_layout Plain Layout
202
203
204 \backslash
205 today
206 \end_layout
207
208 \end_inset
209
210
211 \end_layout
212
213 \begin_layout Standard
214 \begin_inset ERT
215 status open
216
217 \begin_layout Plain Layout
218
219
220 \backslash
221 renewcommand*{
222 \backslash
223 adrentry}[8]{
224 \end_layout
225
226 \end_inset
227
228
229 \end_layout
230
231 \begin_layout Standard
232 \begin_inset ERT
233 status open
234
235 \begin_layout Plain Layout
236
237
238 \backslash
239 if #5f
240 \end_layout
241
242 \end_inset
243
244
245 \begin_inset Note Note
246 status open
247
248 \begin_layout Plain Layout
249 wenn Person weiblich ist
250 \end_layout
251
252 \end_inset
253
254
255 \end_layout
256
257 \begin_layout Address
258 Frau 
259 \begin_inset ERT
260 status collapsed
261
262 \begin_layout Plain Layout
263
264 #2 #1
265 \backslash
266
267 \backslash
268
269 \end_layout
270
271 \begin_layout Plain Layout
272
273 #3
274 \end_layout
275
276 \end_inset
277
278
279 \end_layout
280
281 \begin_layout Opening
282 Sehr geehrte Frau 
283 \begin_inset ERT
284 status collapsed
285
286 \begin_layout Plain Layout
287
288 #1
289 \end_layout
290
291 \end_inset
292
293 ,
294 \end_layout
295
296 \begin_layout Standard
297 dieses Beispiel zeigt einen Serienbrief an 
298 \series bold
299 alle weiblichen Personen
300 \series default
301  der Adressdatenbank.
302  Der Aufbau von Adressdatenbanken ist in der unten angegebenen Dokumentation
303  beschrieben.
304 \end_layout
305
306 \begin_layout Standard
307 Die Vorlage beschreibt den Gebrauch der neuen scrlttr2-Klasse, die mit KOMA-Scri
308 pt 2.9 eingeführt wurde.
309  Diese, den europäischen Bedürfnissen angepasste Klasse, ist sehr flexibel.
310  Im \SpecialChar LyX
311 -Menü 
312 \family sans
313 Dokument\SpecialChar menuseparator
314 Einstellungen\SpecialChar menuseparator
315 \SpecialChar LaTeX
316 -Vorspann
317 \family default
318  finden sich die Einstellmöglichkeiten der meisten gebräuchlichen Parameter.
319  Die KOMA
320 \begin_inset ERT
321 status collapsed
322
323 \begin_layout Plain Layout
324
325 "=
326 \end_layout
327
328 \end_inset
329
330 Script
331 \begin_inset ERT
332 status collapsed
333
334 \begin_layout Plain Layout
335
336 "=
337 \end_layout
338
339 \end_inset
340
341 Dokumentation
342 \begin_inset Foot
343 status collapsed
344
345 \begin_layout Plain Layout
346 \begin_inset CommandInset href
347 LatexCommand href
348 target "http://mirrors.ctan.org/macros/latex/contrib/koma-script/doc/scrguide.pdf"
349
350 \end_inset
351
352
353 \end_layout
354
355 \end_inset
356
357  liefert weitere Hinweise.
358 \end_layout
359
360 \begin_layout Closing
361 Viel Spaß!
362 \end_layout
363
364 \begin_layout PS
365 P.
366 \begin_inset space \thinspace{}
367 \end_inset
368
369 S.: Blaufarbige Items sollen vor der Adresse eingefügt werden, magentafarbige
370  danach.
371 \end_layout
372
373 \begin_layout CC
374 Die \SpecialChar LyX
375 -User
376 \end_layout
377
378 \begin_layout EndLetter
379 \begin_inset Note Note
380 status collapsed
381
382 \begin_layout Plain Layout
383 keep this environment empty
384 \end_layout
385
386 \end_inset
387
388
389 \end_layout
390
391 \begin_layout Standard
392 \begin_inset ERT
393 status open
394
395 \begin_layout Plain Layout
396
397
398 \backslash
399 fi
400 \end_layout
401
402 \end_inset
403
404
405 \begin_inset Note Note
406 status collapsed
407
408 \begin_layout Plain Layout
409 Schließt obigen 
410 \series bold
411
412 \backslash
413 if
414 \series default
415  Befehl ab.
416 \end_layout
417
418 \end_inset
419
420
421 \end_layout
422
423 \begin_layout Standard
424 \begin_inset ERT
425 status open
426
427 \begin_layout Plain Layout
428
429 }
430 \end_layout
431
432 \end_inset
433
434
435 \begin_inset Note Note
436 status collapsed
437
438 \begin_layout Plain Layout
439 Schließt obigen 
440 \series bold
441
442 \backslash
443 renewcommand*
444 \series default
445  Befehl ab.
446 \end_layout
447
448 \end_inset
449
450
451 \end_layout
452
453 \begin_layout Standard
454 \begin_inset CommandInset include
455 LatexCommand input
456 filename "../addressExample.adr"
457
458 \end_inset
459
460
461 \end_layout
462
463 \end_body
464 \end_document