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