]> git.lyx.org Git - lyx.git/blob - lib/templates/koma-letter2.lyx
Extend fix for #7404 to allow any inset collapsible to be edited
[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 1
94 \use_package amssymb 1
95 \use_package cancel 1
96 \use_package esint 1
97 \use_package mathdots 1
98 \use_package mathtools 1
99 \use_package mhchem 1
100 \use_package stackrel 1
101 \use_package stmaryrd 1
102 \use_package undertilde 1
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 \use_minted 0
113 \index Index
114 \shortcut idx
115 \color #008000
116 \end_index
117 \secnumdepth 3
118 \tocdepth 3
119 \paragraph_separation indent
120 \paragraph_indentation default
121 \is_math_indent 0
122 \math_numbering_side default
123 \quotes_style danish
124 \dynamic_quotes 0
125 \papercolumns 1
126 \papersides 1
127 \paperpagestyle default
128 \tracking_changes false
129 \output_changes false
130 \html_math_output 0
131 \html_css_as_file 0
132 \html_be_strict false
133 \end_header
134
135 \begin_body
136
137 \begin_layout Name
138 The \SpecialChar LyX
139  Developers Team
140 \end_layout
141
142 \begin_layout SenderAddress
143 140 Map Road
144 \begin_inset Newline newline
145 \end_inset
146
147 SVN City
148 \end_layout
149
150 \begin_layout Telephone
151 0011/222
152 \begin_inset space \thinspace{}
153 \end_inset
154
155 333
156 \end_layout
157
158 \begin_layout E-Mail
159 lyx-users@lists.lyx.org
160 \end_layout
161
162 \begin_layout URL
163 www.lyx.org
164 \end_layout
165
166 \begin_layout Backaddress
167 The \SpecialChar LyX
168  Developers Team
169 \begin_inset Newline newline
170 \end_inset
171
172 140 Map Road
173 \begin_inset Newline newline
174 \end_inset
175
176 SVN City
177 \end_layout
178
179 \begin_layout Signature
180 The \SpecialChar LyX
181  Team
182 \end_layout
183
184 \begin_layout Subject
185 New KOMA letter layout 
186 \end_layout
187
188 \begin_layout Place
189 The Internet
190 \end_layout
191
192 \begin_layout Date
193 \begin_inset ERT
194 status collapsed
195
196 \begin_layout Plain Layout
197
198
199 \backslash
200 today
201 \end_layout
202
203 \end_inset
204
205
206 \end_layout
207
208 \begin_layout Address
209 Mr X.
210  Ample
211 \begin_inset Newline newline
212 \end_inset
213
214 666 Sesame Street
215 \begin_inset Newline newline
216 \end_inset
217
218 12345 Nowhere
219 \end_layout
220
221 \begin_layout Opening
222 Dear Mr.
223  Ample,
224 \end_layout
225
226 \begin_layout Standard
227 This template illustrates the use of the new scrlttr2 class (introduced
228  with KOMA-script v.
229  2.9).
230  This letter class is very flexible.
231  Have a look at 
232 \family sans
233 Layout\SpecialChar menuseparator
234 Document\SpecialChar menuseparator
235 Preamble
236 \family default
237  for the most common parameters.
238  Please consult the KOMA Script documentation
239 \begin_inset Foot
240 status collapsed
241
242 \begin_layout Plain Layout
243 http://www.ctan.org/tex-archive/macros/latex/contrib/supported/koma-script/scrguie
244 n.pdf
245 \end_layout
246
247 \end_inset
248
249  for a detailed description.
250 \end_layout
251
252 \begin_layout Closing
253 Have fun with it,
254 \end_layout
255
256 \begin_layout PS
257 p.
258 \begin_inset space \thinspace{}
259 \end_inset
260
261 s.: The blue colored items have to be before the address, the magenta colored
262  after it.
263 \end_layout
264
265 \begin_layout CC
266 The \SpecialChar LyX
267  Users
268 \end_layout
269
270 \end_body
271 \end_document