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