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