]> git.lyx.org Git - lyx.git/blob - lib/layouts/scrlttr2.layout
Now update layout format.
[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 29
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         HTMLTitle             true
275 End
276
277
278 Style Subject
279         CopyStyle             Name
280         LatexName             setkomavar
281         LatexParam            {subject}
282         LabelString           "Subject:"
283 End
284
285
286 Style Yourref
287         CopyStyle             Name
288         LatexName             setkomavar
289         LatexParam            {yourref}
290         LabelString           "Your ref.:"
291
292         LabelFont
293           Family              Sans
294           Series              Medium
295           Shape               Up
296           Size                Small
297           Color               None
298         EndFont
299 End
300
301
302 Style Yourmail
303         CopyStyle             Yourref
304         LatexName             setkomavar
305         LatexParam            {yourmail}
306         LabelString           "Your letter of:"
307 End
308
309
310 Style Myref
311         CopyStyle             Yourref
312         LatexName             setkomavar
313         LatexParam            {myref}
314         LabelString           "Our ref.:"
315 End
316
317
318 Style Customer
319         CopyStyle             Yourref
320         LatexName             setkomavar
321         LatexParam            {customer}
322         LabelString           "Customer no.:"
323 End
324
325
326 Style Invoice
327         CopyStyle             Yourref
328         LatexName             setkomavar
329         LatexParam            {invoice}
330         LabelString           "Invoice no.:"
331 End
332
333
334 Style EndLetter
335         Margin                Dynamic
336         LatexType             Command
337         LatexName             end{letter}
338         Preamble
339                 \letterclosedtrue
340         EndPreamble
341         KeepEmpty             1
342         TopSep                1
343         ParSkip               0.4
344         Align                 Block
345         LabelSep              xx
346         LabelType             Static
347         LabelString           "End of letter"
348         LabelFont
349           Series              Bold
350           Color               Green
351         EndFont
352 End