]> git.lyx.org Git - features.git/blob - lib/layouts/scrclass.inc
DocBook: ensure that <info>-related insets in the abstract are not generated in the...
[features.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 85
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         GuiName "Numbered List (Level 2)"
50         Within               enumi
51         LabelString          "\alph{enumii})"
52 End
53
54
55 Style Description
56         LabelFont
57           Family              Sans
58         EndFont
59 End
60
61 Style Labeling
62         Category              List
63         LatexName             labeling
64         # overwrite the preamble code definition
65         Preamble
66         EndPreamble     
67         DocBookTag            variablelist
68         DocBookItemWrapperTag varlistentry
69         DocBookItemTag        listitem
70         DocBookItemInnerTag   para
71         DocBookItemLabelTag   term
72         DocBookItemLabelTagType   paragraph
73 End
74
75 Input stdsections.inc
76
77 Style Part
78         Font
79           Family              Sans
80         EndFont
81 End
82
83
84 Style Chapter
85         LabelType             Static
86         LabelSep              xxx
87         Margin                Dynamic
88         Align                 Left
89         Font
90           Family              Sans
91           Size                Largest
92         EndFont
93 End
94
95
96 Style Section
97         Align                 Left
98         Font
99           Family              Sans
100         EndFont
101 End
102
103
104 Style Subsection
105         Align                 Left
106         Font
107           Family              Sans
108         EndFont
109 End
110
111
112 Style Subsubsection
113         Align                 Left
114         Font
115           Family              Sans
116         EndFont
117 End
118
119
120 Style Paragraph
121         Align                 Left
122         Font
123           Family              Sans
124         EndFont
125 End
126
127
128 Style Subparagraph
129         Align                 Left
130         LeftMargin            ""
131         Font
132           Family              Sans
133         EndFont
134 End
135
136 Input stdstarsections.inc
137
138 Style Addpart
139         CopyStyle             Part*
140         LatexName             addpart
141         Argument 1
142                 LabelString   "Short Title|S"
143                 Tooltip       "The part as it appears in the table of contents/running headers"
144                 InsertCotext  1
145         EndArgument
146 End
147
148
149 Style Addchap
150         CopyStyle             Chapter*
151         LatexName             addchap
152         Argument 1
153                 LabelString   "Short Title|S"
154                 Tooltip       "The chapter as it appears in the table of contents/running headers"
155                 InsertCotext  1
156         EndArgument
157 End
158
159
160 Style Addsec
161         CopyStyle             Section*
162         LatexName             addsec
163         Argument 1
164                 LabelString   "Short Title|S"
165                 Tooltip       "The section as it appears in the table of contents/running headers"
166                 InsertCotext  1
167         EndArgument
168 End
169
170
171 Style Addchap*
172         CopyStyle             Chapter*
173         LatexName             addchap*
174 End
175
176
177 Style Addsec*
178         CopyStyle             Section*
179         LatexName             addsec*
180 End
181
182
183 Style Minisec
184         Category              Sectioning
185         LatexType             Command
186         LatexName             minisec
187         NeedProtect           1
188         NextNoIndent          1
189         LabelSep              xxx
190         ParSkip               0.4
191         TopSep                0.4
192         ParSep                0.4
193         AlignPossible         Block, Left
194         Font
195           Family              Sans
196           Series              Bold
197         EndFont
198 End
199
200 Input stdtitle.inc
201
202 Style Title
203         Font
204           Family              Sans
205           Series              Bold
206         EndFont
207         DocBookTag            title
208         DocBookInInfo         maybe
209 End
210
211 Style Subtitle
212         CopyStyle             Title
213         LatexName             subtitle
214         Font
215           Size                Large
216         EndFont
217         DocBookTag            subtitle
218         DocBookInInfo         maybe
219 End
220
221
222 Style Author
223         Font
224           Size                Larger
225         EndFont
226         DocBookTag            personname
227         DocBookTagType        paragraph
228         DocBookWrapperTag     author
229         DocBookWrapperTagType inline
230         DocBookInInfo         always
231 End
232
233
234 Style Date
235         Font
236           Size                Larger
237         EndFont
238         DocBookTag            date
239         DocBookTagType        paragraph
240         DocBookInInfo         always
241 End
242
243
244 Style Subject
245         CopyStyle             Author
246         LatexName             subject
247 End
248
249
250 Style Publishers
251         CopyStyle             Author
252         LatexName             publishers
253 End
254
255
256 Style Dedication
257         CopyStyle             Author
258         LatexName             dedication
259 End
260
261
262 Style Titlehead
263         CopyStyle             Author
264         LatexName             titlehead
265         Align                 Left
266         Font
267           Size                Normal
268         EndFont
269 End
270
271
272 Style Uppertitleback
273         CopyStyle             Titlehead
274         LatexName             uppertitleback
275 End
276
277
278 Style Lowertitleback
279         CopyStyle             Titlehead
280         LatexName             lowertitleback
281 End
282
283
284 Style Extratitle
285         CopyStyle             Titlehead
286         LatexName             extratitle
287 End
288
289 Input stdstruct.inc
290
291 Style Abstract
292         LabelType             No_Label
293 End
294
295
296 Style Bibliography
297         LabelFont
298           Family              Sans
299         EndFont
300 End
301
302 Input stdlayouts.inc
303
304
305 InsetLayout Caption:Above
306         LabelString          above
307         LaTeXType            command
308         LatexName            captionabove
309         NeedProtect          1
310         MultiPar             false
311         Argument 1
312                 LabelString   "Short Title|S"
313                 Tooltip       "The caption as it appears in the list of figures/tables"
314                 InsertCotext  1
315         EndArgument
316         HTMLStyle
317                 div.float-caption {
318                         text-align: center;
319                         border: 2px solid black;
320                         padding: 1ex;
321                         margin: 1ex;
322                 }
323         EndHTMLStyle
324         HTMLAttr "class='float-caption float-caption-above'"
325 End
326
327
328 InsetLayout Caption:Below
329         LabelString          below
330         LaTeXType            command
331         LatexName            captionbelow
332         NeedProtect          1
333         MultiPar             false
334         Argument 1
335                 LabelString   "Short Title|S"
336                 Tooltip       "The caption as it appears in the list of figures/tables"
337                 InsertCotext  1
338         EndArgument
339         HTMLStyle
340                 div.float-caption {
341                         text-align: center;
342                         border: 2px solid black;
343                         padding: 1ex;
344                         margin: 1ex;
345                 }
346         EndHTMLStyle
347         HTMLAttr "class='float-caption float-caption-below'"
348 End
349
350
351 Style Dictum
352         Category             MainText
353         Margin               Right_Address_Box
354         LatexType            Command
355         LatexName            dictum
356         ParSkip              0.4
357         BottomSep            1.5
358         ParSep               1.5
359         Align                Left
360         Argument 1
361                 LabelString   "Dictum Author"
362                 Tooltip       "The author of this dictum"
363         EndArgument
364         Font
365           Size               Normal
366         EndFont
367 End
368
369 Input lyxmacros.inc
370