]> git.lyx.org Git - lyx.git/blob - lib/examples/serial_letter2.lyx
Update my email and status.
[lyx.git] / lib / examples / serial_letter2.lyx
1 #LyX 2.0 created this file. For more info see http://www.lyx.org/
2 \lyxformat 413
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 english
66 \language_package default
67 \inputencoding auto
68 \fontencoding global
69 \font_roman palatino
70 \font_sans default
71 \font_typewriter default
72 \font_default_family default
73 \use_non_tex_fonts false
74 \font_sc false
75 \font_osf false
76 \font_sf_scale 100
77 \font_tt_scale 100
78
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_amsmath 0
99 \use_esint 0
100 \use_mhchem 1
101 \use_mathdots 1
102 \cite_engine basic
103 \use_bibtopic false
104 \use_indices false
105 \paperorientation portrait
106 \suppress_date false
107 \use_refstyle 0
108 \index Index
109 \shortcut idx
110 \color #008000
111 \end_index
112 \secnumdepth 3
113 \tocdepth 3
114 \paragraph_separation skip
115 \defskip medskip
116 \quotes_language danish
117 \papercolumns 1
118 \papersides 1
119 \paperpagestyle default
120 \tracking_changes false
121 \output_changes false
122 \html_math_output 0
123 \html_css_as_file 0
124 \html_be_strict false
125 \end_header
126
127 \begin_body
128
129 \begin_layout Name
130 The LyX Developers Team
131 \end_layout
132
133 \begin_layout SenderAddress
134 140 Map Road
135 \begin_inset Newline newline
136 \end_inset
137
138 SVN City
139 \end_layout
140
141 \begin_layout Telephone
142 0011/222
143 \begin_inset space \thinspace{}
144 \end_inset
145
146 333
147 \end_layout
148
149 \begin_layout E-Mail
150 lyx-users@lists.lyx.org
151 \end_layout
152
153 \begin_layout URL
154 www.lyx.org
155 \end_layout
156
157 \begin_layout Backaddress
158 The LyX Developers Team
159 \begin_inset Newline newline
160 \end_inset
161
162 140 Map Road
163 \begin_inset Newline newline
164 \end_inset
165
166 SVN City
167 \end_layout
168
169 \begin_layout Signature
170 The LyX Team
171 \end_layout
172
173 \begin_layout Subject
174 New KOMA letter layout
175 \end_layout
176
177 \begin_layout Place
178 The Internet
179 \end_layout
180
181 \begin_layout Date
182 \begin_inset ERT
183 status collapsed
184
185 \begin_layout Plain Layout
186
187
188 \backslash
189 today
190 \end_layout
191
192 \end_inset
193
194
195 \end_layout
196
197 \begin_layout Standard
198 \begin_inset CommandInset include
199 LatexCommand input
200 filename "addressExample.adr"
201
202 \end_inset
203
204
205 \end_layout
206
207 \begin_layout Address
208 \begin_inset ERT
209 status collapsed
210
211 \begin_layout Plain Layout
212
213
214 \backslash
215 WILBOE
216 \end_layout
217
218 \end_inset
219
220
221 \end_layout
222
223 \begin_layout Opening
224 Dear Wilhelm,
225 \end_layout
226
227 \begin_layout Standard
228 this example is a serial letter to 
229 \series bold
230 one person
231 \series default
232  in an address database.
233  The design of address databases is described in the documentation listed
234  below.
235 \end_layout
236
237 \begin_layout Standard
238 This template illustrates the use of the new scrlttr2 class (introduced
239  with KOMA-script v.
240  2.9).
241  This letter class is very flexible.
242  Have a look at 
243 \family sans
244 Layout\SpecialChar \menuseparator
245 Document\SpecialChar \menuseparator
246 Preamble
247 \family default
248  for the most common parameters.
249  Please consult the KOMA Script documentation
250 \begin_inset Foot
251 status collapsed
252
253 \begin_layout Plain Layout
254 \begin_inset CommandInset href
255 LatexCommand href
256 target "http://www.ctan.org/tex-archive/macros/latex/contrib/koma-script/scrguien.pdf"
257
258 \end_inset
259
260
261 \end_layout
262
263 \end_inset
264
265 for a detailed description.
266 \end_layout
267
268 \begin_layout Closing
269 Have fun with it,
270 \end_layout
271
272 \begin_layout PS
273 p.
274 \begin_inset space \thinspace{}
275 \end_inset
276
277 s.: The blue colored items have to be before the address, the magenta colored
278  after it.
279 \end_layout
280
281 \begin_layout CC
282 The LyX Users
283 \end_layout
284
285 \begin_layout EndLetter
286 \begin_inset Note Note
287 status collapsed
288
289 \begin_layout Plain Layout
290 keep this environment empty
291 \end_layout
292
293 \end_inset
294
295
296 \end_layout
297
298 \end_body
299 \end_document