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