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