]> git.lyx.org Git - features.git/blob - lib/layouts/scrlettr.layout
cd41318c7906795b096dce1ac50fa4357572ab01
[features.git] / lib / layouts / scrlettr.layout
1 #% Do not delete the line below; configure depends on this
2 #  \DeclareLaTeXClass{KOMA-Script Letter (V. 1, Obsolete)}
3 #  \DeclareCategory{Obsolete}
4 # KOMA scrlettr textclass definition file.
5 # Bernd Rellermeyer <100.41728@germanynet.de>, 1999/2/17.
6
7 Format 93
8
9 Style Standard
10         Category              MainText
11         LatexName             dummy
12         ParSep                0.4
13         AlignPossible         Block, Left, Right, Center
14         DocBookTag            para
15 End
16
17 Input stdlists.inc
18 Input stdcounters.inc
19 Input stdinsets.inc
20
21 Style Description
22         LabelFont
23           Family              Sans
24         EndFont
25 End
26
27
28 Style Labeling
29         CopyStyle             List
30         LatexName             labeling
31         # overwrite the preamble code definition
32         Preamble
33         EndPreamble
34 End
35
36 Style List
37         Obsoletedby           Labeling
38 End
39
40 Input stdlayouts.inc
41
42
43
44 Style Letter
45         Category              Letter
46         LatexType             Command
47         LatexName             letter
48         KeepEmpty             1
49         LabelSep              xx
50         TopSep                1.5
51         BottomSep             1.5
52         ParSep                1.5
53         Align                 Left
54         LabelType             Static
55         LabelString           "L"
56         LabelFont
57           Series              Bold
58           Shape               Italic
59           Size                Small
60           Color               textlabel1
61         EndFont
62         # TODO: not supported by DocBook, it's related to having several letters in one document.
63 End
64
65
66 Style Opening
67         CopyStyle             Letter
68         LatexName             lyxopening
69         LabelString           "O"
70         Preamble
71           \newcommand{\lyxopening}[1]{\pagebreak\startbreaks\opening{#1}}
72         EndPreamble
73         DocBookTag            para
74         DocBookAttr           role='opening'
75 End
76
77
78 Style Closing
79         Category              Letter
80         LatexType             Command
81         LatexName             closing
82         KeepEmpty             0
83         TopSep                1.5
84         BottomSep             1.5
85         ParSep                1.5
86         Align                 Left
87         DocBookTag            para
88         DocBookAttr           role='closing'
89 End
90
91
92 Style PS
93         LatexType             Command
94         LatexName             ps
95         TopSep                0.4
96         BottomSep             0.4
97         ParSep                0.4
98         Align                 Left
99         DocBookTag            para
100         DocBookAttr           role='post-scriptum'
101 End
102
103
104 Style CC
105         LatexType             Command
106         LatexName             cc
107         LeftMargin            xxxx::xx
108         LabelSep              xx
109         TopSep                0.4
110         BottomSep             0.4
111         ParSep                0.4
112         Align                 Left
113         LabelType             Static
114         LabelString           "cc:"
115         DocBookTag            para
116         DocBookAttr           role='carbon-copy'
117 End
118
119
120 Style Encl
121         CopyStyle             CC
122         LatexName             encl
123         LabelString           "encl:"
124         DocBookTag            para
125         DocBookAttr           role='enclosed'
126 End
127
128
129 Style Name
130         Category              Letter
131         LatexType             Command
132         LatexName             name
133         KeepEmpty             1
134         LeftMargin            xxxxxxxxxxxx::xx
135         LabelSep              xx
136         TopSep                0.4
137         BottomSep             0.4
138         ParSep                0.4
139         Align                 Left
140         LabelType             Static
141         LabelString           "Name:"
142         LabelFont
143           Series              Bold
144           Shape               Italic
145           Color               textlabel1
146         EndFont
147         DocBookTag            personname
148         DocBookTagType        paragraph
149         DocBookWrapperTag     author
150         DocBookWrapperTagType inline
151         DocBookInInfo         always 
152 End
153
154
155 Style Signature
156         CopyStyle             Name
157         LatexName             signature
158         LabelString           "Signature:"
159         DocBookTag            para
160         DocBookAttr           role='signature'
161 End
162
163
164 Style Address
165         CopyStyle             Name
166         LatexName             address
167         LabelString           "Address:"
168     DocBookTag            NONE
169     DocBookWrapperTag     address
170         DocBookWrapperAttr    role='send-to-address'
171     DocBookWrapperMergeWithPrevious  true
172     DocBookInInfo         always
173 End
174
175
176 Style Telephone
177         CopyStyle             Name
178         LatexName             telephone
179         LabelString           "Telephone:"
180         # TODO: to be valid DocBook, this should be in the address.
181         DocBookTag            phone
182         DocBookTagType        paragraph
183         DocBookWrapperTag     author
184         DocBookWrapperTagType paragraph
185         DocBookWrapperMergeWithPrevious true
186         DocBookInInfo         always    
187 End
188
189
190 Style Place
191         CopyStyle             Name
192         LatexName             place
193         LabelString           "Place:"
194         DocBookTag            country
195         DocBookTagType        paragraph
196         DocBookWrapperTag     address
197         DocBookWrapperTagType paragraph
198         DocBookWrapperMergeWithPrevious true
199         DocBookInInfo         always
200 End
201
202
203 Style Date
204         CopyStyle             Name
205         LatexName             date
206         LabelString           "Date:"
207         DocBookTag            date
208         DocBookTagType        paragraph
209         DocBookWrapperTag     NONE
210         DocBookInInfo         always
211     DocBookNoFontInside   true
212 End
213
214
215 Style Backaddress
216         CopyStyle             Name
217         LatexName             backaddress
218         LabelString           "Backaddress:"
219         DocBookTag            NONE
220         DocBookWrapperTag     address
221         DocBookWrapperTagType paragraph
222         DocBookWrapperMergeWithPrevious true
223         DocBookInInfo         always
224 End
225
226
227 Style Specialmail
228         CopyStyle             Name
229         LatexName             specialmail
230         LabelString           "Specialmail:"
231         # TODO: not implemented for DocBook, what is the meaning of this?
232 End
233
234
235 Style Location
236         CopyStyle             Name
237         LatexName             location
238         LabelString           "Location:"
239         # TODO: not implemented for DocBook, what is the meaning of this?
240 End
241
242
243 Style Title
244         CopyStyle             Name
245         LatexName             title
246         LabelString           "Title:"
247         HTMLTitle             true
248         DocBookTag            title
249         DocBookAttr           role='title' # As opposed to subject.
250         DocBookTagType        paragraph
251         DocBookWrapperTag     NONE
252         DocBookInInfo         maybe
253 End
254
255
256 Style Subject
257         CopyStyle             Name
258         LatexName             subject
259         LabelString           "Subject:"
260         DocBookTag            title
261         DocBookAttr           role='title'
262         DocBookTagType        paragraph
263         DocBookWrapperTag     NONE
264         DocBookInInfo         maybe
265 End
266
267
268 Style Yourref
269         CopyStyle             Name
270         LatexName             yourref
271         LabelString           "Your ref.:"
272         LabelFont
273           Family              Sans
274           Series              Medium
275           Shape               Up
276           Size                Small
277           Color               None
278         EndFont
279 End
280
281
282 Style Yourmail
283         CopyStyle             Yourref
284         LatexName             yourmail
285         LabelString           "Your letter of:"
286 End
287
288
289 Style Myref
290         CopyStyle             Yourref
291         LatexName             myref
292         LabelString           "Our ref.:"
293 End
294
295
296 Style Customer
297         CopyStyle             Yourref
298         LatexName             customer
299         LabelString           "Customer no.:"
300 End
301
302
303 Style Invoice
304         CopyStyle             Yourref
305         LatexName             invoice
306         LabelString           "Invoice no.:"
307 End