]> git.lyx.org Git - lyx.git/blob - lib/examples/de/serienbrief1.lyx
serial_letter: fix again a typo and set hyperlink
[lyx.git] / lib / examples / de / serienbrief1.lyx
1 #LyX 1.6.0svn created this file. For more info see http://www.lyx.org/
2 \lyxformat 314
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 \language ngerman
64 \inputencoding auto
65 \font_roman palatino
66 \font_sans default
67 \font_typewriter default
68 \font_default_family default
69 \font_sc false
70 \font_osf false
71 \font_sf_scale 100
72 \font_tt_scale 100
73 \graphics default
74 \paperfontsize 11
75 \spacing other 1.15
76 \use_hyperref true
77 \pdf_bookmarks false
78 \pdf_bookmarksnumbered false
79 \pdf_bookmarksopen false
80 \pdf_bookmarksopenlevel 1
81 \pdf_breaklinks false
82 \pdf_pdfborder true
83 \pdf_colorlinks false
84 \pdf_backref false
85 \pdf_pagebackref false
86 \pdf_pdfusetitle false
87 \papersize default
88 \use_geometry false
89 \use_amsmath 0
90 \use_esint 0
91 \cite_engine basic
92 \use_bibtopic false
93 \paperorientation portrait
94 \secnumdepth 3
95 \tocdepth 3
96 \paragraph_separation skip
97 \defskip medskip
98 \quotes_language german
99 \papercolumns 1
100 \papersides 1
101 \paperpagestyle default
102 \tracking_changes false
103 \output_changes false
104 \author "" 
105 \author "" 
106 \end_header
107
108 \begin_body
109
110 \begin_layout Name
111 Das LyX Entwickler Team
112 \end_layout
113
114 \begin_layout SenderAddress
115 Planstr.
116  140
117 \newline
118 99999 Planstadt
119 \end_layout
120
121 \begin_layout Telephone
122 0011/222\InsetSpace \thinspace{}
123 333
124 \end_layout
125
126 \begin_layout E-Mail
127 lyx-users@lists.lyx.org
128 \end_layout
129
130 \begin_layout URL
131 www.lyx.org
132 \end_layout
133
134 \begin_layout Backaddress
135 Das LyX Entwickler Team
136 \newline
137 Planstr.
138  140
139 \newline
140 99999 Planstadt
141 \end_layout
142
143 \begin_layout Signature
144 Das LyX Team
145 \end_layout
146
147 \begin_layout Subject
148 Neues KOMA letter Layout
149 \end_layout
150
151 \begin_layout Place
152 Im Internet
153 \end_layout
154
155 \begin_layout Date
156 \begin_inset ERT
157 status collapsed
158
159 \begin_layout Standard
160
161
162 \backslash
163 today
164 \end_layout
165
166 \end_inset
167
168
169 \end_layout
170
171 \begin_layout Standard
172 \begin_inset ERT
173 status open
174
175 \begin_layout Standard
176
177
178 \backslash
179 renewcommand*{
180 \backslash
181 adrentry}[8]{
182 \end_layout
183
184 \end_inset
185
186
187 \end_layout
188
189 \begin_layout Address
190 \begin_inset ERT
191 status collapsed
192
193 \begin_layout Standard
194
195 #2 #1
196 \backslash
197
198 \backslash
199 #3
200 \end_layout
201
202 \end_inset
203
204
205 \end_layout
206
207 \begin_layout Opening
208 \begin_inset ERT
209 status open
210
211 \begin_layout Standard
212
213
214 \backslash
215 if #5m{Sehr geehrter Herr #1,} 
216 \backslash
217 fi
218 \end_layout
219
220 \begin_layout Standard
221
222
223 \backslash
224 if #5w{Sehr geehrte Frau #1,} 
225 \backslash
226 fi
227 \end_layout
228
229 \end_inset
230
231
232 \end_layout
233
234 \begin_layout Standard
235 dieses Beispiel zeigt einen Serienbrief an 
236 \series bold
237 alle Personen
238 \series default
239  einer Adressdatenbank.
240  Der Aufbau von Adressdatenbanken ist in der unten angegebenen Dokumentation
241  beschrieben.
242 \end_layout
243
244 \begin_layout Standard
245 Die Vorlage beschreibt den Gebrauch der neuen scrlttr2-Klasse, die mit KOMA-Scri
246 pt 2.9 eingeführt wurde.
247  Diese, den europäischen Bedürfnissen angepasste Klasse, ist sehr flexibel.
248  Im LyX-Menü 
249 \family sans
250 Dokument\SpecialChar \menuseparator
251 Einstellungen\SpecialChar \menuseparator
252 LaTeX-Vorspann
253 \family default
254  finden sich die Einstellmöglichkeiten der meisten gebräuchlichen Parameter.
255  Die KOMA Script Dokumentation
256 \begin_inset Foot
257 status collapsed
258
259 \begin_layout Standard
260 \begin_inset CommandInset href
261 LatexCommand href
262 target "ftp://ftp.dante.de/tex-archive/macros/latex/contrib/koma-script/scrguide.pdf"
263
264 \end_inset
265
266
267 \end_layout
268
269 \end_inset
270
271  liefert weitere Hinweise.
272 \end_layout
273
274 \begin_layout Closing
275 Viel Spaß!
276 \end_layout
277
278 \begin_layout PS
279 p.\InsetSpace \thinspace{}
280 s.: Blaufarbige Items sollen vor der Adresse eingefügt werden, magentafarbige
281  danach.
282 \end_layout
283
284 \begin_layout CC
285 Die LyX User
286 \end_layout
287
288 \begin_layout EndLetter
289 \begin_inset Note Note
290 status collapsed
291
292 \begin_layout Standard
293 keep this environment empty
294 \end_layout
295
296 \end_inset
297
298
299 \end_layout
300
301 \begin_layout Standard
302 \begin_inset ERT
303 status open
304
305 \begin_layout Standard
306
307 }
308 \end_layout
309
310 \end_inset
311
312
313 \begin_inset Note Note
314 status collapsed
315
316 \begin_layout Standard
317 Schließt den 
318 \series bold
319
320 \backslash
321 renewcommand*
322 \series default
323  Befehl von oben ab.
324 \end_layout
325
326 \end_inset
327
328
329 \end_layout
330
331 \begin_layout Standard
332 \begin_inset CommandInset include
333 LatexCommand input
334 filename "../addressExample.adr"
335
336 \end_inset
337
338
339 \end_layout
340
341 \end_body
342 \end_document