]> git.lyx.org Git - lyx.git/blob - lib/templates/koma-letter2.lyx
Update comment.
[lyx.git] / lib / templates / koma-letter2.lyx
1 #LyX 2.1 created this file. For more info see http://www.lyx.org/
2 \lyxformat 474
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 \use_default_options false
64 \maintain_unincluded_children false
65 \language english
66 \language_package default
67 \inputencoding auto
68 \fontencoding global
69 \font_roman palatino
70 \font_sans default
71 \font_typewriter default
72 \font_math auto
73 \font_default_family default
74 \use_non_tex_fonts false
75 \font_sc false
76 \font_osf false
77 \font_sf_scale 100
78 \font_tt_scale 100
79 \graphics default
80 \default_output_format default
81 \output_sync 0
82 \bibtex_command default
83 \index_command default
84 \paperfontsize 11
85 \spacing other 1.15
86 \use_hyperref false
87 \papersize default
88 \use_geometry false
89 \use_package amsmath 0
90 \use_package amssymb 0
91 \use_package cancel 0
92 \use_package esint 0
93 \use_package mathdots 1
94 \use_package mathtools 0
95 \use_package mhchem 1
96 \use_package stackrel 0
97 \use_package stmaryrd 0
98 \use_package undertilde 0
99 \cite_engine basic
100 \cite_engine_type default
101 \biblio_style plain
102 \use_bibtopic false
103 \use_indices false
104 \paperorientation portrait
105 \suppress_date false
106 \justification true
107 \use_refstyle 0
108 \index Index
109 \shortcut idx
110 \color #008000
111 \end_index
112 \secnumdepth 3
113 \tocdepth 3
114 \paragraph_separation indent
115 \paragraph_indentation default
116 \quotes_language danish
117 \papercolumns 1
118 \papersides 1
119 \paperpagestyle default
120 \tracking_changes false
121 \output_changes false
122 \html_math_output 0
123 \html_css_as_file 0
124 \html_be_strict false
125 \end_header
126
127 \begin_body
128
129 \begin_layout Name
130 The LyX Developers Team
131 \end_layout
132
133 \begin_layout SenderAddress
134 140 Map Road
135 \begin_inset Newline newline
136 \end_inset
137
138 SVN City
139 \end_layout
140
141 \begin_layout Telephone
142 0011/222
143 \begin_inset space \thinspace{}
144 \end_inset
145
146 333
147 \end_layout
148
149 \begin_layout E-Mail
150 lyx-users@lists.lyx.org
151 \end_layout
152
153 \begin_layout URL
154 www.lyx.org
155 \end_layout
156
157 \begin_layout Backaddress
158 The LyX Developers Team
159 \begin_inset Newline newline
160 \end_inset
161
162 140 Map Road
163 \begin_inset Newline newline
164 \end_inset
165
166 SVN City
167 \end_layout
168
169 \begin_layout Signature
170 The LyX Team
171 \end_layout
172
173 \begin_layout Subject
174 New KOMA letter layout 
175 \end_layout
176
177 \begin_layout Place
178 The Internet
179 \end_layout
180
181 \begin_layout Date
182 \begin_inset ERT
183 status collapsed
184
185 \begin_layout Plain Layout
186
187
188 \backslash
189 today
190 \end_layout
191
192 \end_inset
193
194
195 \end_layout
196
197 \begin_layout Address
198 Mr X.
199  Ample
200 \begin_inset Newline newline
201 \end_inset
202
203 666 Sesame Street
204 \begin_inset Newline newline
205 \end_inset
206
207 12345 Nowhere
208 \end_layout
209
210 \begin_layout Opening
211 Dear Mr.
212  Ample,
213 \end_layout
214
215 \begin_layout Standard
216 This template illustrates the use of the new scrlttr2 class (introduced
217  with KOMA-script v.
218  2.9).
219  This letter class is very flexible.
220  Have a look at 
221 \family sans
222 Layout\SpecialChar \menuseparator
223 Document\SpecialChar \menuseparator
224 Preamble
225 \family default
226  for the most common parameters.
227  Please consult the KOMA Script documentation
228 \begin_inset Foot
229 status collapsed
230
231 \begin_layout Plain Layout
232 http://www.ctan.org/tex-archive/macros/latex/contrib/supported/koma-script/scrguie
233 n.pdf
234 \end_layout
235
236 \end_inset
237
238  for a detailed description.
239 \end_layout
240
241 \begin_layout Closing
242 Have fun with it,
243 \end_layout
244
245 \begin_layout PS
246 p.
247 \begin_inset space \thinspace{}
248 \end_inset
249
250 s.: The blue colored items have to be before the address, the magenta colored
251  after it.
252 \end_layout
253
254 \begin_layout CC
255 The LyX Users
256 \end_layout
257
258 \end_body
259 \end_document