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