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