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