[texhax] framed.sty -- "open" frame across page break

Lars Madsen daleif at imf.au.dk
Tue Feb 28 20:27:50 CET 2012


On 02/28/2012 06:46 PM, Niall Mansfield wrote:
> I want to typset several paragraphs in a frame -- because
> they are not part of the main text.  If I used 'framed.sty',
> when the material breaks across a page, the frame is closed
> at the bottom of this page, and at the start of the next.
> This makes it look like two separate things, rather than a
> single one breaking across a page.
>
> Is there any way to make the frame "open" at the bottom of
> the first page, and at the top of the next (or is there
> another suitable package)?  I.e. so it looks like:
>
> +---+
> |   |
> |   |
>
> <page break>
>
> |   |
> |   |
> +---+
>
> and not
>
> +---+
> |   |
> |   |
> +---+
>
> <page break>
>
> +---+
> |   |
> |   |
> +---+
>
>
> 	Thanks,
> 	Niall
> _______________________________________________
> TeX FAQ: http://www.tex.ac.uk/faq
> Mailing list archives: http://tug.org/pipermail/texhax/
> More links: http://tug.org/begin.html
>
> Automated subscription management: http://tug.org/mailman/listinfo/texhax
> Human mailing list managers: postmaster at tug.org


use the mdframed package

it is IMO a lot easier to use



More information about the texhax mailing list