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