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