On Monday 30 Nov 2009 10:33:38 Jürgen Spitzmüller wrote:
>
> Is there a special reason why you do not use LyX's native shaded boxes?
> (via Insert > Box and the box type "Shaded")? The shade color can be
> altered via Preferences > Colors (which is wrong -- should be
> document-wise -- but anyway).
The problem with a minipage is that it imposes restrictions on layout in terms
of end of page breaks. It also seems to mess up my settings for things like
indenting. Using the framed package just adds a grey background and doesn't
interfere with anything else, including footnotes.
> > Two question: First, is it possible to have a nested environment via the
> > GUI? That is, I want to being to select a region with the mouse, and
> > then select "greyed" from the pull-down menu. Unfortunately, the way it
> > works now means that other environments, such as section titles, are
> > subsumed by the greyed environment.
>
> I don't understand.
I can manually put \begin{shaded} and \end{shaded} at the start and end region
of the text that I want in a grey box. This is great because quoted material
and section headings are preserved. However, if I do the same thing by
highlighting the text with the mouse and selecting "shaded" from the drop
down, all of the text in that region is set to "shaded". This means that I
loose all of the section headings and quotes etc.
>
> > Secondly, is there a way of reflecting the grey background on screen.
> > This is probably an easy one for a .layout expert.
>
> BGColor <color>
>
> (where color needs to be a predefined LyX color)
>
Thanks, I'll try that.
--
http://www.unmusic.co.uk/ Michael Reed -- technology, gender and geek culture
freelance writer. Buy my article compilation book, Tech Book 1.