]> git.lyx.org Git - features.git/blob - lib/layouts/scrclass.inc
Update layouts
[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 84
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                 TocLevel 0
94 End
95
96
97 Style Section
98         Align                 Left
99         Font
100           Family              Sans
101         EndFont
102         TocLevel 1
103 End
104
105
106 Style Subsection
107         Align                 Left
108         Font
109           Family              Sans
110         EndFont
111         TocLevel 2
112 End
113
114
115 Style Subsubsection
116         Align                 Left
117         Font
118           Family              Sans
119         EndFont
120         TocLevel 3
121 End
122
123
124 Style Paragraph
125         Align                 Left
126         Font
127           Family              Sans
128         EndFont
129         TocLevel 4
130 End
131
132
133 Style Subparagraph
134         Align                 Left
135         LeftMargin            ""
136         Font
137           Family              Sans
138         EndFont
139         TocLevel 5
140 End
141
142 Input stdstarsections.inc
143
144 Style Addpart
145         CopyStyle             Part*
146         LatexName             addpart
147         Argument 1
148                 LabelString   "Short Title|S"
149                 Tooltip       "The part as it appears in the table of contents/running headers"
150                 InsertCotext  1
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         EndArgument
163 End
164
165
166 Style Addsec
167         CopyStyle             Section*
168         LatexName             addsec
169         Argument 1
170                 LabelString   "Short Title|S"
171                 Tooltip       "The section as it appears in the table of contents/running headers"
172                 InsertCotext  1
173         EndArgument
174 End
175
176
177 Style Addchap*
178         CopyStyle             Chapter*
179         LatexName             addchap*
180 End
181
182
183 Style Addsec*
184         CopyStyle             Section*
185         LatexName             addsec*
186 End
187
188
189 Style Minisec
190         Category              Sectioning
191         LatexType             Command
192         LatexName             minisec
193         NeedProtect           1
194         NextNoIndent          1
195         LabelSep              xxx
196         ParSkip               0.4
197         TopSep                0.4
198         ParSep                0.4
199         AlignPossible         Block, Left
200         Font
201           Family              Sans
202           Series              Bold
203         EndFont
204 End
205
206 Input stdtitle.inc
207
208 Style Title
209         Font
210           Family              Sans
211           Series              Bold
212         EndFont
213 End
214
215 Style Subtitle
216         CopyStyle             Title
217         LatexName             subtitle
218         Font
219           Size                Large
220         EndFont
221         DocBookTag            subtitle
222 End
223
224
225 Style Author
226         Font
227           Size                Larger
228         EndFont
229 End
230
231
232 Style Date
233         Font
234           Size                Larger
235         EndFont
236 End
237
238
239 Style Subject
240         CopyStyle             Author
241         LatexName             subject
242 End
243
244
245 Style Publishers
246         CopyStyle             Author
247         LatexName             publishers
248 End
249
250
251 Style Dedication
252         CopyStyle             Author
253         LatexName             dedication
254 End
255
256
257 Style Titlehead
258         CopyStyle             Author
259         LatexName             titlehead
260         Align                 Left
261         Font
262           Size                Normal
263         EndFont
264 End
265
266
267 Style Uppertitleback
268         CopyStyle             Titlehead
269         LatexName             uppertitleback
270 End
271
272
273 Style Lowertitleback
274         CopyStyle             Titlehead
275         LatexName             lowertitleback
276 End
277
278
279 Style Extratitle
280         CopyStyle             Titlehead
281         LatexName             extratitle
282 End
283
284 Input stdstruct.inc
285
286 Style Abstract
287         LabelType             No_Label
288 End
289
290
291 Style Bibliography
292         LabelFont
293           Family              Sans
294         EndFont
295 End
296
297 Input stdlayouts.inc
298
299
300 InsetLayout Caption:Above
301         LabelString          above
302         LaTeXType            command
303         LatexName            captionabove
304         NeedProtect          1
305         MultiPar             false
306         Argument 1
307                 LabelString   "Short Title|S"
308                 Tooltip       "The caption as it appears in the list of figures/tables"
309                 InsertCotext  1
310         EndArgument
311         HTMLStyle
312                 div.float-caption {
313                         text-align: center;
314                         border: 2px solid black;
315                         padding: 1ex;
316                         margin: 1ex;
317                 }
318         EndHTMLStyle
319         HTMLAttr "class='float-caption float-caption-above'"
320 End
321
322
323 InsetLayout Caption:Below
324         LabelString          below
325         LaTeXType            command
326         LatexName            captionbelow
327         NeedProtect          1
328         MultiPar             false
329         Argument 1
330                 LabelString   "Short Title|S"
331                 Tooltip       "The caption as it appears in the list of figures/tables"
332                 InsertCotext  1
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         HTMLAttr "class='float-caption float-caption-below'"
343 End
344
345
346 Style Dictum
347         Category             MainText
348         Margin               Right_Address_Box
349         LatexType            Command
350         LatexName            dictum
351         ParSkip              0.4
352         BottomSep            1.5
353         ParSep               1.5
354         Align                Left
355         Argument 1
356                 LabelString   "Dictum Author"
357                 Tooltip       "The author of this dictum"
358         EndArgument
359         Font
360           Size               Normal
361         EndFont
362 End
363
364 Input lyxmacros.inc
365