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