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