]> git.lyx.org Git - lyx.git/blob - lib/templates/koma-letter2.lyx
typo.
[lyx.git] / lib / templates / koma-letter2.lyx
1 #LyX 1.5.0svn created this file. For more info see http://www.lyx.org/
2 \lyxformat 276
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 \papersize default
77 \use_geometry false
78 \use_amsmath 0
79 \use_esint 0
80 \cite_engine basic
81 \use_bibtopic false
82 \paperorientation portrait
83 \secnumdepth 3
84 \tocdepth 3
85 \paragraph_separation indent
86 \defskip medskip
87 \quotes_language danish
88 \papercolumns 1
89 \papersides 1
90 \paperpagestyle default
91 \tracking_changes false
92 \output_changes false
93 \end_header
94
95 \begin_body
96
97 \begin_layout Name
98
99 The LyX Developers Team
100 \end_layout
101
102 \begin_layout SenderAddress
103
104 140 Map Road
105 \newline
106 CVS City
107 \end_layout
108
109 \begin_layout Telephone
110
111 0011/222
112 \begin_inset ERT
113 status collapsed
114
115 \begin_layout Standard
116
117 \backslash
118 ,
119 \end_layout
120
121 \end_inset
122
123 333
124 \end_layout
125
126 \begin_layout E-Mail
127
128 lyx-users@lists.lyx.org
129 \end_layout
130
131 \begin_layout URL
132
133 www.lyx.org
134 \end_layout
135
136 \begin_layout Backaddress
137
138 The LyX Developers Team
139 \newline
140 140 Map Road
141 \newline
142 CVS City
143 \end_layout
144
145 \begin_layout Signature
146
147 The LyX Team
148 \end_layout
149
150 \begin_layout Subject
151
152 New KOMA letter layout 
153 \end_layout
154
155 \begin_layout Place
156
157 The Internet
158 \end_layout
159
160 \begin_layout Date
161
162
163 \begin_inset ERT
164 status collapsed
165
166 \begin_layout Standard
167
168 \backslash
169 today
170 \end_layout
171
172 \end_inset
173
174
175 \end_layout
176
177 \begin_layout Address
178
179 Mr X.
180  Ample
181 \newline
182 666 Sesame Street
183 \newline
184 12345 Nowhere
185 \end_layout
186
187 \begin_layout Opening
188
189 Dear Mr.
190  Ample,
191 \end_layout
192
193 \begin_layout Standard
194
195 This template illustrates the use of the new scrlttr2 class (introduced
196  with KOMA-script v.
197  2.9).
198  This letter class is very flexible.
199  Have a look at
200 \family default
201  
202 \family sans
203 Layout\SpecialChar \menuseparator
204 Document\SpecialChar \menuseparator
205 Preamble
206 \family default
207  for the most common parameters.
208  Please consult the KOMA Script documentation
209 \begin_inset Foot
210 status collapsed
211
212 \begin_layout Standard
213
214
215 \begin_inset LatexCommand url
216 target "http://www.ctan.org/tex-archive/macros/latex/contrib/supported/koma-script/scrguien.pdf"
217 \end_inset
218
219
220 \end_layout
221
222 \end_inset
223
224  for a detailed description.
225 \end_layout
226
227 \begin_layout Closing
228
229 Have fun with it,
230 \end_layout
231
232 \begin_layout PS
233
234 P.
235 \begin_inset ERT
236 status collapsed
237
238 \begin_layout Standard
239
240 \backslash
241 ,
242 \end_layout
243
244 \end_inset
245
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
252 The LyX Users
253 \end_layout
254
255 \end_body
256 \end_document