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