]> git.lyx.org Git - lyx.git/blob - lib/templates/koma-letter2.lyx
43cbdb0405c8a07a27103a62fc0e299b022bf714
[lyx.git] / lib / templates / koma-letter2.lyx
1 #LyX 2.2 created this file. For more info see http://www.lyx.org/
2 \lyxformat 508
3 \begin_document
4 \begin_header
5 \save_transient_properties true
6 \origin /systemlyxdir/templates/
7 \textclass scrlttr2
8 \begin_preamble
9 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%
10 %% Here you can modify the layout of your letter
11 %% Have a look at the KOMA script documentation
12 %% for details. Most commands are commented out
13 %% here (i.e. we use default settings)
14 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%
15
16 %% Load an *.lco style file (see KOMA documentation)
17 \LoadLetterOption{DIN}%                          
18
19 %% THE CLASS OPTIONS
20 %% Remove preceeding '%' to uncomment an item
21 \KOMAoptions{%
22 %,headsepline=true%            separate the header with a line on page >1
23 %,footsepline=true%             separate the footer with a line on page >1
24 %pagenumber=botcenter%   position of the page number (see docu)
25 %,parskip=false%          Use indent instead of skip (more options cf. docu)
26 fromalign=center%        alignment of the address
27 ,fromrule=aftername%    separate the address with a line?
28 ,fromphone=true%         print sender phone number
29 %,fromfax=true%          print sender fax number
30 ,fromemail=true%           print sender e-mail address
31 ,fromurl=true%               print sender URL
32 %,fromlogo=true%         print a logo (position depends on fromalign)
33 %,addrfield=false%        print an address field?
34 %,backaddress=false%  print the back address?
35 %,subject=afteropening,titled% alternative subject layout and position
36 %,locfield=narrow%      width of the (extra) location field
37 %,foldmarks=false%      print foldmarks?
38 %,numericaldate=true%  date layout
39 %,refline=wide%             layout of the refline
40 }
41
42 %% Customize Separators
43 %\setkomavar{placeseparator}{ -- }
44 \setkomavar{backaddressseparator}{ $\cdot$ }
45 %\setkomavar{emailseparator}{ --> }
46 %\setkomavar{enclseparator}{ > }
47 %\setkomavar{faxseparator}{ --> }
48 %\setkomavar{phoneseparator}{ --> }
49 %\setkomavar{subjectseparator}{ >>> }
50
51 %% Customize fonts
52 %% Use LaTeX's standard font commands
53 %% Modify with \setkomafont or \addtokomafont
54 %% (see KOMA documentation)
55 \setkomafont{backaddress}{\rmfamily}
56 %\setkomafont{descriptionlabel}{}
57 \setkomafont{fromaddress}{\small}
58 \setkomafont{fromname}{\scshape}
59 %\setkomafont{pagefoot}{}
60 %\setkomafont{pagehead}{}
61 %\setkomafont{pagenumber}{}
62 %\setkomafont{subject}{}
63 %\setkomafont{title}{}
64 \end_preamble
65 \use_default_options false
66 \maintain_unincluded_children false
67 \language english
68 \language_package default
69 \inputencoding auto
70 \fontencoding global
71 \font_roman "palatino" "default"
72 \font_sans "default" "default"
73 \font_typewriter "default" "default"
74 \font_math "auto" "auto"
75 \font_default_family default
76 \use_non_tex_fonts false
77 \font_sc false
78 \font_osf false
79 \font_sf_scale 100 100
80 \font_tt_scale 100 100
81 \graphics default
82 \default_output_format default
83 \output_sync 0
84 \bibtex_command default
85 \index_command default
86 \paperfontsize 11
87 \spacing other 1.15
88 \use_hyperref false
89 \papersize default
90 \use_geometry false
91 \use_package amsmath 0
92 \use_package amssymb 0
93 \use_package cancel 0
94 \use_package esint 0
95 \use_package mathdots 1
96 \use_package mathtools 0
97 \use_package mhchem 1
98 \use_package stackrel 0
99 \use_package stmaryrd 0
100 \use_package undertilde 0
101 \cite_engine basic
102 \cite_engine_type default
103 \biblio_style plain
104 \use_bibtopic false
105 \use_indices false
106 \paperorientation portrait
107 \suppress_date false
108 \justification true
109 \use_refstyle 0
110 \index Index
111 \shortcut idx
112 \color #008000
113 \end_index
114 \secnumdepth 3
115 \tocdepth 3
116 \paragraph_separation indent
117 \paragraph_indentation default
118 \quotes_language danish
119 \papercolumns 1
120 \papersides 1
121 \paperpagestyle default
122 \tracking_changes false
123 \output_changes false
124 \html_math_output 0
125 \html_css_as_file 0
126 \html_be_strict false
127 \end_header
128
129 \begin_body
130
131 \begin_layout Name
132 The \SpecialChar LyX
133  Developers Team
134 \end_layout
135
136 \begin_layout SenderAddress
137 140 Map Road
138 \begin_inset Newline newline
139 \end_inset
140
141 SVN City
142 \end_layout
143
144 \begin_layout Telephone
145 0011/222
146 \begin_inset space \thinspace{}
147 \end_inset
148
149 333
150 \end_layout
151
152 \begin_layout E-Mail
153 lyx-users@lists.lyx.org
154 \end_layout
155
156 \begin_layout URL
157 www.lyx.org
158 \end_layout
159
160 \begin_layout Backaddress
161 The \SpecialChar LyX
162  Developers Team
163 \begin_inset Newline newline
164 \end_inset
165
166 140 Map Road
167 \begin_inset Newline newline
168 \end_inset
169
170 SVN City
171 \end_layout
172
173 \begin_layout Signature
174 The \SpecialChar LyX
175  Team
176 \end_layout
177
178 \begin_layout Subject
179 New KOMA letter layout 
180 \end_layout
181
182 \begin_layout Place
183 The Internet
184 \end_layout
185
186 \begin_layout Date
187 \begin_inset ERT
188 status collapsed
189
190 \begin_layout Plain Layout
191
192
193 \backslash
194 today
195 \end_layout
196
197 \end_inset
198
199
200 \end_layout
201
202 \begin_layout Address
203 Mr X.
204  Ample
205 \begin_inset Newline newline
206 \end_inset
207
208 666 Sesame Street
209 \begin_inset Newline newline
210 \end_inset
211
212 12345 Nowhere
213 \end_layout
214
215 \begin_layout Opening
216 Dear Mr.
217  Ample,
218 \end_layout
219
220 \begin_layout Standard
221 This template illustrates the use of the new scrlttr2 class (introduced
222  with KOMA-script v.
223  2.9).
224  This letter class is very flexible.
225  Have a look at 
226 \family sans
227 Layout\SpecialChar menuseparator
228 Document\SpecialChar menuseparator
229 Preamble
230 \family default
231  for the most common parameters.
232  Please consult the KOMA Script documentation
233 \begin_inset Foot
234 status collapsed
235
236 \begin_layout Plain Layout
237 http://www.ctan.org/tex-archive/macros/latex/contrib/supported/koma-script/scrguie
238 n.pdf
239 \end_layout
240
241 \end_inset
242
243  for a detailed description.
244 \end_layout
245
246 \begin_layout Closing
247 Have fun with it,
248 \end_layout
249
250 \begin_layout PS
251 p.
252 \begin_inset space \thinspace{}
253 \end_inset
254
255 s.: The blue colored items have to be before the address, the magenta colored
256  after it.
257 \end_layout
258
259 \begin_layout CC
260 The \SpecialChar LyX
261  Users
262 \end_layout
263
264 \end_body
265 \end_document