]> git.lyx.org Git - lyx.git/blob - lib/layouts/scrclass.inc
New Theorems Module. Contributed by Udicoudco <udifoglle@gmail.com> on the mailing...
[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 99
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         DocBookTag    titleabbrev
152         DocBookArgumentAfterMainTag  true
153         EndArgument
154 End
155
156
157 Style Addchap
158         CopyStyle             Chapter*
159         LatexName             addchap
160         Argument 1
161                 LabelString   "Short Title|S"
162                 Tooltip       "The chapter as it appears in the table of contents/running headers"
163                 InsertCotext  1
164         DocBookTag    titleabbrev
165         DocBookArgumentAfterMainTag  true
166         EndArgument
167 End
168
169
170 Style Addsec
171         CopyStyle             Section*
172         LatexName             addsec
173         Argument 1
174                 LabelString   "Short Title|S"
175                 Tooltip       "The section as it appears in the table of contents/running headers"
176                 InsertCotext  1
177         DocBookTag    titleabbrev
178         DocBookArgumentAfterMainTag  true
179         EndArgument
180 End
181
182
183 Style Addchap*
184         CopyStyle             Chapter*
185         LatexName             addchap*
186 End
187
188
189 Style Addsec*
190         CopyStyle             Section*
191         LatexName             addsec*
192 End
193
194
195 Style Minisec
196         Category              Sectioning
197         LatexType             Command
198         LatexName             minisec
199         NeedProtect           1
200         NextNoIndent          1
201         LabelSep              xxx
202         ParSkip               0.4
203         TopSep                0.4
204         ParSep                0.4
205         AlignPossible         Block, Left
206         Font
207           Family              Sans
208           Series              Bold
209         EndFont
210 End
211
212 Input stdtitle.inc
213
214 Style Title
215         Font
216           Family              Sans
217           Series              Bold
218         EndFont
219         DocBookTag            title
220         DocBookInInfo         maybe
221 End
222
223 Style Subtitle
224         CopyStyle             Title
225         LatexName             subtitle
226         Font
227           Size                Large
228         EndFont
229         DocBookTag            subtitle
230         DocBookInInfo         maybe
231 End
232
233
234 Style Author
235         Font
236           Size                Larger
237         EndFont
238         DocBookTag            personname
239         DocBookTagType        paragraph
240         DocBookWrapperTag     author
241         DocBookWrapperTagType inline
242         DocBookInInfo         always
243 End
244
245
246 Style Date
247         Font
248           Size                Larger
249         EndFont
250         DocBookTag            date
251         DocBookTagType        paragraph
252         DocBookInInfo         always
253     DocBookNoFontInside   true
254 End
255
256
257 Style Subject
258         CopyStyle             Author
259         LatexName             subject
260 End
261
262
263 Style Publishers
264         CopyStyle             Author
265         LatexName             publishers
266 End
267
268
269 Style Dedication
270         CopyStyle             Author
271         LatexName             dedication
272 End
273
274
275 Style Titlehead
276         CopyStyle             Author
277         LatexName             titlehead
278         Align                 Left
279         Font
280           Size                Normal
281         EndFont
282 End
283
284
285 Style Uppertitleback
286         CopyStyle             Titlehead
287         LatexName             uppertitleback
288 End
289
290
291 Style Lowertitleback
292         CopyStyle             Titlehead
293         LatexName             lowertitleback
294 End
295
296
297 Style Extratitle
298         CopyStyle             Titlehead
299         LatexName             extratitle
300 End
301
302 Style Frontispiece
303         CopyStyle             Titlehead
304         LatexName             frontispiece
305 End
306
307 Input stdstruct.inc
308
309 Style Abstract
310         LabelType             No_Label
311 End
312
313
314 Style Bibliography
315         LabelFont
316           Family              Sans
317         EndFont
318 End
319
320 Input stdlayouts.inc
321
322
323 InsetLayout Caption:Above
324         LabelString          above
325         LaTeXType            command
326         LatexName            captionabove
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         DocBookTag    titleabbrev
334         DocBookArgumentAfterMainTag  true
335         EndArgument
336         HTMLStyle
337                 div.float-caption {
338                         text-align: center;
339                         border: 2px solid black;
340                         padding: 1ex;
341                         margin: 1ex;
342                 }
343         EndHTMLStyle
344         HTMLClass   "float-caption float-caption-above"
345 End
346
347
348 InsetLayout Caption:Below
349         LabelString          below
350         LaTeXType            command
351         LatexName            captionbelow
352         NeedProtect          1
353         MultiPar             false
354         Argument 1
355                 LabelString   "Short Title|S"
356                 Tooltip       "The caption as it appears in the list of figures/tables"
357                 InsertCotext  1
358         DocBookTag    titleabbrev
359         DocBookArgumentAfterMainTag  true
360         EndArgument
361         HTMLStyle
362                 div.float-caption {
363                         text-align: center;
364                         border: 2px solid black;
365                         padding: 1ex;
366                         margin: 1ex;
367                 }
368         EndHTMLStyle
369         HTMLClass    "float-caption float-caption-below"
370 End
371
372
373 Style Dictum
374         Category             MainText
375         Margin               Right_Address_Box
376         LatexType            Command
377         LatexName            dictum
378         ParSkip              0.4
379         BottomSep            1.5
380         ParSep               1.5
381         Align                Left
382         Argument 1
383                 LabelString   "Dictum Author"
384                 Tooltip       "The author of this dictum"
385         EndArgument
386         Font
387           Size               Normal
388         EndFont
389 End
390
391 Input lyxmacros.inc
392