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