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