]> git.lyx.org Git - lyx.git/blob - lib/layouts/stdinsets.inc
KOMA-script layout files: don't check for KOMA-script's internal dependencies, scrbas...
[lyx.git] / lib / layouts / stdinsets.inc
1 # Textclass definition file for LaTeX.
2 # Author : Martin vermeer <martin.vermeer@hut.fi>
3 # Inset layouts definition
4 #
5 # Detailled format description is available in the customization manual
6
7 Format 27
8
9 Provides stdinsets 1
10
11 InsetLayout Marginal
12         LabelString           margin
13         LatexType             command
14         LatexName             marginpar
15         Font
16           Size                Small
17         EndFont
18         LabelFont
19           Color               marginlabel
20           Size                Small
21         EndFont
22         MultiPar              true
23         NeedProtect           true
24         HTMLStyle
25                 div.marginal {
26                         border: 2px solid black; 
27                         padding: 1ex; 
28                         margin: 1ex; 
29                         background-color: #F0F0F0; 
30                         float:right;
31                         font-size: small;
32                         font-weight: medium;
33                         font-family: serif;
34                         font-variant: normal;
35                         font-style: normal;
36                 }
37         EndHTMLStyle
38 End
39
40 InsetLayout Foot
41         LabelString           foot
42         Counter               footnote
43         Font
44           Size                Small
45         EndFont
46         LabelFont
47           Color               footlabel
48           Size                Small
49         EndFont
50         MultiPar              true
51         RefPrefix             fn
52         HTMLLabel             \arabic{footnote}
53         HTMLInnerTag          div
54         HTMLStyle
55                 span.foot_label {
56                         vertical-align: super;
57                         font-size: smaller;
58                         font-weight: bold;
59                         text-decoration: underline;
60                 }
61                 div.foot { 
62                         display: inline; 
63                         font-size: small;
64                         font-weight: medium;
65                         font-family: serif;
66                         font-variant: normal;
67                         font-style: normal;
68                 }
69                 div.foot_inner { display: none; }
70                 div.foot:hover div.foot_inner { 
71                         display: block; 
72                         border: 1px double black; 
73                         margin: 0em 1em;
74                         padding: 1em;
75                 }
76         EndHTMLStyle
77 End
78
79 InsetLayout Note:Comment
80         LabelString           comment
81         LatexType             environment
82         LatexName             comment
83         BgColor               commentbg
84         LabelFont
85           Color               comment
86           Size                Small
87         EndFont
88         MultiPar              true
89         HTMLTag               !--
90         HTMLIsBlock           false
91 End
92
93
94 InsetLayout Note:Note
95         LabelString           note
96         LatexType             command
97         LatexName             note
98         BgColor               notebg
99         LabelFont
100           Color               note
101           Size                Small
102         EndFont
103         MultiPar              true
104         HTMLIsBlock           false
105 # FIXME HTML Need CSS
106 End
107
108
109 InsetLayout Note:Greyedout
110         LabelString           greyedout
111         LatexType             environment
112         LatexName             lyxgreyedout
113         BgColor               greyedoutbg
114         Font
115           Color               greyedouttext
116         EndFont
117         LabelFont
118           Color               greyedout
119           Size                Small
120         EndFont
121         MultiPar              true
122         HTMLStyle
123                 div.note_greyedout { 
124                         display: inline;
125                         color: #A0A0A0; 
126                         padding-left: 1ex;
127                         padding-right: 1ex;
128                 }
129         EndHTMLStyle
130         HTMLIsBlock           false
131 End
132
133 InsetLayout ERT
134         LabelString           ERT
135         LatexType             none
136         Decoration            minimalistic
137         Font
138           Color               latex
139           Family              typewriter
140         EndFont
141         LabelFont
142           Color               latex
143           Size                Small
144         EndFont
145         MultiPar              true
146         CustomPars            false
147         ForcePlain            true
148         PassThru              true
149         ParbreakIsNewline     true
150         KeepEmpty             true
151         FreeSpacing           true
152         ForceLTR              true
153 End
154
155 InsetLayout Phantom
156         Decoration            minimalistic
157         Font
158           Color               phantomtext
159         EndFont
160         CustomPars            false
161         ForcePlain            true
162 End
163
164 InsetLayout Listings
165         LabelString           Listings
166         LatexType             none
167         Decoration            minimalistic
168         Font
169           Color               foreground
170           Family              typewriter
171         EndFont
172         LabelFont
173           Color               foreground
174           Size                Small
175         EndFont
176         BgColor               listingsbg
177         MultiPar              true
178         PassThru              true
179         ParbreakIsNewline     true
180         KeepEmpty             true
181         FreeSpacing           true
182         ForceLTR              true
183         RefPrefix             lst
184 End
185
186 InsetLayout Branch
187         Decoration            classic
188         LabelFont
189           Color               branchlabel
190           Size                Small
191         EndFont
192         MultiPar              true
193         InToc                 true
194         HTMLIsBlock           false
195 End
196
197 InsetLayout Index
198         LabelString           Idx
199         Decoration            classic
200         Font
201           Size                Small
202         EndFont
203         LabelFont
204           Color               indexlabel
205           Size                Small
206         EndFont
207         MultiPar              false
208         CustomPars            false
209         ForcePlain            true
210         ContentAsLabel        true
211 End
212
213 InsetLayout Box
214         LabelFont
215           Color               foreground
216           Size                Small
217         EndFont
218         MultiPar              true
219         HTMLStyle
220                 div.Frameless { font-family: sans-serif; }
221         EndHTMLStyle
222 End
223
224 InsetLayout Box:Shaded
225         BgColor               shaded
226         LabelFont
227           Color               foreground
228           Size                Small
229         EndFont
230         MultiPar              true
231 End
232
233 InsetLayout Float
234         LabelFont
235           Color               collapsable
236           Size                Small
237         EndFont
238         MultiPar              true
239         HTMLStyle
240                 div.float {
241                         border: 2px solid black;
242                         text-align: center;
243                 }
244         EndHTMLStyle
245 End
246
247 InsetLayout Wrap
248         LabelFont
249           Color               collapsable
250           Size                Small
251         EndFont
252         MultiPar              true
253         RefPrefix             wrap
254         HTMLStyle
255                 div.wrap { 
256                         float: right;
257                         border: 2px solid black;
258                         padding: 1ex;
259                         margin: 1ex;
260                 }
261         EndHTMLStyle
262 End
263
264 InsetLayout URL
265         LyXType               standard
266         Decoration            classic
267         LabelString           URL
268         ContentAsLabel        true
269         LatexName             url
270         LatexType             command
271         Requires              url
272         MultiPar              false
273         CustomPars            false
274         ForcePlain            true
275         PassThru              true
276         FreeSpacing           true
277         ForceLTR              true
278         Font
279           Family              Typewriter
280           Color               urltext
281         EndFont
282         LabelFont
283           Family              Typewriter
284           Color               urllabel
285           Size                Small
286         EndFont
287         HTMLIsBlock           false
288 End
289
290 InsetLayout Argument
291         LabelString           opt
292         LabelFont
293           Color               collapsable
294           Size                Small
295         EndFont
296         MultiPar              false
297 End
298
299 InsetLayout Info
300         Decoration            conglomerate
301         HTMLStyle
302                 span.info { font-family: sans-serif; }
303         EndHTMLStyle
304         HTMLTag            span
305         MultiPar           false
306 End
307
308 InsetLayout Info:menu
309         CopyStyle             Info
310         LatexType             command
311         LatexName             menuitem
312         Preamble
313           \providecommand{\menuitem}[1]{\textsf{#1}}
314         EndPreamble
315         Decoration            conglomerate
316         Font
317           Family              sans
318         EndFont
319         HTMLAttr          "class='info menu'"
320         HTMLStyle
321                 span.menu { font-family: sans-serif; }
322         EndHTMLStyle
323 End
324
325 InsetLayout Info:shortcut
326         CopyStyle             Info
327         LatexType             command
328         LatexName             shortcut
329         Preamble
330           \providecommand{\shortcut}[1]{\mbox{\textsf{#1}}}
331         EndPreamble
332         Decoration            conglomerate
333         Font
334           Family              sans
335         EndFont
336         HTMLAttr          "class='info shortcut'"
337         HTMLStyle
338                 span.shortcut { font-family: sans-serif; }
339         EndHTMLStyle
340 End
341
342 InsetLayout Info:shortcuts
343         CopyStyle             Info
344         LatexType             command
345         LatexName             shortcut
346         Preamble
347           \providecommand{\shortcut}[1]{\textsf{#1}}
348         EndPreamble
349         Decoration            conglomerate
350         Font
351           Family              sans
352         EndFont
353         HTMLAttr          "class='info shortcut'"
354         HTMLStyle
355                 span.shortcuts { font-family: sans-serif; }
356         EndHTMLStyle
357 End
358
359 InsetLayout Caption
360         HTMLStyle
361                 div.float-caption {
362                         text-align: center;
363                         border: 2px solid black;
364                         padding: 1ex;
365                         margin: 1ex;
366                 }
367         EndHTMLStyle
368 End
369
370
371 InsetLayout Preview
372         LabelString           Preview
373         Decoration            minimalistic
374         MultiPar              true
375 End