GeneralBoxed text which automatically overflows into the next page?

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
fliptomato
Posts: 12
Joined: Tue Jun 24, 2008 3:19 am

Boxed text which automatically overflows into the next page?

Post by fliptomato »

Hello everyone -- I've been writing a long document and wanted to include boxed text insertions for tangential discussions, like "info boxes." There are many ways to do this and most of them work fine, but I always run into a problem when the infobox becomes larger than the size of a page (or the remainder of a page).

Is there a way to have boxed text automatically overflow into boxed text on the following page?

My current method for making boxes is this:

Code: Select all

 \framebox[1.025\width]{ \parbox[t]{6in}{ test }}
Alternately, the float package allows the creation of floating boxes, or similarly putting the text into a figure environment. I prefer having my infoboxes anchored to to the point I insert them, though.

Anyway, is there any way to do something similar that would automatically start a new box on the next page with the leftover content?

Thanks very much,
Flip

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Boxed text which automatically overflows into the next page?

Post by localghost »

fliptomato wrote:[...] Is there a way to have boxed text automatically overflow into boxed text on the following page? [...]
You could try the framed package. It does what you want.


Best regards
Thorsten¹
Post Reply