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