]> git.lyx.org Git - lyx.git/blob - lib/layouts/linuxdoc.layout
add support for tables and figures (linuxdoc).
[lyx.git] / lib / layouts / linuxdoc.layout
1 #% Do not delete the line below; configure depends on this
2 #  \DeclareLinuxDocClass[article]{SGML (LinuxDoc article)}
3 # LinuxDoc textclass definition file. 
4 # Author : Pascal AndrĂ© <andre@via.ecp.fr>
5
6 # General textclass parameters
7 Columns                 1
8 Sides                   1
9 PageStyle               Plain
10 MaxCounter              Counter_Section
11 OutputType              linuxdoc
12 DefaultStyle            Standard
13
14 Input stdcounters.inc
15 Input stdfloats.inc
16
17 # Standard style definition
18 Style Standard
19         Margin                Static
20         LatexType             Paragraph
21         LatexName             p
22         ParSkip               0.4
23         Align                 Block
24         AlignPossible         Block
25         LabelType             No_Label
26 End
27
28 # Quote style definition
29 Style Quote
30         Margin                Static
31         LatexType             Environment
32         LatexName             quote
33         ParIndent             MM
34         ParSkip               0.4
35         Align                 Block
36         AlignPossible         Block
37         LabelType             No_Label
38 End
39
40 # Title style definition
41 Style Title
42         Margin                Static
43         LatexType             Paragraph
44         LatexName             title
45         NextNoIndent          1
46         ParSkip               0.4
47         Align                 Center
48         AlignPossible         Block, Center, Left, Right, Center
49         LabelType             No_Label
50         Fill_Top              1
51         Fill_Bottom           1
52
53         # standard font definition
54         Font 
55           Family              Sans
56           Series              Bold
57           Size                Largest
58         EndFont
59
60         # label font definition
61         LabelFont 
62           Family              Sans
63           Series              Bold
64           Size                Largest
65         EndFont
66 End
67
68 # Section style definition
69 Style Section
70         Margin                Dynamic
71         LatexType             Command
72         LatexName             sect
73         LabelSep              xxx
74         ParSkip               0.4
75         TopSep                1.3
76         BottomSep             0.7
77         ParSep                0.7
78         Align                 Block
79         AlignPossible         Block, Left
80         LabelType             Counter_Section
81         # standard font definition
82         Font 
83           Series              Bold
84           Size                Larger
85         EndFont
86
87         # label font definition
88         LabelFont 
89           Series              Bold
90           Size                Larger
91         EndFont
92 End
93
94 # Subsection style definition
95 Style Subsection
96         Margin                Dynamic
97         LatexType             Command
98         LatexName             sect1
99         LabelSep              xxx
100         ParSkip               0.4
101         TopSep                0.9
102         BottomSep             0.5
103         ParSep                0.5
104         Align                 Block
105         AlignPossible         Block, Left
106         LabelType             Counter_Subsection
107
108         # standard font definition
109         Font 
110           Series              Bold
111           Size                Large
112         EndFont
113
114         # label font definition
115         LabelFont 
116           Series              Bold
117           Size                Large
118         EndFont
119 End
120
121 # Subsubsection style definition
122 Style Subsubsection
123         Margin                Dynamic
124         LatexType             Command
125         LatexName             sect2
126         LabelSep              xxx
127         ParSkip               0.4
128         TopSep                0.7
129         BottomSep             0.4
130         ParSep                0.4
131         Align                 Block
132         AlignPossible         Block, Left
133         LabelType             Counter_SubSubSection
134
135         # standard font definition
136         Font 
137           Series              Bold
138         EndFont
139
140         # label font definition
141         LabelFont 
142           Series              Bold
143         EndFont
144 End
145
146 # Paragraph style definition
147 Style Paragraph
148         Margin                Dynamic
149         LatexType             Command
150         LatexName             sect3
151         LabelSep              xxx
152         ParSkip               0.4
153         TopSep                0.4
154         BottomSep             0.4
155         Align                 Block
156         AlignPossible         Block, Left
157         LabelType             Counter_Paragraph
158
159         # standard font definition
160         Font 
161           Series              Bold
162         EndFont
163
164         # label font definition
165         LabelFont 
166           Series              Bold
167         EndFont
168 End
169
170 # Subparagraph style definition
171 Style Subparagraph
172         Margin                Dynamic
173         LatexType             Command
174         LatexName             sect4
175         LeftMargin            MM
176         LabelSep              xxx
177         ParSkip               0.4
178         TopSep                0.4
179         ParSep                0.4
180         Align                 Block
181         AlignPossible         Block, Left
182         LabelType             Counter_SubParagraph
183
184         # standard font definition
185         Font 
186           Series              Bold
187         EndFont
188
189         # label font definition
190         LabelFont 
191           Series              Bold
192         EndFont
193 End
194
195 # Enumerate style definition
196 Style Enumerate
197         Margin                Static
198         LatexType             Item_Environment
199         LatexName             enum
200         LeftMargin            MMN
201         LabelSep              xx
202         ItemSep               0.2
203         TopSep                0.7
204         BottomSep             0.7
205         ParSep                0.3
206         Align                 Block
207         AlignPossible         Block, Left
208         LabelType             Counter_EnumI
209 End
210
211 # Itemize style definition
212 Style Itemize
213         Margin                Static
214         LatexType             Item_Environment
215         LatexName             itemize
216         LeftMargin            MMN
217         LabelSep              xx
218         ItemSep               0.2
219         TopSep                0.7
220         BottomSep             0.7
221         ParSep                0.3
222         Align                 Block
223         AlignPossible         Block, Left
224         LabelType             Static
225         LabelString           *
226 End
227
228 # Description style definition
229 Style Description
230         Margin                First_Dynamic
231         LatexType             Item_environment
232         LatexName             descrip
233         LeftMargin            MM
234         LabelSep              xxx
235         ParSkip               0.4
236         ItemSep               0.2
237         TopSep                0.7
238         BottomSep             0.7
239         ParSep                0.3
240         Align                 Block
241         AlignPossible         Block, Left
242         LabelType             Manual
243         LabelString           MM
244
245         # label font definition
246         LabelFont 
247           Series              Bold
248         EndFont
249 End
250
251 # Verbatim style definition
252 Style Verbatim
253         Margin                Static
254         LatexType             environment
255         LatexName             verb
256         LeftMargin            MM
257         LabelSep              xx
258         ItemSep               0.2
259         Topsep                0.7
260         BottomSep             0.7
261         ParSep                0.3
262         Align                 Block
263         AlignPossible         Block
264         FreeSpacing           1
265         LabelType             No_Label
266
267         # standard font definition
268         Font 
269           Family              Typewriter
270         EndFont
271
272         # label font definition
273         LabelFont 
274           Family              Typewriter
275         EndFont
276 End
277
278 # Code style definition
279 Style Code
280         Margin                Static
281         LatexType             Environment
282         LatexParam            CDATA
283         LatexName             code
284         LeftMargin            MM
285         LabelSep              xx
286         ItemSep               0.2
287         TopSep                0.7
288         BottomSep             0.7
289         ParSep                0.3
290         Align                 Block
291         AlignPossible         Block
292         LabelType             No_Label
293         FreeSpacing           1
294 End
295
296 # Author style definition
297 Style Author
298         Margin                Dynamic
299         LatexType             Paragraph
300         LatexName             author
301         LabelSep              xxx
302         ParSkip               0.4
303         TopSep                1.3
304         BottomSep             0.7
305         ParSep                0.7
306         Align                 Center
307         AlignPossible         Center
308         LabelType             No_Label
309
310         # standard font definition
311         Font 
312           Size                Larger
313         EndFont
314
315         # label font definition
316         LabelFont 
317           Size                Larger
318         EndFont
319 End
320
321 # Date style definition
322 Style Date
323         Margin                Dynamic
324         LatexType             Paragraph
325         LatexName             date
326         LabelSep              xxx
327         ParSkip               0.4
328         TopSep                0.9
329         BottomSep             0.5
330         ParSep                0.5
331         Align                 Center
332         AlignPossible         Center
333         LabelType             No_Label
334
335         # standard font definition
336         Font 
337           Size                Large
338         EndFont
339
340         # label font definition
341         LabelFont 
342           Size                Large
343         EndFont
344 End
345
346 # Abstract style definition
347 Style Abstract
348         Margin                Static
349         LatexType             Paragraph
350         LatexName             abstract
351         LeftMargin            MM
352         LabelSep              xx
353         ItemSep               0
354         TopSep                0.7
355         BottomSep             0.7
356         ParSep                0
357         Align                 Block
358         AlignPossible         Block
359         LabelType             No_Label
360
361         # standard font definition
362         Font 
363           Shape               Italic
364         EndFont
365
366         # label font definition
367         LabelFont 
368           Shape               Italic
369         EndFont
370 End 
371
372 # SGML style definition
373 Style SGML
374         Margin                Static
375         LatexType             Paragraph
376         LatexName             "!-- --"
377         NewLine               0
378         ParIndent             MM
379         ParSkip               0.4
380         ParSep                0.5
381         Align                 Left
382         AlignPossible         Block, Left, Right, Center
383         LabelType             No_Label
384         FreeSpacing           1
385         PassThru              1
386 End
387
388 # Caption style definition
389 Style Caption
390         Margin                First_Dynamic
391         LatexType             Paragraph
392         LatexName             caption
393         NeedProtect           1
394         LabelSep              xx
395         ParSkip               0.4
396         TopSep                0.5
397         Align                 Center
398         AlignPossible         Center
399         LabelType             Sensitive
400         LabelString             Caption
401         OptionalArgs          1
402
403         # label font definition
404         LabelFont 
405           Series              Bold
406         EndFont
407 End