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