]> git.lyx.org Git - lyx.git/blob - lib/layouts/scrlttr2.layout
* doc/cs_Tutorial.lyx: update by Pavel Sanda
[lyx.git] / lib / layouts / scrlttr2.layout
1 #% Do not delete the line below; configure depends on this
2 #  \DeclareLaTeXClass[scrlttr2]{letter (koma-script v.2)}
3 # KOMA scrlettr2 textclass definition file.
4 # Juergen Spitzmueller <j.spitzmueller@gmx.de>, 2003/2/17.
5
6 Format 2
7 Style Standard
8         LatexName             dummy
9         ParSep                0.4
10         AlignPossible         Block, Left, Right, Center
11 End
12
13 Input stdlists.inc
14 Input stdlayouts.inc
15 Input stdcounters.inc
16
17
18 Style Description
19         LabelFont
20           Family              Sans
21         EndFont
22 End
23
24
25 Style Labeling
26         CopyStyle             List
27         LatexName             labeling
28         # overwrite the preamble code definition
29         Preamble
30         EndPreamble
31 End
32
33 Style List
34         Obsoletedby           Labeling
35 End
36
37 NoStyle Caption
38
39
40 Style Address
41         LatexType             Command
42         LatexName             begin
43         LatexParam            {letter}
44         #Ugly hack!
45         Preamble
46         \AtEndDocument{\end{letter}}
47         EndPreamble
48         KeepEmpty             1
49         LeftMargin            xxxxxxxxxxxx::xx
50         LabelSep              xx
51         TopSep                1.5
52         BottomSep             1.5
53         ParSep                1.5
54         Align                 Left
55         AlignPossible         Left
56         LabelType             Static
57         LabelString           "Address:"
58
59         LabelFont
60           Series              Bold
61           Shape               Italic
62           Size                Small
63           Color               Blue
64         EndFont
65 End
66
67
68 # Start new letter
69 Style NextAddress
70         LatexType             Command
71         LatexName             end{letter}\begin{letter}
72         KeepEmpty             1
73         LeftMargin            xxxxxxxxxxxx::xx
74         LabelSep              xx
75         TopSep                1.5
76         BottomSep             1.5
77         ParSep                1.5
78         Align                 Left
79         AlignPossible         Left
80         LabelType             Static
81         LabelString           "Next Address:"
82
83         LabelFont
84           Series              Bold
85           Shape               Italic
86           Size                Small
87           Color               Blue
88         EndFont
89 End
90
91
92 Style Opening
93         LatexType             Command
94         LatexName             opening
95         KeepEmpty             0
96         LeftMargin            xxxxxxxxxxxx::xx
97         LabelSep              xx
98         TopSep                0.4
99         BottomSep             0.4
100         ParSep                0.4
101         Align                 Left
102         AlignPossible         Left
103         LabelType             Static
104         LabelString           "Opening:"
105
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            xxxxxxxxxxxx::xx
151         LabelSep              xx
152         TopSep                0.4
153         BottomSep             0.4
154         ParSep                0.4
155         Align                 Left
156         AlignPossible         Left
157         LabelType             Static
158         LabelString           "Sender Name:"
159
160         LabelFont
161           Series              Bold
162           Shape               Italic
163           Color               Blue
164         EndFont
165 End
166
167
168 Style Signature
169         CopyStyle             Name
170         LatexName             setkomavar
171         LatexParam            {signature}
172         LabelString           "Signature:"
173 End
174
175
176 Style SenderAddress
177         CopyStyle             Name
178         LatexName             setkomavar
179         LatexParam            {fromaddress}
180         LabelString           "Sender Address:"
181 End
182
183
184 Style Telephone
185         CopyStyle             Name
186         LatexName             setkomavar
187         LatexParam            {fromphone}
188         LabelString           "Sender Phone:"
189 End
190
191
192 Style Fax
193         CopyStyle             Name
194         LatexName             setkomavar
195         LatexParam            {fromfax}
196         LabelString           "Sender Fax:"
197 End
198
199
200 Style E-Mail
201         CopyStyle             Name
202         LatexName             setkomavar
203         LatexParam            {fromemail}
204         LabelString           "Sender E-Mail:"
205 End
206
207
208 Style URL
209         CopyStyle             Name
210         LatexName             setkomavar
211         LatexParam            {fromurl}
212         LabelString           "Sender URL:"
213 End
214
215
216 Style Bank
217         CopyStyle             Name
218         LatexName             setkomavar
219         LatexParam            {frombank}
220         LabelString           "Bank:"
221 End
222
223
224 Style Logo
225         CopyStyle             Name
226         LatexName             setkomavar
227         LatexParam            {fromlogo}
228         LabelString           "Logo:"
229 End
230
231
232 Style Place
233         CopyStyle             Name
234         LatexName             setkomavar
235         LatexParam            {place}
236         LabelString           "Place:"
237 End
238
239
240 Style Date
241         CopyStyle             Name
242         LatexName             setkomavar
243         LatexParam            {date}
244         LabelString           "Date:"
245 End
246
247
248 Style Backaddress
249         CopyStyle             Name
250         LatexName             setkomavar
251         LatexParam            {backaddress}
252         LabelString           "Backaddress:"
253 End
254
255
256 Style Specialmail
257         CopyStyle             Name
258         LatexName             setkomavar
259         LatexParam            {specialmail}
260         LabelString           "Specialmail:"
261 End
262
263
264 Style Location
265         CopyStyle             Name
266         LatexName             setkomavar
267         LatexParam            {location}
268         LabelString           "Location:"
269 End
270
271
272 Style Title
273         CopyStyle             Name
274         LatexName             setkomavar
275         LatexParam            {title}
276         LabelString           "Title:"
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