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