]> git.lyx.org Git - lyx.git/blob - lib/examples/serial_letter2.lyx
Cmake export tests: Handle attic files with now missing references to png graphics
[lyx.git] / lib / examples / serial_letter2.lyx
1 #LyX 2.2 created this file. For more info see http://www.lyx.org/
2 \lyxformat 503
3 \begin_document
4 \begin_header
5 \origin /systemlyxdir/examples/
6 \textclass scrlttr2
7 \begin_preamble
8 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%
9 %% Here you can modify the layout of your letter
10 %% Have a look at the KOMA script documentation
11 %% for details. Most commands are commented out
12 %% here (i.e. we use default settings)
13 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%
14
15 %% Load an *.lco style file (see KOMA documentation)
16 \LoadLetterOption{DIN}%                          
17
18 %% THE CLASS OPTIONS
19 %% Remove preceeding '%' to uncomment an item
20 \KOMAoptions{%
21 %headsepline=true,%            separate the header with a line on page >1
22 %footsepline=true,%             separate the footer with a line on page >1
23 %pagenumber=botcenter,%   position of the page number (see docu)
24 %parskip=false,%          Use indent instead of skip (more options cf. docu)
25 fromalign=center,%        alignment of the address
26 fromrule=aftername,%    separate the address with a line?
27 fromphone=true,%         print sender phone number
28 %fromfax=true,%          print sender fax number
29 fromemail=true,%           print sender e-mail address
30 fromurl=true%               print sender URL
31 %fromlogo=true,%         print a logo (position depends on fromalign)
32 %addrfield=false,%        print an address field?
33 %backaddress=false,%  print the back address?
34 %subject=afteropening,titled,% alternative subject layout and position
35 %locfield=narrow,%      width of the (extra) location field
36 %foldmarks=false,%      print foldmarks?
37 %numericaldate=true,%  date layout
38 %refline=wide%             layout of the refline
39 }
40
41 %% Customize Separators
42 %\setkomavar{placeseparator}{ -- }
43 \setkomavar{backaddressseparator}{ $\cdot$ }
44 %\setkomavar{emailseparator}{ --> }
45 %\setkomavar{enclseparator}{ > }
46 %\setkomavar{faxseparator}{ --> }
47 %\setkomavar{phoneseparator}{ --> }
48 %\setkomavar{subjectseparator}{ >>> }
49
50 %% Customize fonts
51 %% Use LaTeX's standard font commands
52 %% Modify with \setkomafont or \addtokomafont
53 %% (see KOMA documentation)
54 \setkomafont{backaddress}{\rmfamily}
55 %\setkomafont{descriptionlabel}{}
56 \setkomafont{fromaddress}{\small}
57 \setkomafont{fromname}{\scshape}
58 %\setkomafont{pagefoot}{}
59 %\setkomafont{pagehead}{}
60 %\setkomafont{pagenumber}{}
61 %\setkomafont{subject}{}
62 %\setkomafont{title}{}
63 \end_preamble
64 \use_default_options false
65 \maintain_unincluded_children false
66 \language english
67 \language_package default
68 \inputencoding auto
69 \fontencoding global
70 \font_roman "palatino" "default"
71 \font_sans "default" "default"
72 \font_typewriter "default" "default"
73 \font_math "auto" "auto"
74 \font_default_family default
75 \use_non_tex_fonts false
76 \font_sc false
77 \font_osf false
78 \font_sf_scale 100 100
79 \font_tt_scale 100 100
80 \graphics default
81 \default_output_format default
82 \output_sync 0
83 \bibtex_command default
84 \index_command default
85 \paperfontsize 11
86 \spacing other 1.15
87 \use_hyperref true
88 \pdf_bookmarks false
89 \pdf_bookmarksnumbered false
90 \pdf_bookmarksopen false
91 \pdf_bookmarksopenlevel 1
92 \pdf_breaklinks false
93 \pdf_pdfborder true
94 \pdf_colorlinks false
95 \pdf_backref false
96 \pdf_pdfusetitle false
97 \papersize default
98 \use_geometry false
99 \use_package amsmath 0
100 \use_package amssymb 0
101 \use_package cancel 0
102 \use_package esint 0
103 \use_package mathdots 1
104 \use_package mathtools 0
105 \use_package mhchem 1
106 \use_package stackrel 0
107 \use_package stmaryrd 0
108 \use_package undertilde 0
109 \cite_engine basic
110 \cite_engine_type default
111 \biblio_style plain
112 \use_bibtopic false
113 \use_indices false
114 \paperorientation portrait
115 \suppress_date false
116 \justification true
117 \use_refstyle 0
118 \index Index
119 \shortcut idx
120 \color #008000
121 \end_index
122 \secnumdepth 3
123 \tocdepth 3
124 \paragraph_separation skip
125 \defskip medskip
126 \quotes_language danish
127 \papercolumns 1
128 \papersides 1
129 \paperpagestyle default
130 \tracking_changes false
131 \output_changes false
132 \html_math_output 0
133 \html_css_as_file 0
134 \html_be_strict false
135 \end_header
136
137 \begin_body
138
139 \begin_layout Name
140 The \SpecialCharNoPassThru LyX
141  Developers Team
142 \end_layout
143
144 \begin_layout SenderAddress
145 140 Map Road
146 \begin_inset Newline newline
147 \end_inset
148
149 SVN City
150 \end_layout
151
152 \begin_layout Telephone
153 0011/222
154 \begin_inset space \thinspace{}
155 \end_inset
156
157 333
158 \end_layout
159
160 \begin_layout E-Mail
161 lyx-users@lists.lyx.org
162 \end_layout
163
164 \begin_layout URL
165 www.lyx.org
166 \end_layout
167
168 \begin_layout Backaddress
169 The \SpecialCharNoPassThru LyX
170  Developers Team
171 \begin_inset Newline newline
172 \end_inset
173
174 140 Map Road
175 \begin_inset Newline newline
176 \end_inset
177
178 SVN City
179 \end_layout
180
181 \begin_layout Signature
182 The \SpecialCharNoPassThru LyX
183  Team
184 \end_layout
185
186 \begin_layout Subject
187 New KOMA letter layout
188 \end_layout
189
190 \begin_layout Place
191 The Internet
192 \end_layout
193
194 \begin_layout Date
195 \begin_inset ERT
196 status collapsed
197
198 \begin_layout Plain Layout
199
200
201 \backslash
202 today
203 \end_layout
204
205 \end_inset
206
207
208 \end_layout
209
210 \begin_layout Standard
211 \begin_inset CommandInset include
212 LatexCommand input
213 filename "addressExample.adr"
214
215 \end_inset
216
217
218 \end_layout
219
220 \begin_layout Address
221 \begin_inset ERT
222 status collapsed
223
224 \begin_layout Plain Layout
225
226
227 \backslash
228 WILBOE
229 \end_layout
230
231 \end_inset
232
233
234 \end_layout
235
236 \begin_layout Opening
237 Dear Wilhelm,
238 \end_layout
239
240 \begin_layout Standard
241 this example is a serial letter to 
242 \series bold
243 one person
244 \series default
245  in an address database.
246  The design of address databases is described in the documentation listed
247  below.
248 \end_layout
249
250 \begin_layout Standard
251 This template illustrates the use of the new scrlttr2 class (introduced
252  with KOMA-script v.
253  2.9).
254  This letter class is very flexible.
255  Have a look at 
256 \family sans
257 Layout\SpecialChar menuseparator
258 Document\SpecialChar menuseparator
259 Preamble
260 \family default
261  for the most common parameters.
262  Please consult the KOMA Script documentation
263 \begin_inset Foot
264 status collapsed
265
266 \begin_layout Plain Layout
267 \begin_inset CommandInset href
268 LatexCommand href
269 target "http://www.ctan.org/tex-archive/macros/latex/contrib/koma-script/scrguien.pdf"
270
271 \end_inset
272
273
274 \end_layout
275
276 \end_inset
277
278 for a detailed description.
279 \end_layout
280
281 \begin_layout Closing
282 Have fun with it,
283 \end_layout
284
285 \begin_layout PS
286 p.
287 \begin_inset space \thinspace{}
288 \end_inset
289
290 s.: The blue colored items have to be before the address, the magenta colored
291  after it.
292 \end_layout
293
294 \begin_layout CC
295 The \SpecialCharNoPassThru LyX
296  Users
297 \end_layout
298
299 \begin_layout EndLetter
300 \begin_inset Note Note
301 status collapsed
302
303 \begin_layout Plain Layout
304 keep this environment empty
305 \end_layout
306
307 \end_inset
308
309
310 \end_layout
311
312 \end_body
313 \end_document