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