]> git.lyx.org Git - lyx.git/blob - lib/examples/de/serienbrief1.lyx
Whitespace cosmetics
[lyx.git] / lib / examples / de / serienbrief1.lyx
1 #LyX 2.3 created this file. For more info see http://www.lyx.org/
2 \lyxformat 544
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 \use_microtype false
82 \use_dash_ligatures false
83 \graphics default
84 \default_output_format default
85 \output_sync 0
86 \bibtex_command default
87 \index_command default
88 \paperfontsize 11
89 \spacing other 1.15
90 \use_hyperref true
91 \pdf_bookmarks false
92 \pdf_bookmarksnumbered false
93 \pdf_bookmarksopen false
94 \pdf_bookmarksopenlevel 1
95 \pdf_breaklinks false
96 \pdf_pdfborder true
97 \pdf_colorlinks false
98 \pdf_backref false
99 \pdf_pdfusetitle false
100 \papersize default
101 \use_geometry false
102 \use_package amsmath 0
103 \use_package amssymb 0
104 \use_package cancel 0
105 \use_package esint 0
106 \use_package mathdots 1
107 \use_package mathtools 0
108 \use_package mhchem 1
109 \use_package stackrel 0
110 \use_package stmaryrd 0
111 \use_package undertilde 0
112 \cite_engine basic
113 \cite_engine_type default
114 \biblio_style plain
115 \use_bibtopic false
116 \use_indices false
117 \paperorientation portrait
118 \suppress_date false
119 \justification true
120 \use_refstyle 0
121 \index Stichwortverzeichnis
122 \shortcut idx
123 \color #008000
124 \end_index
125 \secnumdepth 3
126 \tocdepth 3
127 \paragraph_separation skip
128 \defskip medskip
129 \is_math_indent 0
130 \math_numbering_side default
131 \quotes_style german
132 \papercolumns 1
133 \papersides 1
134 \paperpagestyle default
135 \tracking_changes false
136 \output_changes false
137 \html_math_output 0
138 \html_css_as_file 0
139 \html_be_strict false
140 \use_minted 0
141 \end_header
142
143 \begin_body
144
145 \begin_layout Name
146 Das \SpecialChar LyX
147 -Entwicklerteam
148 \end_layout
149
150 \begin_layout SenderAddress
151 Planstr.
152  140
153 \begin_inset Newline newline
154 \end_inset
155
156 99999 Planstadt
157 \end_layout
158
159 \begin_layout Telephone
160 0011/222
161 \begin_inset space \thinspace{}
162 \end_inset
163
164 333
165 \end_layout
166
167 \begin_layout E-Mail
168 lyx-users@lists.lyx.org
169 \end_layout
170
171 \begin_layout URL
172 www.lyx.org
173 \end_layout
174
175 \begin_layout Backaddress
176 Das \SpecialChar LyX
177 -Entwicklerteam
178 \begin_inset Newline newline
179 \end_inset
180
181 Planstr.
182  140
183 \begin_inset Newline newline
184 \end_inset
185
186 99999 Planstadt
187 \end_layout
188
189 \begin_layout Signature
190 Das \SpecialChar LyX
191 -Team
192 \end_layout
193
194 \begin_layout Subject
195 Neues KOMA-Brief-Layout
196 \end_layout
197
198 \begin_layout Place
199 Im Internet
200 \end_layout
201
202 \begin_layout Date
203 \begin_inset ERT
204 status collapsed
205
206 \begin_layout Plain Layout
207
208
209 \backslash
210 today
211 \end_layout
212
213 \end_inset
214
215
216 \end_layout
217
218 \begin_layout Standard
219 \begin_inset ERT
220 status open
221
222 \begin_layout Plain Layout
223
224
225 \backslash
226 renewcommand*{
227 \backslash
228 adrentry}[8]{
229 \end_layout
230
231 \end_inset
232
233
234 \end_layout
235
236 \begin_layout Address
237 \begin_inset ERT
238 status open
239
240 \begin_layout Plain Layout
241
242 {}
243 \backslash
244 if #5f{Frau} 
245 \backslash
246 fi
247 \end_layout
248
249 \begin_layout Plain Layout
250
251
252 \backslash
253 if #5m{Herrn} 
254 \backslash
255 fi
256 \end_layout
257
258 \begin_layout Plain Layout
259
260 #2 #1
261 \backslash
262
263 \backslash
264 #3
265 \end_layout
266
267 \end_inset
268
269
270 \end_layout
271
272 \begin_layout Opening
273 \begin_inset ERT
274 status open
275
276 \begin_layout Plain Layout
277
278
279 \backslash
280 if #5m{Sehr geehrter Herr #1,} 
281 \backslash
282 fi
283 \end_layout
284
285 \begin_layout Plain Layout
286
287
288 \backslash
289 if #5f{Sehr geehrte Frau #1,} 
290 \backslash
291 fi
292 \end_layout
293
294 \end_inset
295
296
297 \end_layout
298
299 \begin_layout Standard
300 dieses Beispiel zeigt einen Serienbrief an 
301 \series bold
302 alle Personen
303 \series default
304  einer Adressdatenbank.
305  Der Aufbau von Adressdatenbanken ist in der unten angegebenen Dokumentation
306  beschrieben.
307 \end_layout
308
309 \begin_layout Standard
310 Die Vorlage beschreibt den Gebrauch der neuen scrlttr2-Klasse, die mit KOMA-Scri
311 pt 2.9 eingeführt wurde.
312  Diese, den europäischen Bedürfnissen angepasste Klasse, ist sehr flexibel.
313  Im \SpecialChar LyX
314 -Menü 
315 \family sans
316 Dokument\SpecialChar menuseparator
317 Einstellungen\SpecialChar menuseparator
318 \SpecialChar LaTeX
319 -Vorspann
320 \family default
321  finden sich die Einstellmöglichkeiten der meisten gebräuchlichen Parameter.
322  Die KOMA
323 \begin_inset ERT
324 status collapsed
325
326 \begin_layout Plain Layout
327
328 "=
329 \end_layout
330
331 \end_inset
332
333 Script
334 \begin_inset ERT
335 status collapsed
336
337 \begin_layout Plain Layout
338
339 "=
340 \end_layout
341
342 \end_inset
343
344 Dokumentation
345 \begin_inset Foot
346 status collapsed
347
348 \begin_layout Plain Layout
349 \begin_inset CommandInset href
350 LatexCommand href
351 target "http://mirrors.ctan.org/macros/latex/contrib/koma-script/doc/scrguide.pdf"
352 literal "false"
353
354 \end_inset
355
356
357 \end_layout
358
359 \end_inset
360
361  liefert weitere Hinweise.
362 \end_layout
363
364 \begin_layout Closing
365 Viel Spaß!
366 \end_layout
367
368 \begin_layout PS
369 P.
370 \begin_inset space \thinspace{}
371 \end_inset
372
373 S.: Blaufarbige Items sollen vor der Adresse eingefügt werden, magentafarbige
374  danach.
375 \end_layout
376
377 \begin_layout CC
378 Die \SpecialChar LyX
379 -User
380 \end_layout
381
382 \begin_layout EndLetter
383 \begin_inset Note Note
384 status collapsed
385
386 \begin_layout Plain Layout
387 keep this environment empty
388 \end_layout
389
390 \end_inset
391
392
393 \end_layout
394
395 \begin_layout Standard
396 \begin_inset ERT
397 status open
398
399 \begin_layout Plain Layout
400
401 }
402 \end_layout
403
404 \end_inset
405
406
407 \begin_inset Note Note
408 status collapsed
409
410 \begin_layout Plain Layout
411 Schließt den 
412 \series bold
413
414 \backslash
415 renewcommand*
416 \series default
417  Befehl von oben ab.
418 \end_layout
419
420 \end_inset
421
422
423 \end_layout
424
425 \begin_layout Standard
426 \begin_inset CommandInset include
427 LatexCommand input
428 filename "../addressExample.adr"
429
430 \end_inset
431
432
433 \end_layout
434
435 \end_body
436 \end_document