[texhax] multipage framed boxes?

William F. Adams wadams at atlis.com
Wed Aug 10 18:42:05 CEST 2005

On Aug 10, 2005, at 11:23 AM, Morten Høgholm wrote:

> Some kind of wizard telling you it's impossible... As William said: 
> the framed environment will do that kind of thing, only it doesn't 
> allow the boxes to be open like those verbatim examples do. Also it 
> won't do floating material like footnotes, marginpars and figures. For 
> that you have to do something else. I did that recently by getting TeX 
> to tell me exactly where such an environment started and where it 
> ended on the first run and then getting eso-pic to draw the frame by 
> hand during the second run.

Another alternative here is to use the framed environment and ensure 
that the frame will extend down beyond the normal area for the text 

Then, set a flag when one starts a framed environment so that a white 
block to remove the bottom edge of the frame will be set at the top and 
bottom of the page (say using the afterpage package). Then, clear the 
flag when the framed environment ends.


William Adams, publishing specialist
voice - 717-731-6707 | Fax - 717-731-6708

More information about the texhax mailing list