]> git.lyx.org Git - lyx.git/blob - lib/layouts/scrclass.inc
Revert "Update layouts"
[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         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 End
208
209 Style Subtitle
210         CopyStyle             Title
211         LatexName             subtitle
212         Font
213           Size                Large
214         EndFont
215         DocBookTag            subtitle
216 End
217
218
219 Style Author
220         Font
221           Size                Larger
222         EndFont
223 End
224
225
226 Style Date
227         Font
228           Size                Larger
229         EndFont
230 End
231
232
233 Style Subject
234         CopyStyle             Author
235         LatexName             subject
236 End
237
238
239 Style Publishers
240         CopyStyle             Author
241         LatexName             publishers
242 End
243
244
245 Style Dedication
246         CopyStyle             Author
247         LatexName             dedication
248 End
249
250
251 Style Titlehead
252         CopyStyle             Author
253         LatexName             titlehead
254         Align                 Left
255         Font
256           Size                Normal
257         EndFont
258 End
259
260
261 Style Uppertitleback
262         CopyStyle             Titlehead
263         LatexName             uppertitleback
264 End
265
266
267 Style Lowertitleback
268         CopyStyle             Titlehead
269         LatexName             lowertitleback
270 End
271
272
273 Style Extratitle
274         CopyStyle             Titlehead
275         LatexName             extratitle
276 End
277
278 Input stdstruct.inc
279
280 Style Abstract
281         LabelType             No_Label
282 End
283
284
285 Style Bibliography
286         LabelFont
287           Family              Sans
288         EndFont
289 End
290
291 Input stdlayouts.inc
292
293
294 InsetLayout Caption:Above
295         LabelString          above
296         LaTeXType            command
297         LatexName            captionabove
298         NeedProtect          1
299         MultiPar             false
300         Argument 1
301                 LabelString   "Short Title|S"
302                 Tooltip       "The caption as it appears in the list of figures/tables"
303                 InsertCotext  1
304         EndArgument
305         HTMLStyle
306                 div.float-caption {
307                         text-align: center;
308                         border: 2px solid black;
309                         padding: 1ex;
310                         margin: 1ex;
311                 }
312         EndHTMLStyle
313         HTMLAttr "class='float-caption float-caption-above'"
314 End
315
316
317 InsetLayout Caption:Below
318         LabelString          below
319         LaTeXType            command
320         LatexName            captionbelow
321         NeedProtect          1
322         MultiPar             false
323         Argument 1
324                 LabelString   "Short Title|S"
325                 Tooltip       "The caption as it appears in the list of figures/tables"
326                 InsertCotext  1
327         EndArgument
328         HTMLStyle
329                 div.float-caption {
330                         text-align: center;
331                         border: 2px solid black;
332                         padding: 1ex;
333                         margin: 1ex;
334                 }
335         EndHTMLStyle
336         HTMLAttr "class='float-caption float-caption-below'"
337 End
338
339
340 Style Dictum
341         Category             MainText
342         Margin               Right_Address_Box
343         LatexType            Command
344         LatexName            dictum
345         ParSkip              0.4
346         BottomSep            1.5
347         ParSep               1.5
348         Align                Left
349         Argument 1
350                 LabelString   "Dictum Author"
351                 Tooltip       "The author of this dictum"
352         EndArgument
353         Font
354           Size               Normal
355         EndFont
356 End
357
358 Input lyxmacros.inc
359