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