]> git.lyx.org Git - lyx.git/blob - lib/examples/serial_letter2.lyx
clean up the tufte-book example file (demonstrate class's default settings, omit...
[lyx.git] / lib / examples / serial_letter2.lyx
1 #LyX 1.6.0 created this file. For more info see http://www.lyx.org/
2 \lyxformat 345
3 \begin_document
4 \begin_header
5 \use_default_options false
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 \language english
65 \inputencoding auto
66 \font_roman palatino
67 \font_sans default
68 \font_typewriter default
69 \font_default_family default
70 \font_sc false
71 \font_osf false
72 \font_sf_scale 100
73 \font_tt_scale 100
74 \graphics default
75 \paperfontsize 11
76 \spacing other 1.15
77 \use_hyperref true
78 \pdf_bookmarks false
79 \pdf_bookmarksnumbered false
80 \pdf_bookmarksopen false
81 \pdf_bookmarksopenlevel 1
82 \pdf_breaklinks false
83 \pdf_pdfborder true
84 \pdf_colorlinks false
85 \pdf_backref false
86 \pdf_pdfusetitle false
87 \papersize default
88 \use_geometry false
89 \use_amsmath 0
90 \use_esint 0
91 \cite_engine basic
92 \use_bibtopic false
93 \paperorientation portrait
94 \secnumdepth 3
95 \tocdepth 3
96 \paragraph_separation skip
97 \defskip medskip
98 \quotes_language danish
99 \papercolumns 1
100 \papersides 1
101 \paperpagestyle default
102 \tracking_changes false
103 \output_changes false
104 \author ""
105 \author ""
106 \end_header
107
108 \begin_body
109
110 \begin_layout Name
111 The LyX Developers Team
112 \end_layout
113
114 \begin_layout SenderAddress
115 140 Map Road
116 \begin_inset Newline newline
117 \end_inset
118
119 SVN City
120 \end_layout
121
122 \begin_layout Telephone
123 0011/222
124 \begin_inset space \thinspace{}
125 \end_inset
126
127 333
128 \end_layout
129
130 \begin_layout E-Mail
131 lyx-users@lists.lyx.org
132 \end_layout
133
134 \begin_layout URL
135 www.lyx.org
136 \end_layout
137
138 \begin_layout Backaddress
139 The LyX Developers Team
140 \begin_inset Newline newline
141 \end_inset
142
143 140 Map Road
144 \begin_inset Newline newline
145 \end_inset
146
147 SVN City
148 \end_layout
149
150 \begin_layout Signature
151 The LyX Team
152 \end_layout
153
154 \begin_layout Subject
155 New KOMA letter layout
156 \end_layout
157
158 \begin_layout Place
159 The Internet
160 \end_layout
161
162 \begin_layout Date
163 \begin_inset ERT
164 status collapsed
165
166 \begin_layout Plain Layout
167
168
169 \backslash
170 today
171 \end_layout
172
173 \end_inset
174
175
176 \end_layout
177
178 \begin_layout Standard
179 \begin_inset CommandInset include
180 LatexCommand input
181 filename "addressExample.adr"
182
183 \end_inset
184
185
186 \end_layout
187
188 \begin_layout Address
189 \begin_inset ERT
190 status collapsed
191
192 \begin_layout Plain Layout
193
194
195 \backslash
196 WILBOE
197 \end_layout
198
199 \end_inset
200
201
202 \end_layout
203
204 \begin_layout Opening
205 Dear Wilhelm,
206 \end_layout
207
208 \begin_layout Standard
209 this example is a serial letter to 
210 \series bold
211 one person
212 \series default
213  in an address database.
214  The design of address databases is described in the documentation listed
215  below.
216 \end_layout
217
218 \begin_layout Standard
219 This template illustrates the use of the new scrlttr2 class (introduced
220  with KOMA-script v.
221  2.9).
222  This letter class is very flexible.
223  Have a look at 
224 \family sans
225 Layout\SpecialChar \menuseparator
226 Document\SpecialChar \menuseparator
227 Preamble
228 \family default
229  for the most common parameters.
230  Please consult the KOMA Script documentation
231 \begin_inset Foot
232 status collapsed
233
234 \begin_layout Plain Layout
235 \begin_inset CommandInset href
236 LatexCommand href
237 target "http://www.ctan.org/tex-archive/macros/latex/contrib/koma-script/scrguien.pdf"
238
239 \end_inset
240
241
242 \end_layout
243
244 \end_inset
245
246 for a detailed description.
247 \end_layout
248
249 \begin_layout Closing
250 Have fun with it,
251 \end_layout
252
253 \begin_layout PS
254 p.
255 \begin_inset space \thinspace{}
256 \end_inset
257
258 s.: The blue colored items have to be before the address, the magenta colored
259  after it.
260 \end_layout
261
262 \begin_layout CC
263 The LyX Users
264 \end_layout
265
266 \begin_layout EndLetter
267 \begin_inset Note Note
268 status collapsed
269
270 \begin_layout Plain Layout
271 keep this environment empty
272 \end_layout
273
274 \end_inset
275
276
277 \end_layout
278
279 \end_body
280 \end_document