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