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