]> git.lyx.org Git - lyx.git/blob - lib/layouts/scrclass.inc
Move RevTeX section in Additional.lyx into Chapter 3 Document classes
[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@lyx.org>, 2009-02-02
8 # Labeling is now used also in non-KOMA classes
9
10
11 Format 98
12 SecNumDepth             2
13 TocDepth                2
14 DefaultStyle            Standard
15 PageSize                a4
16 Provides                subscript 1
17
18 ClassOptions
19         FontSize             9|10|11|12|13|14|15|16|17|18|19|20
20         FontSizeFormat       fontsize=$$s
21         PageSize             a0|a1|a2|a3|a4|a5|a6|b0|b1|b2|b3|b4|b5|b6|c0|c1|c2|c3|c4|c5|c6|executive|legal|letter
22         PageSizeFormat       paper=$$s
23 End
24
25 Style Standard
26         Category              MainText
27         LatexName             dummy
28         ParIndent             MM
29         ParSkip               0.4
30         AlignPossible         Block, Left, Right, Center
31         # FIXME This ought to be set dynamically.
32         HTMLStyle
33                 div.standard {
34                         text-indent: 2em;
35                         margin-bottom: 2ex;
36                 }
37         EndHTMLStyle
38         DocBookTag            para
39 End
40
41 Input stdinsets.inc
42 Input stdlists.inc
43 Input stdcounters.inc
44 Input stdfloats.inc
45
46
47 # Adapt enumii counter display to KOMA default
48 Counter enumii
49         GuiName "Numbered List (Level 2)"
50         Within               enumi
51         LabelString          "\alph{enumii})"
52 End
53
54
55 Style Description
56         LabelFont
57           Family              Sans
58         EndFont
59 End
60
61 Style Labeling
62         Category              List
63         LatexName             labeling
64         # overwrite the preamble code definition
65         Preamble
66         EndPreamble     
67         DocBookTag            variablelist
68         DocBookItemWrapperTag varlistentry
69         DocBookItemTag        listitem
70         DocBookItemInnerTag   para
71         DocBookItemLabelTag   term
72         DocBookItemLabelTagType   paragraph
73 End
74
75 Input stdsections.inc
76
77 Style Part
78         Font
79           Family              Sans
80         EndFont
81 End
82
83
84 Style Chapter
85         LabelType             Static
86         LabelSep              xxx
87         Margin                Dynamic
88         Align                 Left
89         Font
90           Family              Sans
91           Size                Largest
92         EndFont
93 End
94
95
96 Style Section
97         Align                 Left
98         Font
99           Family              Sans
100         EndFont
101 End
102
103
104 Style Subsection
105         Align                 Left
106         Font
107           Family              Sans
108         EndFont
109 End
110
111
112 Style Subsubsection
113         Align                 Left
114         Font
115           Family              Sans
116         EndFont
117 End
118
119
120 Style Paragraph
121         Align                 Left
122         Font
123           Family              Sans
124         EndFont
125 End
126
127
128 Style Subparagraph
129         Align                 Left
130         LeftMargin            ""
131         Font
132           Family              Sans
133         EndFont
134 End
135
136 Input stdstarsections.inc
137
138 Style Addpart
139         CopyStyle             Part*
140         LatexName             addpart
141         Argument 1
142                 LabelString   "Short Title|S"
143                 Tooltip       "The part as it appears in the table of contents/running headers"
144                 InsertCotext  1
145         DocBookTag    titleabbrev
146         DocBookArgumentAfterMainTag  true
147         EndArgument
148 End
149
150
151 Style Addchap
152         CopyStyle             Chapter*
153         LatexName             addchap
154         Argument 1
155                 LabelString   "Short Title|S"
156                 Tooltip       "The chapter as it appears in the table of contents/running headers"
157                 InsertCotext  1
158         DocBookTag    titleabbrev
159         DocBookArgumentAfterMainTag  true
160         EndArgument
161 End
162
163
164 Style Addsec
165         CopyStyle             Section*
166         LatexName             addsec
167         Argument 1
168                 LabelString   "Short Title|S"
169                 Tooltip       "The section as it appears in the table of contents/running headers"
170                 InsertCotext  1
171         DocBookTag    titleabbrev
172         DocBookArgumentAfterMainTag  true
173         EndArgument
174 End
175
176
177 Style Addchap*
178         CopyStyle             Chapter*
179         LatexName             addchap*
180 End
181
182
183 Style Addsec*
184         CopyStyle             Section*
185         LatexName             addsec*
186 End
187
188
189 Style Minisec
190         Category              Sectioning
191         LatexType             Command
192         LatexName             minisec
193         NeedProtect           1
194         NextNoIndent          1
195         LabelSep              xxx
196         ParSkip               0.4
197         TopSep                0.4
198         ParSep                0.4
199         AlignPossible         Block, Left
200         Font
201           Family              Sans
202           Series              Bold
203         EndFont
204 End
205
206 Input stdtitle.inc
207
208 Style Title
209         Font
210           Family              Sans
211           Series              Bold
212         EndFont
213         DocBookTag            title
214         DocBookInInfo         maybe
215 End
216
217 Style Subtitle
218         CopyStyle             Title
219         LatexName             subtitle
220         Font
221           Size                Large
222         EndFont
223         DocBookTag            subtitle
224         DocBookInInfo         maybe
225 End
226
227
228 Style Author
229         Font
230           Size                Larger
231         EndFont
232         DocBookTag            personname
233         DocBookTagType        paragraph
234         DocBookWrapperTag     author
235         DocBookWrapperTagType inline
236         DocBookInInfo         always
237 End
238
239
240 Style Date
241         Font
242           Size                Larger
243         EndFont
244         DocBookTag            date
245         DocBookTagType        paragraph
246         DocBookInInfo         always
247     DocBookNoFontInside   true
248 End
249
250
251 Style Subject
252         CopyStyle             Author
253         LatexName             subject
254 End
255
256
257 Style Publishers
258         CopyStyle             Author
259         LatexName             publishers
260 End
261
262
263 Style Dedication
264         CopyStyle             Author
265         LatexName             dedication
266 End
267
268
269 Style Titlehead
270         CopyStyle             Author
271         LatexName             titlehead
272         Align                 Left
273         Font
274           Size                Normal
275         EndFont
276 End
277
278
279 Style Uppertitleback
280         CopyStyle             Titlehead
281         LatexName             uppertitleback
282 End
283
284
285 Style Lowertitleback
286         CopyStyle             Titlehead
287         LatexName             lowertitleback
288 End
289
290
291 Style Extratitle
292         CopyStyle             Titlehead
293         LatexName             extratitle
294 End
295
296 Style Frontispiece
297         CopyStyle             Titlehead
298         LatexName             frontispiece
299 End
300
301 Input stdstruct.inc
302
303 Style Abstract
304         LabelType             No_Label
305 End
306
307
308 Style Bibliography
309         LabelFont
310           Family              Sans
311         EndFont
312 End
313
314 Input stdlayouts.inc
315
316
317 InsetLayout Caption:Above
318         LabelString          above
319         LaTeXType            command
320         LatexName            captionabove
321         NeedProtect          1
322         MultiPar             false
323         Argument 1
324                 LabelString   "Short Title|S"
325                 Tooltip       "The caption as it appears in the list of figures/tables"
326                 InsertCotext  1
327         DocBookTag    titleabbrev
328         DocBookArgumentAfterMainTag  true
329         EndArgument
330         HTMLStyle
331                 div.float-caption {
332                         text-align: center;
333                         border: 2px solid black;
334                         padding: 1ex;
335                         margin: 1ex;
336                 }
337         EndHTMLStyle
338         HTMLClass   "float-caption float-caption-above"
339 End
340
341
342 InsetLayout Caption:Below
343         LabelString          below
344         LaTeXType            command
345         LatexName            captionbelow
346         NeedProtect          1
347         MultiPar             false
348         Argument 1
349                 LabelString   "Short Title|S"
350                 Tooltip       "The caption as it appears in the list of figures/tables"
351                 InsertCotext  1
352         DocBookTag    titleabbrev
353         DocBookArgumentAfterMainTag  true
354         EndArgument
355         HTMLStyle
356                 div.float-caption {
357                         text-align: center;
358                         border: 2px solid black;
359                         padding: 1ex;
360                         margin: 1ex;
361                 }
362         EndHTMLStyle
363         HTMLClass    "float-caption float-caption-below"
364 End
365
366
367 Style Dictum
368         Category             MainText
369         Margin               Right_Address_Box
370         LatexType            Command
371         LatexName            dictum
372         ParSkip              0.4
373         BottomSep            1.5
374         ParSep               1.5
375         Align                Left
376         Argument 1
377                 LabelString   "Dictum Author"
378                 Tooltip       "The author of this dictum"
379         EndArgument
380         Font
381           Size               Normal
382         EndFont
383 End
384
385 Input lyxmacros.inc
386