]> git.lyx.org Git - lyx.git/blob - lib/layouts/scrlttr2.layout
24e53a53b98bd520e72b65b8c52766ce45fa5c3d
[lyx.git] / lib / layouts / scrlttr2.layout
1 #% Do not delete the line below; configure depends on this
2 #  \DeclareLaTeXClass{letter (KOMA-Script v.2)}
3 # KOMA scrlettr2 textclass definition file.
4 # Juergen Spitzmueller <j.spitzmueller@gmx.de>, 2003/2/17.
5 # Uwe Stöhr <uwestoehr@web.de>, 2008/2/03.
6
7 Format 36
8 Provides subscript 1
9
10 Style Standard
11         LatexName             dummy
12         ParSep                0.4
13         AlignPossible         Block, Left, Right, Center
14 End
15
16 Input stdlists.inc
17 Input stdlayouts.inc
18 Input stdcounters.inc
19 Input stdinsets.inc
20
21 Style Description
22         LabelFont
23           Family              Sans
24         EndFont
25 End
26
27
28 Style Labeling
29         CopyStyle             List
30         LatexName             labeling
31         # overwrite the preamble code definition
32         Preamble
33         EndPreamble
34 End
35
36
37 Style List
38         Obsoletedby           Labeling
39 End
40
41
42 Preamble
43         \newif\ifletterclosed
44 EndPreamble
45
46
47 Style Address
48         LatexType             Command
49         LatexName             begin
50         LatexParam            {letter}
51         Preamble
52                 \AtEndDocument{\ifletterclosed\else\end{letter}\fi}
53         EndPreamble
54         KeepEmpty             1
55         LeftMargin            xxxxxxxxxxxx::xx
56         LabelSep              xx
57         TopSep                1.5
58         BottomSep             1.5
59         ParSep                1.5
60         Align                 Left
61         LabelType             Static
62         LabelString           "Address:"
63         LabelFont
64           Series              Bold
65           Shape               Italic
66           Size                Small
67           Color               Blue
68         EndFont
69 End
70
71
72 # Start new letter
73 Style NextAddress
74         LatexType             Command
75         LatexName             end{letter}\begin{letter}
76         KeepEmpty             1
77         LeftMargin            xxxxxxxxxxxx::xx
78         LabelSep              xx
79         TopSep                1.5
80         BottomSep             1.5
81         ParSep                1.5
82         Align                 Left
83         LabelType             Static
84         LabelString           "Next Address:"
85         LabelFont
86           Series              Bold
87           Shape               Italic
88           Size                Small
89           Color               Blue
90         EndFont
91 End
92
93
94 Style Opening
95         LatexType             Command
96         LatexName             opening
97         KeepEmpty             0
98         LeftMargin            xxxxxxxxxxxx::xx
99         LabelSep              xx
100         TopSep                0.4
101         BottomSep             0.4
102         ParSep                0.4
103         Align                 Left
104         LabelType             Static
105         LabelString           "Opening:"
106         LabelFont
107           Series              Bold
108           Shape               Italic
109           Color               Magenta
110         EndFont
111 End
112
113
114 Style Closing
115         CopyStyle             Opening
116         LatexType             Command
117         LatexName             closing
118         LabelString           "Closing:"
119 End
120
121
122 Style PS
123         CopyStyle             Opening
124         LatexType             Command
125         LatexName             ps
126         LabelString           "Post Scriptum:"
127 End
128
129
130 Style CC
131         CopyStyle             Opening
132         LatexType             Command
133         LatexName             cc
134         LabelString           "cc:"
135 End
136
137
138 Style Encl
139         CopyStyle             Opening
140         LatexName             encl
141         LabelString           "encl:"
142 End
143
144
145 Style Name
146         LatexType             Command
147         LatexName             setkomavar
148         LatexParam            {fromname}
149         KeepEmpty             1
150         LeftMargin            xxxxxxxxxxxxxxxxx::xx
151         LabelSep              xx
152         TopSep                0.4
153         BottomSep             0.4
154         ParSep                0.4
155         Align                 Left
156         LabelType             Static
157         LabelString           "Sender Name:"
158
159         LabelFont
160           Series              Bold
161           Shape               Italic
162           Color               Blue
163         EndFont
164 End
165
166
167 Style Signature
168         CopyStyle             Name
169         LatexName             setkomavar
170         LatexParam            {signature}
171         LabelString           "Signature:"
172 End
173
174
175 Style SenderAddress
176         CopyStyle             Name
177         LatexName             setkomavar
178         LatexParam            {fromaddress}
179         LabelString           "Sender Address:"
180 End
181
182
183 Style Telephone
184         CopyStyle             Name
185         LatexName             setkomavar
186         LatexParam            {fromphone}
187         LabelString           "Sender Phone:"
188 End
189
190
191 Style Fax
192         CopyStyle             Name
193         LatexName             setkomavar
194         LatexParam            {fromfax}
195         LabelString           "Sender Fax:"
196 End
197
198
199 Style E-Mail
200         CopyStyle             Name
201         LatexName             setkomavar
202         LatexParam            {fromemail}
203         LabelString           "Sender E-Mail:"
204 End
205
206
207 Style URL
208         CopyStyle             Name
209         LatexName             setkomavar
210         LatexParam            {fromurl}
211         LabelString           "Sender URL:"
212 End
213
214
215 Style Bank
216         CopyStyle             Name
217         LatexName             setkomavar
218         LatexParam            {frombank}
219         LabelString           "Bank:"
220 End
221
222
223 Style Logo
224         CopyStyle             Name
225         LatexName             setkomavar
226         LatexParam            {fromlogo}
227         LabelString           "Logo:"
228 End
229
230
231 Style Place
232         CopyStyle             Name
233         LatexName             setkomavar
234         LatexParam            {place}
235         LabelString           "Place:"
236 End
237
238
239 Style Date
240         CopyStyle             Name
241         LatexName             setkomavar
242         LatexParam            {date}
243         LabelString           "Date:"
244 End
245
246
247 Style Backaddress
248         CopyStyle             Name
249         LatexName             setkomavar
250         LatexParam            {backaddress}
251         LabelString           "Backaddress:"
252 End
253
254
255 Style Specialmail
256         CopyStyle             Name
257         LatexName             setkomavar
258         LatexParam            {specialmail}
259         LabelString           "Specialmail:"
260 End
261
262
263 Style Location
264         CopyStyle             Name
265         LatexName             setkomavar
266         LatexParam            {location}
267         LabelString           "Location:"
268 End
269
270
271 Style Title
272         CopyStyle             Name
273         LatexName             setkomavar
274         LatexParam            {title}
275         LabelString           "Title:"
276         HTMLTitle             true
277 End
278
279
280 Style Subject
281         CopyStyle             Name
282         LatexName             setkomavar
283         LatexParam            {subject}
284         LabelString           "Subject:"
285 End
286
287
288 Style Yourref
289         CopyStyle             Name
290         LatexName             setkomavar
291         LatexParam            {yourref}
292         LabelString           "Your ref.:"
293
294         LabelFont
295           Family              Sans
296           Series              Medium
297           Shape               Up
298           Size                Small
299           Color               None
300         EndFont
301 End
302
303
304 Style Yourmail
305         CopyStyle             Yourref
306         LatexName             setkomavar
307         LatexParam            {yourmail}
308         LabelString           "Your letter of:"
309 End
310
311
312 Style Myref
313         CopyStyle             Yourref
314         LatexName             setkomavar
315         LatexParam            {myref}
316         LabelString           "Our ref.:"
317 End
318
319
320 Style Customer
321         CopyStyle             Yourref
322         LatexName             setkomavar
323         LatexParam            {customer}
324         LabelString           "Customer no.:"
325 End
326
327
328 Style Invoice
329         CopyStyle             Yourref
330         LatexName             setkomavar
331         LatexParam            {invoice}
332         LabelString           "Invoice no.:"
333 End
334
335
336 Style EndLetter
337         Margin                Dynamic
338         LatexType             Command
339         LatexName             end{letter}
340         Preamble
341                 \letterclosedtrue
342         EndPreamble
343         KeepEmpty             1
344         TopSep                1
345         ParSkip               0.4
346         Align                 Block
347         LabelSep              xx
348         LabelType             Static
349         LabelString           "End of letter"
350         LabelFont
351           Series              Bold
352           Color               Green
353         EndFont
354 End