]> git.lyx.org Git - lyx.git/blob - lib/layouts/scrlttr2.layout
another update from Hartmut
[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         Margin                Manual
27         LatexType             List_Environment
28         LatexName             labeling
29         NextNoindent          1
30         LabelSep              xxx
31         ParSkip               0.4
32         TopSep                0.7
33         BottomSep             0.7
34         ParSep                0.5
35         Align                 Block
36         AlignPossible         Block, Left
37         LabelType             Manual
38         LabelString           "00.00.0000"
39 End
40
41 NoStyle List
42 NoStyle Caption
43
44
45 Style Address
46         LatexType             Command
47         LatexName             begin
48         LatexParam            {letter}
49         #Ugly hack!
50         Preamble
51         \AtEndDocument{\end{letter}}
52         EndPreamble
53         KeepEmpty             1
54         LeftMargin            xxxxxxxxxxxx::xx
55         LabelSep              xx
56         TopSep                1.5
57         BottomSep             1.5
58         ParSep                1.5
59         Align                 Left
60         AlignPossible         Left
61         LabelType             Static
62         LabelString           "Address:"
63
64         LabelFont
65           Series              Bold
66           Shape               Italic
67           Size                Small
68           Color               Blue
69         EndFont
70 End
71
72
73 # Start new letter
74 Style NextAddress
75         LatexType             Command
76         LatexName             end{letter}\begin{letter}
77         KeepEmpty             1
78         LeftMargin            xxxxxxxxxxxx::xx
79         LabelSep              xx
80         TopSep                1.5
81         BottomSep             1.5
82         ParSep                1.5
83         Align                 Left
84         AlignPossible         Left
85         LabelType             Static
86         LabelString           "Next Address:"
87
88         LabelFont
89           Series              Bold
90           Shape               Italic
91           Size                Small
92           Color               Blue
93         EndFont
94 End
95
96
97 Style Opening
98         LatexType             Command
99         LatexName             opening
100         KeepEmpty             0
101         LeftMargin            xxxxxxxxxxxx::xx
102         LabelSep              xx
103         TopSep                0.4
104         BottomSep             0.4
105         ParSep                0.4
106         Align                 Left
107         AlignPossible         Left
108         LabelType             Static
109         LabelString           "Opening:"
110
111         LabelFont
112           Series              Bold
113           Shape               Italic
114           Color               Magenta
115         EndFont
116 End
117
118
119 Style Closing
120         CopyStyle             Opening
121         LatexType             Command
122         LatexName             closing
123         LabelString           "Closing:"
124 End
125
126
127 Style PS
128         CopyStyle             Opening
129         LatexType             Command
130         LatexName             ps
131         LabelString           "Post Scriptum:"
132 End
133
134
135 Style CC
136         CopyStyle             Opening
137         LatexType             Command
138         LatexName             cc
139         LabelString           "cc:"
140 End
141
142
143 Style Encl
144         CopyStyle             Opening
145         LatexName             encl
146         LabelString           "encl:"
147 End
148
149
150 Style Name
151         LatexType             Command
152         LatexName             setkomavar
153         LatexParam            {fromname}
154         KeepEmpty             1
155         LeftMargin            xxxxxxxxxxxx::xx
156         LabelSep              xx
157         TopSep                0.4
158         BottomSep             0.4
159         ParSep                0.4
160         Align                 Left
161         AlignPossible         Left
162         LabelType             Static
163         LabelString           "Sender Name:"
164
165         LabelFont
166           Series              Bold
167           Shape               Italic
168           Color               Blue
169         EndFont
170 End
171
172
173 Style Signature
174         CopyStyle             Name
175         LatexName             setkomavar
176         LatexParam            {signature}
177         LabelString           "Signature:"
178 End
179
180
181 Style SenderAddress
182         CopyStyle             Name
183         LatexName             setkomavar
184         LatexParam            {fromaddress}
185         LabelString           "Sender Address:"
186 End
187
188
189 Style Telephone
190         CopyStyle             Name
191         LatexName             setkomavar
192         LatexParam            {fromphone}
193         LabelString           "Sender Phone:"
194 End
195
196
197 Style Fax
198         CopyStyle             Name
199         LatexName             setkomavar
200         LatexParam            {fromfax}
201         LabelString           "Sender Fax:"
202 End
203
204
205 Style E-Mail
206         CopyStyle             Name
207         LatexName             setkomavar
208         LatexParam            {fromemail}
209         LabelString           "Sender E-Mail:"
210 End
211
212
213 Style URL
214         CopyStyle             Name
215         LatexName             setkomavar
216         LatexParam            {fromurl}
217         LabelString           "Sender URL:"
218 End
219
220
221 Style Bank
222         CopyStyle             Name
223         LatexName             setkomavar
224         LatexParam            {frombank}
225         LabelString           "Bank:"
226 End
227
228
229 Style Logo
230         CopyStyle             Name
231         LatexName             setkomavar
232         LatexParam            {fromlogo}
233         LabelString           "Logo:"
234 End
235
236
237 Style Place
238         CopyStyle             Name
239         LatexName             setkomavar
240         LatexParam            {place}
241         LabelString           "Place:"
242 End
243
244
245 Style Date
246         CopyStyle             Name
247         LatexName             setkomavar
248         LatexParam            {date}
249         LabelString           "Date:"
250 End
251
252
253 Style Backaddress
254         CopyStyle             Name
255         LatexName             setkomavar
256         LatexParam            {backaddress}
257         LabelString           "Backaddress:"
258 End
259
260
261 Style Specialmail
262         CopyStyle             Name
263         LatexName             setkomavar
264         LatexParam            {specialmail}
265         LabelString           "Specialmail:"
266 End
267
268
269 Style Location
270         CopyStyle             Name
271         LatexName             setkomavar
272         LatexParam            {location}
273         LabelString           "Location:"
274 End
275
276
277 Style Title
278         CopyStyle             Name
279         LatexName             setkomavar
280         LatexParam            {title}
281         LabelString           "Title:"
282 End
283
284
285 Style Subject
286         CopyStyle             Name
287         LatexName             setkomavar
288         LatexParam            {subject}
289         LabelString           "Subject:"
290 End
291
292
293 Style Yourref
294         CopyStyle             Name
295         LatexName             setkomavar
296         LatexParam            {yourref}
297         LabelString           "Your ref.:"
298
299         LabelFont
300           Family              Sans
301           Series              Medium
302           Shape               Up
303           Size                Small
304           Color               None
305         EndFont
306 End
307
308
309 Style Yourmail
310         CopyStyle             Yourref
311         LatexName             setkomavar
312         LatexParam            {yourmail}
313         LabelString           "Your letter of:"
314 End
315
316
317 Style Myref
318         CopyStyle             Yourref
319         LatexName             setkomavar
320         LatexParam            {myref}
321         LabelString           "Our ref.:"
322 End
323
324
325 Style Customer
326         CopyStyle             Yourref
327         LatexName             setkomavar
328         LatexParam            {customer}
329         LabelString           "Customer no.:"
330 End
331
332
333 Style Invoice
334         CopyStyle             Yourref
335         LatexName             setkomavar
336         LatexParam            {invoice}
337         LabelString           "Invoice no.:"
338 End