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