Re: Box around program listings?

2008-03-10 Thread Bo Peng
> 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. There are options to customize the frame, and if you want to use frame for all your listings, you can set glo

Re: Box around program listings?

2008-03-10 Thread James Sutherland
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 >>

Re: Box around program listings?

2008-03-10 Thread Bob Lounsbury
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... > >

Re: Box around program listings?

2008-03-10 Thread Bo Peng
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

Box around program listings?

2008-03-10 Thread James Sutherland
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... James