]> git.lyx.org Git - lyx.git/blob - lib/layouts/scrclass.inc
Make continuous spellcheck the default.
[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 93
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     DocBookNoFontInside   true
242 End
243
244
245 Style Subject
246         CopyStyle             Author
247         LatexName             subject
248 End
249
250
251 Style Publishers
252         CopyStyle             Author
253         LatexName             publishers
254 End
255
256
257 Style Dedication
258         CopyStyle             Author
259         LatexName             dedication
260 End
261
262
263 Style Titlehead
264         CopyStyle             Author
265         LatexName             titlehead
266         Align                 Left
267         Font
268           Size                Normal
269         EndFont
270 End
271
272
273 Style Uppertitleback
274         CopyStyle             Titlehead
275         LatexName             uppertitleback
276 End
277
278
279 Style Lowertitleback
280         CopyStyle             Titlehead
281         LatexName             lowertitleback
282 End
283
284
285 Style Extratitle
286         CopyStyle             Titlehead
287         LatexName             extratitle
288 End
289
290 Style Frontispiece
291         CopyStyle             Titlehead
292         LatexName             frontispiece
293 End
294
295 Input stdstruct.inc
296
297 Style Abstract
298         LabelType             No_Label
299 End
300
301
302 Style Bibliography
303         LabelFont
304           Family              Sans
305         EndFont
306 End
307
308 Input stdlayouts.inc
309
310
311 InsetLayout Caption:Above
312         LabelString          above
313         LaTeXType            command
314         LatexName            captionabove
315         NeedProtect          1
316         MultiPar             false
317         Argument 1
318                 LabelString   "Short Title|S"
319                 Tooltip       "The caption as it appears in the list of figures/tables"
320                 InsertCotext  1
321         EndArgument
322         HTMLStyle
323                 div.float-caption {
324                         text-align: center;
325                         border: 2px solid black;
326                         padding: 1ex;
327                         margin: 1ex;
328                 }
329         EndHTMLStyle
330         HTMLAttr "class='float-caption float-caption-above'"
331 End
332
333
334 InsetLayout Caption:Below
335         LabelString          below
336         LaTeXType            command
337         LatexName            captionbelow
338         NeedProtect          1
339         MultiPar             false
340         Argument 1
341                 LabelString   "Short Title|S"
342                 Tooltip       "The caption as it appears in the list of figures/tables"
343                 InsertCotext  1
344         EndArgument
345         HTMLStyle
346                 div.float-caption {
347                         text-align: center;
348                         border: 2px solid black;
349                         padding: 1ex;
350                         margin: 1ex;
351                 }
352         EndHTMLStyle
353         HTMLAttr "class='float-caption float-caption-below'"
354 End
355
356
357 Style Dictum
358         Category             MainText
359         Margin               Right_Address_Box
360         LatexType            Command
361         LatexName            dictum
362         ParSkip              0.4
363         BottomSep            1.5
364         ParSep               1.5
365         Align                Left
366         Argument 1
367                 LabelString   "Dictum Author"
368                 Tooltip       "The author of this dictum"
369         EndArgument
370         Font
371           Size               Normal
372         EndFont
373 End
374
375 Input lyxmacros.inc
376