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