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