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