On 3/10/08 8:09 AM, "Bob Lounsbury" <[EMAIL PROTECTED]> wrote:
> On Mon, Mar 10, 2008 at 8:54 AM, Bo Peng <[EMAIL PROTECTED]> wrote: > >> On Mon, Mar 10, 2008 at 10:41 AM, James Sutherland >> <[EMAIL PROTECTED]> wrote: >>> Does anyone know a way to get a box around a program listing? Putting >> it >>> inside a box (minipage) environment doesn¹t seem to work... >> >> You want a frame, right? Use the frame option of the listings package >> should work. >> >> Bo >> > > > If you 'right-click' on the 'Box (Minipage)' icon you get a 'LyX:Box > Settings' dialog box. Under 'Decoration' you can change it to: > > Rectangular box > Oval box, thin > Oval box, thick > Shadow box > Double box > > Is this not what your looking for? > > Cheers, > /Bob Actually, Bo's answer was the one I was looking for. The Box(minipage) does not work if a Listing is inside of it. Supplying the "frame=..." option to the listing did the trick. Thanks! James
