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