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