Am 04.06.2013 17:56, schrieb Liviu Andronic:

Currently LyX has 'Box (Minipage, shaded background)' and 'Box
(Minipage, simple frame)', but NOT 'Box (Minipage, shaded background,
simple frame)'.

This can be done easily using a construct described on the wiki

How easy, only 15 lines code ;-)
This is much too complicated. LyX cannot support everything. Our box feature al aready not complete in terms of basic boxes like \fcolorbox and \colorbox. Moreover we currently don't have a possibility to prevent that framed and shadebox oxes are inserted into other boxes, which causes LaTeX errors.

(\shadebox is already a \colorbox with always the maximal width (and the break pages feature). To get a framed colored box, use the command \fcolorbox, see the attached example and the EmbeddedObjects manual, sec. 5.7 "Colored boxes". If you need the page break feature you can use the commands provided by the package framed to change the behavior of shaded boxes (e.g. FrameCommand).)

regards Uwe


Attachment: newfile1.lyx
Description: application/lyx

Reply via email to