]> git.lyx.org Git - lyx.git/blob - lib/layouts/stdinsets.inc
forbid spellchecking in code layouts
[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 31
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         MultiPar              false
161         CustomPars            false
162         ForcePlain            true
163 End
164
165 InsetLayout Listings
166         LabelString           Listings
167         LatexType             none
168         Decoration            minimalistic
169         Font
170           Color               foreground
171           Family              typewriter
172         EndFont
173         LabelFont
174           Color               foreground
175           Size                Small
176         EndFont
177         BgColor               listingsbg
178         MultiPar              true
179         PassThru              true
180         ParbreakIsNewline     true
181         KeepEmpty             true
182         FreeSpacing           true
183         ForceLTR              true
184         RefPrefix             lst
185 End
186
187 InsetLayout Branch
188         Decoration            classic
189         LabelFont
190           Color               branchlabel
191           Size                Small
192         EndFont
193         MultiPar              true
194         InToc                 true
195         HTMLIsBlock           false
196 End
197
198 InsetLayout Index
199         LabelString           Idx
200         Decoration            classic
201         Font
202           Size                Small
203         EndFont
204         LabelFont
205           Color               indexlabel
206           Size                Small
207         EndFont
208         MultiPar              false
209         CustomPars            false
210         ForcePlain            true
211         ContentAsLabel        true
212 End
213
214 InsetLayout Box
215         LabelFont
216           Color               foreground
217           Size                Small
218         EndFont
219         MultiPar              true
220         HTMLStyle
221                 div.Frameless { font-family: sans-serif; }
222         EndHTMLStyle
223 End
224
225 InsetLayout Box:Shaded
226         BgColor               shaded
227         LabelFont
228           Color               foreground
229           Size                Small
230         EndFont
231         MultiPar              true
232 End
233
234 InsetLayout Float
235         LabelFont
236           Color               collapsable
237           Size                Small
238         EndFont
239         MultiPar              true
240         HTMLStyle
241                 div.float {
242                         border: 2px solid black;
243                         text-align: center;
244                 }
245         EndHTMLStyle
246 End
247
248 InsetLayout Wrap
249         LabelFont
250           Color               collapsable
251           Size                Small
252         EndFont
253         MultiPar              true
254         RefPrefix             wrap
255         HTMLStyle
256                 div.wrap { 
257                         float: right;
258                         border: 2px solid black;
259                         padding: 1ex;
260                         margin: 1ex;
261                 }
262         EndHTMLStyle
263 End
264
265 InsetLayout URL
266         LyXType               standard
267         Decoration            classic
268         LabelString           URL
269         ContentAsLabel        true
270         LatexName             url
271         LatexType             command
272         Requires              url
273         MultiPar              false
274         CustomPars            false
275         ForcePlain            true
276         PassThru              true
277         FreeSpacing           true
278         ForceLTR              true
279         Font
280           Family              Typewriter
281           Color               urltext
282         EndFont
283         LabelFont
284           Family              Typewriter
285           Color               urllabel
286           Size                Small
287         EndFont
288         HTMLIsBlock           false
289 End
290
291 InsetLayout Argument
292         LabelString           opt
293         LabelFont
294           Color               collapsable
295           Size                Small
296         EndFont
297         MultiPar              false
298 End
299
300 InsetLayout Info
301         Decoration            conglomerate
302         HTMLStyle
303                 span.info { font-family: sans-serif; }
304         EndHTMLStyle
305         HTMLTag            span
306         MultiPar           false
307 End
308
309 InsetLayout Info:menu
310         CopyStyle             Info
311         LatexType             command
312         LatexName             menuitem
313         Preamble
314           \providecommand{\menuitem}[1]{\textsf{#1}}
315         EndPreamble
316         Decoration            conglomerate
317         Font
318           Family              sans
319         EndFont
320         HTMLAttr          "class='info menu'"
321         HTMLStyle
322                 span.menu { font-family: sans-serif; }
323         EndHTMLStyle
324 End
325
326 InsetLayout Info:shortcut
327         CopyStyle             Info
328         LatexType             command
329         LatexName             shortcut
330         Preamble
331           \providecommand{\shortcut}[1]{\mbox{\textsf{#1}}}
332         EndPreamble
333         Decoration            conglomerate
334         Font
335           Family              sans
336         EndFont
337         HTMLAttr          "class='info shortcut'"
338         HTMLStyle
339                 span.shortcut { font-family: sans-serif; }
340         EndHTMLStyle
341 End
342
343 InsetLayout Info:shortcuts
344         CopyStyle             Info
345         LatexType             command
346         LatexName             shortcut
347         Preamble
348           \providecommand{\shortcut}[1]{\textsf{#1}}
349         EndPreamble
350         Decoration            conglomerate
351         Font
352           Family              sans
353         EndFont
354         HTMLAttr          "class='info shortcut'"
355         HTMLStyle
356                 span.shortcuts { font-family: sans-serif; }
357         EndHTMLStyle
358 End
359
360 InsetLayout Caption
361         HTMLStyle
362                 div.float-caption {
363                         text-align: center;
364                         border: 2px solid black;
365                         padding: 1ex;
366                         margin: 1ex;
367                 }
368         EndHTMLStyle
369 End
370
371
372 InsetLayout Preview
373         LabelString           Preview
374         Decoration            minimalistic
375         MultiPar              true
376 End