On Mon, 03 Dec 2007 14:19:43 +0100 Abdelrazak Younes <[EMAIL PROTECTED]> wrote:
> Jürgen Spitzmüller wrote: > > The attached patch moves the boxes provided by framed.sty to where they > > belong: to the Box UI. One plus, besides much cleaner UI, is that you can > > now > > set dimensions for shaded boxes, as for any other type. > > > > The patch includes everything, including lyx2lyx conversion/reversion and > > format change, and is sufficiently tested. > > > The only thing I didn't implement > > is the background color for the shaded box. I do not understand how to > > define > > that in stdinsets.inc. > > Speaking of which: do we have any documentation for this format? I've > added the definition for a few but more complicated stuff is not obvious > to me as well. Richard or Martin, could you please write something down? > (if not already done of course) > > Thanks in advance, > Abdel. Well, in this case you should define BgColor. But I suspect it will not be respected without a corresponding change in InsetBox. See how Branch does it, you need to define a backgroundColor() method. (I assume you mean the on-screen background.) - Martin