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