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