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