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