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