]> git.lyx.org Git - lyx.git/blob - lib/layouts/scrclass.inc
GuiBox.cpp: fix button logic (fixes bug #9543)
[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 54
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         EndArgument
129 End
130
131
132 Style Addchap
133         CopyStyle             Chapter*
134         LatexName             addchap
135         Argument 1
136                 LabelString   "Short Title|S"
137                 Tooltip       "The chapter as it appears in the table of contents/running headers"
138         EndArgument
139 End
140
141
142 Style Addsec
143         CopyStyle             Section*
144         LatexName             addsec
145         Argument 1
146                 LabelString   "Short Title|S"
147                 Tooltip       "The section as it appears in the table of contents/running headers"
148         EndArgument
149 End
150
151
152 Style Addchap*
153         CopyStyle             Chapter*
154         LatexName             addchap*
155 End
156
157
158 Style Addsec*
159         CopyStyle             Section*
160         LatexName             addsec*
161 End
162
163
164 Style Minisec
165         Category              Sectioning
166         LatexType             Command
167         LatexName             minisec
168         NeedProtect           1
169         NextNoIndent          1
170         LabelSep              xxx
171         ParSkip               0.4
172         TopSep                0.4
173         ParSep                0.4
174         AlignPossible         Block, Left
175         Font
176           Family              Sans
177           Series              Bold
178         EndFont
179 End
180
181 Input stdtitle.inc
182
183 Style Title
184         Font
185           Family              Sans
186           Series              Bold
187         EndFont
188 End
189
190 Style Subtitle
191         CopyStyle             Title
192         LatexName             subtitle
193         Font
194           Size                Large
195         EndFont
196 End
197
198
199 Style Author
200         Font
201           Size                Larger
202         EndFont
203 End
204
205
206 Style Date
207         Font
208           Size                Larger
209         EndFont
210 End
211
212
213 Style Subject
214         CopyStyle             Author
215         LatexName             subject
216 End
217
218
219 Style Publishers
220         CopyStyle             Author
221         LatexName             publishers
222 End
223
224
225 Style Dedication
226         CopyStyle             Author
227         LatexName             dedication
228 End
229
230
231 Style Titlehead
232         CopyStyle             Author
233         LatexName             titlehead
234         Align                 Left
235         Font
236           Size                Normal
237         EndFont
238 End
239
240
241 Style Uppertitleback
242         CopyStyle             Titlehead
243         LatexName             uppertitleback
244 End
245
246
247 Style Lowertitleback
248         CopyStyle             Titlehead
249         LatexName             lowertitleback
250 End
251
252
253 Style Extratitle
254         CopyStyle             Titlehead
255         LatexName             extratitle
256 End
257
258 Input stdstruct.inc
259
260 Style Abstract
261         LabelFont
262           Family              Sans
263         EndFont
264 End
265
266
267 Style Bibliography
268         LabelFont
269           Family              Sans
270         EndFont
271 End
272
273 Input stdlayouts.inc
274
275
276 InsetLayout Caption:Above
277         LabelString          above
278         LaTeXType            command
279         LatexName            captionabove
280         NeedProtect          1
281         MultiPar             false
282         Argument 1
283                 LabelString   "Short Title|S"
284                 Tooltip       "The caption as it appears in the list of figures/tables"
285         EndArgument
286         HTMLStyle
287                 div.float-caption {
288                         text-align: center;
289                         border: 2px solid black;
290                         padding: 1ex;
291                         margin: 1ex;
292                 }
293         EndHTMLStyle
294         HTMLAttr "class='float-caption float-caption-above'"
295 End
296
297
298 InsetLayout Caption:Below
299         LabelString          below
300         LaTeXType            command
301         LatexName            captionbelow
302         NeedProtect          1
303         MultiPar             false
304         Argument 1
305                 LabelString   "Short Title|S"
306                 Tooltip       "The caption as it appears in the list of figures/tables"
307         EndArgument
308         HTMLStyle
309                 div.float-caption {
310                         text-align: center;
311                         border: 2px solid black;
312                         padding: 1ex;
313                         margin: 1ex;
314                 }
315         EndHTMLStyle
316         HTMLAttr "class='float-caption float-caption-below'"
317 End
318
319
320 Style Dictum
321         Category             MainText
322         Margin               Right_Address_Box
323         LatexType            Command
324         LatexName            dictum
325         ParSkip              0.4
326         BottomSep            1.5
327         ParSep               1.5
328         Align                Left
329         Argument 1
330                 LabelString   "Dictum Author"
331                 Tooltip       "The author of this dictum"
332         EndArgument
333         Font
334           Size               Normal
335         EndFont
336 End
337
338 Input lyxmacros.inc
339