]> git.lyx.org Git - lyx.git/blob - lib/layouts/scrclass.inc
Update tex2lyx test files
[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 <j.spitzmueller@gmx.de>, 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 40
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         OptionalArgs          1
114 End
115
116
117 Style Addchap
118         CopyStyle             Chapter*
119         LatexName             addchap
120         OptionalArgs          1
121 End
122
123
124 Style Addsec
125         CopyStyle             Section*
126         LatexName             addsec
127         OptionalArgs          1
128 End
129
130
131 Style Addchap*
132         CopyStyle             Chapter*
133         LatexName             addchap*
134 End
135
136
137 Style Addsec*
138         CopyStyle             Section*
139         LatexName             addsec*
140 End
141
142
143 Style Minisec
144         Category              Section
145         LatexType             Command
146         LatexName             minisec
147         NeedProtect           1
148         NextNoIndent          1
149         LabelSep              xxx
150         ParSkip               0.4
151         TopSep                0.4
152         ParSep                0.4
153         AlignPossible         Block, Left
154         Font
155           Family              Sans
156           Series              Bold
157         EndFont
158 End
159
160 Input stdtitle.inc
161
162 Style Title
163         Font
164           Family              Sans
165           Series              Bold
166         EndFont
167 End
168
169 Style Subtitle
170         CopyStyle             Title
171         LatexName             subtitle
172         Font
173           Size                Large
174         EndFont
175 End
176
177
178 Style Author
179         Font
180           Size                Larger
181         EndFont
182 End
183
184
185 Style Date
186         Font
187           Size                Larger
188         EndFont
189 End
190
191
192 Style Subject
193         CopyStyle             Author
194         LatexName             subject
195 End
196
197
198 Style Publishers
199         CopyStyle             Author
200         LatexName             publishers
201 End
202
203
204 Style Dedication
205         CopyStyle             Author
206         LatexName             dedication
207 End
208
209
210 Style Titlehead
211         CopyStyle             Author
212         LatexName             titlehead
213         Align                 Left
214         Font
215           Size                Normal
216         EndFont
217 End
218
219
220 Style Uppertitleback
221         CopyStyle             Titlehead
222         LatexName             uppertitleback
223 End
224
225
226 Style Lowertitleback
227         CopyStyle             Titlehead
228         LatexName             lowertitleback
229 End
230
231
232 Style Extratitle
233         CopyStyle             Titlehead
234         LatexName             extratitle
235 End
236
237 Input stdstruct.inc
238
239 Style Abstract
240         LabelFont
241           Family              Sans
242         EndFont
243 End
244
245
246 Style Bibliography
247         LabelFont
248           Family              Sans
249         EndFont
250 End
251
252 Input stdlayouts.inc
253
254 Style Captionabove
255         Category              Captions
256         Margin                First_Dynamic
257         LatexType             Command
258         LatexName             caption
259         NeedProtect           1
260         LabelSep              xx
261         ParSkip               0.4
262         TopSep                0.5
263         Align                 Center
264         LabelType             Sensitive
265         LabelString           "Senseless!"
266         OptionalArgs          1
267         LabelFont
268           Series              Bold
269         EndFont
270         LatexName            captionabove
271 End
272
273
274 Style Captionbelow
275         Category              Captions
276         Margin                First_Dynamic
277         LatexType             Command
278         LatexName             caption
279         NeedProtect           1
280         LabelSep              xx
281         ParSkip               0.4
282         TopSep                0.5
283         Align                 Center
284         LabelType             Sensitive
285         LabelString           "Senseless!"
286         OptionalArgs          1
287         LabelFont
288           Series              Bold
289         EndFont
290         LatexName            captionbelow
291 End
292
293
294 Style Dictum
295         Category             MainText
296         Margin               Right_Address_Box
297         LatexType            Command
298         LatexName            dictum
299         ParSkip              0.4
300         BottomSep            1.5
301         ParSep               1.5
302         Align                Left
303         OptionalArgs         1
304         Font
305           Size               Normal
306         EndFont
307 End
308
309 Input lyxmacros.inc
310