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