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