]> git.lyx.org Git - lyx.git/blob - lib/layouts/scrclass.inc
fix column default of IEEEtran layout
[lyx.git] / lib / layouts / scrclass.inc
1 # KOMA script textclass definition file.
2 # Base definitions for the KOMA script layouts.
3 # Bernd Rellermeyer <100.41728@germanynet.de>, 1998/7/23.
4 # Update for Koma Script Release >=2.8q
5 # Juergen Spitzmueller <spitz@lyx.org>, 2003/2/08.
6 # Mapped List to Labeling
7 # Guenter Milde <milde@lyx.org>, 2009-02-02
8 # Labeling is now used also in non-KOMA classes
9
10
11 Format 104
12 SecNumDepth             2
13 TocDepth                2
14 DefaultStyle            Standard
15 PageSize                a4
16 Provides                subscript 1
17
18 ClassOptions
19         FontSize             9|10|11|12|13|14|15|16|17|18|19|20
20         FontSizeFormat       fontsize=$$s
21         PageSize             a0|a1|a2|a3|a4|a5|a6|b0|b1|b2|b3|b4|b5|b6|c0|c1|c2|c3|c4|c5|c6|executive|legal|letter
22         PageSizeFormat       paper=$$s
23 End
24
25 Style Standard
26         Category              MainText
27         LatexName             dummy
28         ParIndent             MM
29         ParSkip               0.4
30         AlignPossible         Block, Left, Right, Center
31         # FIXME This ought to be set dynamically.
32         HTMLStyle
33                 div.standard {
34                         text-indent: 2em;
35                         margin-bottom: 2ex;
36                 }
37         EndHTMLStyle
38         DocBookTag            para
39 End
40
41 Input stdinsets.inc
42 Input stdlists.inc
43 Input stdcounters.inc
44 Input stdfloats.inc
45
46
47 # Adapt enumii counter display to KOMA default
48 Counter enumii
49         LabelString          "\alph{enumii})"
50 End
51
52
53 Style Description
54         LabelFont
55           Family              Sans
56         EndFont
57 End
58
59 Style Labeling
60         Category              List
61         LatexName             labeling
62         # overwrite the preamble code definition
63         Preamble
64         EndPreamble     
65         DocBookTag            variablelist
66         DocBookItemWrapperTag varlistentry
67         DocBookItemTag        listitem
68         DocBookItemInnerTag   para
69         DocBookItemLabelTag   term
70         DocBookItemLabelTagType   paragraph
71 End
72
73 Input stdsections.inc
74
75 Style Part
76         Font
77           Family              Sans
78         EndFont
79 End
80
81
82 Style Chapter
83         LabelType             Static
84         LabelSep              xxx
85         Margin                Dynamic
86         Align                 Left
87         Font
88           Family              Sans
89           Size                Largest
90         EndFont
91                 TocLevel 0
92 End
93
94
95 Style Section
96         Align                 Left
97         Font
98           Family              Sans
99         EndFont
100         TocLevel 1
101 End
102
103
104 Style Subsection
105         Align                 Left
106         Font
107           Family              Sans
108         EndFont
109         TocLevel 2
110 End
111
112
113 Style Subsubsection
114         Align                 Left
115         Font
116           Family              Sans
117         EndFont
118         TocLevel 3
119 End
120
121
122 Style Paragraph
123         Align                 Left
124         Font
125           Family              Sans
126         EndFont
127         TocLevel 4
128 End
129
130
131 Style Subparagraph
132         Align                 Left
133         LeftMargin            ""
134         Font
135           Family              Sans
136         EndFont
137         TocLevel 5
138 End
139
140 Input stdstarsections.inc
141
142 Style Addpart
143         CopyStyle             Part*
144         LatexName             addpart
145         Argument 1
146                 LabelString   "Short Title|S"
147                 Tooltip       "The part as it appears in the table of contents/running headers"
148                 InsertCotext  1
149         DocBookTag    titleabbrev
150         DocBookArgumentAfterMainTag  true
151         EndArgument
152 End
153
154
155 Style Addchap
156         CopyStyle             Chapter*
157         LatexName             addchap
158         Argument 1
159                 LabelString   "Short Title|S"
160                 Tooltip       "The chapter as it appears in the table of contents/running headers"
161                 InsertCotext  1
162         DocBookTag    titleabbrev
163         DocBookArgumentAfterMainTag  true
164         EndArgument
165 End
166
167
168 Style Addsec
169         CopyStyle             Section*
170         LatexName             addsec
171         Argument 1
172                 LabelString   "Short Title|S"
173                 Tooltip       "The section as it appears in the table of contents/running headers"
174                 InsertCotext  1
175         DocBookTag    titleabbrev
176         DocBookArgumentAfterMainTag  true
177         EndArgument
178 End
179
180
181 Style Addchap*
182         CopyStyle             Chapter*
183         LatexName             addchap*
184 End
185
186
187 Style Addsec*
188         CopyStyle             Section*
189         LatexName             addsec*
190 End
191
192
193 Style Minisec
194         Category              Sectioning
195         LatexType             Command
196         LatexName             minisec
197         NeedProtect           1
198         NextNoIndent          1
199         LabelSep              xxx
200         ParSkip               0.4
201         TopSep                0.4
202         ParSep                0.4
203         AlignPossible         Block, Left
204         Font
205           Family              Sans
206           Series              Bold
207         EndFont
208 End
209
210 Input stdtitle.inc
211
212 Style Title
213         Font
214           Family              Sans
215           Series              Bold
216         EndFont
217         DocBookTag            title
218         DocBookInInfo         maybe
219 End
220
221 Style Subtitle
222         CopyStyle             Title
223         LatexName             subtitle
224         Font
225           Size                Large
226         EndFont
227         DocBookTag            subtitle
228         DocBookInInfo         maybe
229 End
230
231
232 Style Author
233         Font
234           Size                Larger
235         EndFont
236         DocBookTag            personname
237         DocBookTagType        paragraph
238         DocBookWrapperTag     author
239         DocBookWrapperTagType inline
240         DocBookInInfo         always
241 End
242
243
244 Style Date
245         Font
246           Size                Larger
247         EndFont
248         DocBookTag            date
249         DocBookTagType        paragraph
250         DocBookInInfo         always
251     DocBookNoFontInside   true
252 End
253
254
255 Style Subject
256         CopyStyle             Author
257         LatexName             subject
258 End
259
260
261 Style Publishers
262         CopyStyle             Author
263         LatexName             publishers
264 End
265
266
267 Style Dedication
268         CopyStyle             Author
269         LatexName             dedication
270 End
271
272
273 Style Titlehead
274         CopyStyle             Author
275         LatexName             titlehead
276         Align                 Left
277         Font
278           Size                Normal
279         EndFont
280 End
281
282
283 Style Uppertitleback
284         CopyStyle             Titlehead
285         LatexName             uppertitleback
286 End
287
288
289 Style Lowertitleback
290         CopyStyle             Titlehead
291         LatexName             lowertitleback
292 End
293
294
295 Style Extratitle
296         CopyStyle             Titlehead
297         LatexName             extratitle
298 End
299
300 Style Frontispiece
301         CopyStyle             Titlehead
302         LatexName             frontispiece
303 End
304
305 Input stdstruct.inc
306
307 Style Abstract
308         LabelType             No_Label
309 End
310
311
312 Style Bibliography
313         LabelFont
314           Family              Sans
315         EndFont
316 End
317
318 Input stdlayouts.inc
319
320
321 InsetLayout Caption:Above
322         LabelString          above
323         LaTeXType            command
324         LatexName            captionabove
325         NeedProtect          1
326         MultiPar             false
327         Argument 1
328                 LabelString   "Short Title|S"
329                 Tooltip       "The caption as it appears in the list of figures/tables"
330                 InsertCotext  1
331         DocBookTag    titleabbrev
332         DocBookArgumentAfterMainTag  true
333         EndArgument
334         HTMLStyle
335                 div.float-caption {
336                         text-align: center;
337                         border: 2px solid black;
338                         padding: 1ex;
339                         margin: 1ex;
340                 }
341         EndHTMLStyle
342         HTMLClass   "float-caption float-caption-above"
343 End
344
345
346 InsetLayout Caption:Below
347         LabelString          below
348         LaTeXType            command
349         LatexName            captionbelow
350         NeedProtect          1
351         MultiPar             false
352         Argument 1
353                 LabelString   "Short Title|S"
354                 Tooltip       "The caption as it appears in the list of figures/tables"
355                 InsertCotext  1
356         DocBookTag    titleabbrev
357         DocBookArgumentAfterMainTag  true
358         EndArgument
359         HTMLStyle
360                 div.float-caption {
361                         text-align: center;
362                         border: 2px solid black;
363                         padding: 1ex;
364                         margin: 1ex;
365                 }
366         EndHTMLStyle
367         HTMLClass    "float-caption float-caption-below"
368 End
369
370
371 Style Dictum
372         Category             MainText
373         Margin               Right_Address_Box
374         LatexType            Command
375         LatexName            dictum
376         ParSkip              0.4
377         BottomSep            1.5
378         ParSep               1.5
379         Align                Left
380         Argument 1
381                 LabelString   "Dictum Author"
382                 Tooltip       "The author of this dictum"
383         EndArgument
384         Font
385           Size               Normal
386         EndFont
387 End
388
389 Input lyxmacros.inc
390