]> git.lyx.org Git - lyx.git/blob - lib/examples/serial_letter2.lyx
whitespace.
[lyx.git] / lib / examples / serial_letter2.lyx
1 #LyX 2.2 created this file. For more info see http://www.lyx.org/
2 \lyxformat 508
3 \begin_document
4 \begin_header
5 \save_transient_properties true
6 \origin /systemlyxdir/examples/
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 english
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 \graphics default
82 \default_output_format default
83 \output_sync 0
84 \bibtex_command default
85 \index_command default
86 \paperfontsize 11
87 \spacing other 1.15
88 \use_hyperref true
89 \pdf_bookmarks false
90 \pdf_bookmarksnumbered false
91 \pdf_bookmarksopen false
92 \pdf_bookmarksopenlevel 1
93 \pdf_breaklinks false
94 \pdf_pdfborder true
95 \pdf_colorlinks false
96 \pdf_backref false
97 \pdf_pdfusetitle false
98 \papersize default
99 \use_geometry false
100 \use_package amsmath 0
101 \use_package amssymb 0
102 \use_package cancel 0
103 \use_package esint 0
104 \use_package mathdots 1
105 \use_package mathtools 0
106 \use_package mhchem 1
107 \use_package stackrel 0
108 \use_package stmaryrd 0
109 \use_package undertilde 0
110 \cite_engine basic
111 \cite_engine_type default
112 \biblio_style plain
113 \use_bibtopic false
114 \use_indices false
115 \paperorientation portrait
116 \suppress_date false
117 \justification true
118 \use_refstyle 0
119 \index Index
120 \shortcut idx
121 \color #008000
122 \end_index
123 \secnumdepth 3
124 \tocdepth 3
125 \paragraph_separation skip
126 \defskip medskip
127 \quotes_language danish
128 \papercolumns 1
129 \papersides 1
130 \paperpagestyle default
131 \tracking_changes false
132 \output_changes false
133 \html_math_output 0
134 \html_css_as_file 0
135 \html_be_strict false
136 \end_header
137
138 \begin_body
139
140 \begin_layout Name
141 The \SpecialChar LyX
142  Developers Team
143 \end_layout
144
145 \begin_layout SenderAddress
146 140 Map Road
147 \begin_inset Newline newline
148 \end_inset
149
150 SVN City
151 \end_layout
152
153 \begin_layout Telephone
154 0011/222
155 \begin_inset space \thinspace{}
156 \end_inset
157
158 333
159 \end_layout
160
161 \begin_layout E-Mail
162 lyx-users@lists.lyx.org
163 \end_layout
164
165 \begin_layout URL
166 www.lyx.org
167 \end_layout
168
169 \begin_layout Backaddress
170 The \SpecialChar LyX
171  Developers Team
172 \begin_inset Newline newline
173 \end_inset
174
175 140 Map Road
176 \begin_inset Newline newline
177 \end_inset
178
179 SVN City
180 \end_layout
181
182 \begin_layout Signature
183 The \SpecialChar LyX
184  Team
185 \end_layout
186
187 \begin_layout Subject
188 New KOMA letter layout
189 \end_layout
190
191 \begin_layout Place
192 The Internet
193 \end_layout
194
195 \begin_layout Date
196 \begin_inset ERT
197 status collapsed
198
199 \begin_layout Plain Layout
200
201
202 \backslash
203 today
204 \end_layout
205
206 \end_inset
207
208
209 \end_layout
210
211 \begin_layout Standard
212 \begin_inset CommandInset include
213 LatexCommand input
214 filename "addressExample.adr"
215
216 \end_inset
217
218
219 \end_layout
220
221 \begin_layout Address
222 \begin_inset ERT
223 status collapsed
224
225 \begin_layout Plain Layout
226
227
228 \backslash
229 WILBOE
230 \end_layout
231
232 \end_inset
233
234
235 \end_layout
236
237 \begin_layout Opening
238 Dear Wilhelm,
239 \end_layout
240
241 \begin_layout Standard
242 this example is a serial letter to 
243 \series bold
244 one person
245 \series default
246  in an address database.
247  The design of address databases is described in the documentation listed
248  below.
249 \end_layout
250
251 \begin_layout Standard
252 This template illustrates the use of the new scrlttr2 class (introduced
253  with KOMA-script v.
254  2.9).
255  This letter class is very flexible.
256  Have a look at 
257 \family sans
258 Layout\SpecialChar menuseparator
259 Document\SpecialChar menuseparator
260 Preamble
261 \family default
262  for the most common parameters.
263  Please consult the KOMA Script documentation
264 \begin_inset Foot
265 status collapsed
266
267 \begin_layout Plain Layout
268 \begin_inset CommandInset href
269 LatexCommand href
270 target "http://www.ctan.org/tex-archive/macros/latex/contrib/koma-script/doc/scrguien.pdf"
271
272 \end_inset
273
274
275 \end_layout
276
277 \end_inset
278
279 for a detailed description.
280 \end_layout
281
282 \begin_layout Closing
283 Have fun with it,
284 \end_layout
285
286 \begin_layout PS
287 p.
288 \begin_inset space \thinspace{}
289 \end_inset
290
291 s.: The blue colored items have to be before the address, the magenta colored
292  after it.
293 \end_layout
294
295 \begin_layout CC
296 The \SpecialChar LyX
297  Users
298 \end_layout
299
300 \begin_layout EndLetter
301 \begin_inset Note Note
302 status collapsed
303
304 \begin_layout Plain Layout
305 keep this environment empty
306 \end_layout
307
308 \end_inset
309
310
311 \end_layout
312
313 \end_body
314 \end_document