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