]> git.lyx.org Git - lyx.git/blob - lib/layouts/stdinsets.inc
The achemso class provides the float package internally.
[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 33
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         Display               false
90         HTMLTag               !--
91         HTMLIsBlock           false
92 End
93
94
95 InsetLayout Note:Note
96         LabelString           Note
97         LatexType             command
98         LatexName             note
99         BgColor               notebg
100         LabelFont
101           Color               note
102           Size                Small
103         EndFont
104         MultiPar              true
105         HTMLIsBlock           false
106 # FIXME HTML Need CSS
107 End
108
109
110 InsetLayout Note:Greyedout
111         LabelString           Greyedout
112         LatexType             environment
113         LatexName             lyxgreyedout
114         BgColor               greyedoutbg
115         Font
116           Color               greyedouttext
117         EndFont
118         LabelFont
119           Color               greyedout
120           Size                Small
121         EndFont
122         MultiPar              true
123         Display               false
124         HTMLStyle
125                 div.note_greyedout { 
126                         display: inline;
127                         color: #A0A0A0; 
128                         padding-left: 1ex;
129                         padding-right: 1ex;
130                 }
131         EndHTMLStyle
132         HTMLIsBlock           false
133 End
134
135 InsetLayout ERT
136         LabelString           ERT
137         LatexType             none
138         Decoration            minimalistic
139         Font
140           Color               latex
141           Family              typewriter
142         EndFont
143         LabelFont
144           Color               latex
145           Size                Small
146         EndFont
147         MultiPar              true
148         CustomPars            false
149         ForcePlain            true
150         PassThru              true
151         ParbreakIsNewline     true
152         KeepEmpty             true
153         FreeSpacing           true
154         ForceLTR              true
155 End
156
157 InsetLayout Phantom
158         Decoration            minimalistic
159         Font
160           Color               phantomtext
161         EndFont
162         MultiPar              false
163         CustomPars            false
164         ForcePlain            true
165 End
166
167 InsetLayout Listings
168         LabelString           Listings
169         LatexType             none
170         Decoration            minimalistic
171         Font
172           Color               foreground
173           Family              typewriter
174         EndFont
175         LabelFont
176           Color               foreground
177           Size                Small
178         EndFont
179         BgColor               listingsbg
180         MultiPar              true
181         PassThru              true
182         ParbreakIsNewline     true
183         KeepEmpty             true
184         FreeSpacing           true
185         ForceLTR              true
186         RefPrefix             lst
187 End
188
189 InsetLayout Branch
190         Decoration            classic
191         LabelFont
192           Color               branchlabel
193           Size                Small
194         EndFont
195         MultiPar              true
196         InToc                 true
197         HTMLIsBlock           false
198 End
199
200 InsetLayout Index
201         LabelString           Idx
202         Decoration            classic
203         Font
204           Size                Small
205         EndFont
206         LabelFont
207           Color               indexlabel
208           Size                Small
209         EndFont
210         MultiPar              false
211         CustomPars            false
212         ForcePlain            true
213         ContentAsLabel        true
214 End
215
216 InsetLayout Box
217         LabelFont
218           Color               foreground
219           Size                Small
220         EndFont
221         MultiPar              true
222         HTMLStyle
223                 div.Frameless { font-family: sans-serif; }
224         EndHTMLStyle
225 End
226
227 InsetLayout Box:Shaded
228         BgColor               shaded
229         LabelFont
230           Color               foreground
231           Size                Small
232         EndFont
233         MultiPar              true
234 End
235
236 InsetLayout Float
237         LabelFont
238           Color               collapsable
239           Size                Small
240         EndFont
241         MultiPar              true
242         HTMLStyle
243                 div.float {
244                         border: 2px solid black;
245                         text-align: center;
246                 }
247         EndHTMLStyle
248 End
249
250 InsetLayout Wrap
251         LabelFont
252           Color               collapsable
253           Size                Small
254         EndFont
255         MultiPar              true
256         RefPrefix             wrap
257         HTMLStyle
258                 div.wrap { 
259                         float: right;
260                         border: 2px solid black;
261                         padding: 1ex;
262                         margin: 1ex;
263                 }
264         EndHTMLStyle
265 End
266
267 InsetLayout URL
268         LyXType               standard
269         Decoration            classic
270         LabelString           URL
271         ContentAsLabel        true
272         LatexName             url
273         LatexType             command
274         Requires              url
275         MultiPar              false
276         CustomPars            false
277         ForcePlain            true
278         PassThru              true
279         FreeSpacing           true
280         ForceLTR              true
281         Font
282           Family              Typewriter
283           Color               urltext
284         EndFont
285         LabelFont
286           Family              Typewriter
287           Color               urllabel
288           Size                Small
289         EndFont
290         HTMLIsBlock           false
291 End
292
293 InsetLayout Argument
294         LabelString           opt
295         LabelFont
296           Color               collapsable
297           Size                Small
298         EndFont
299         MultiPar              false
300 End
301
302 InsetLayout Info
303         Decoration            conglomerate
304         HTMLStyle
305                 span.info { font-family: sans-serif; }
306         EndHTMLStyle
307         HTMLTag            span
308         MultiPar           false
309 End
310
311 InsetLayout Info:menu
312         CopyStyle             Info
313         LatexType             command
314         LatexName             menuitem
315         Preamble
316           \providecommand{\menuitem}[1]{\textsf{#1}}
317         EndPreamble
318         Decoration            conglomerate
319         Font
320           Family              sans
321         EndFont
322         HTMLAttr          "class='info menu'"
323         HTMLStyle
324                 span.menu { font-family: sans-serif; }
325         EndHTMLStyle
326 End
327
328 InsetLayout Info:shortcut
329         CopyStyle             Info
330         LatexType             command
331         LatexName             shortcut
332         Preamble
333           \providecommand{\shortcut}[1]{\mbox{\textsf{#1}}}
334         EndPreamble
335         Decoration            conglomerate
336         Font
337           Family              sans
338         EndFont
339         HTMLAttr          "class='info shortcut'"
340         HTMLStyle
341                 span.shortcut { font-family: sans-serif; }
342         EndHTMLStyle
343 End
344
345 InsetLayout Info:shortcuts
346         CopyStyle             Info
347         LatexType             command
348         LatexName             shortcut
349         Preamble
350           \providecommand{\shortcut}[1]{\textsf{#1}}
351         EndPreamble
352         Decoration            conglomerate
353         Font
354           Family              sans
355         EndFont
356         HTMLAttr          "class='info shortcut'"
357         HTMLStyle
358                 span.shortcuts { font-family: sans-serif; }
359         EndHTMLStyle
360 End
361
362 InsetLayout Caption
363         HTMLStyle
364                 div.float-caption {
365                         text-align: center;
366                         border: 2px solid black;
367                         padding: 1ex;
368                         margin: 1ex;
369                 }
370         EndHTMLStyle
371 End
372
373
374 InsetLayout Preview
375         LabelString           Preview
376         Decoration            minimalistic
377         MultiPar              true
378 End