[texhax] placing text in boxes

hh hh-brasil at bol.com.br
Thu Oct 22 02:32:26 CEST 2009

There is a french package "boites" which could be redefined to the 
wanted effect(s). Not perfect but for your purpose probably quite 
But if you don't read french, keep away.

\usepackage{framed} is some kind of solution, as you noticed.  How to 
keep the boxes from spreading - try \clearpage at the end of the 
page.  But of course, if you have a lot of boxes and a long book, you 
have a lot of try and error.

The clever use of  \enlargethispage{n\baselineskip}   (n might even 
be negative) might give useful results.


> If I want to place text in a succession of boxes, the best solution I  
> have found is the framed package.
> However, if I have more than one \begin{framed} ... \end{framed} next  
> to one another they suddenly space out some times when I want them to  
> stay close together.
> Is there a solution using this package?
> or should I be using another package?
> The key point is some of the text stretches over from one page to the  
> next, and I want this to be properly in a box. Hence I cannot use a  
> table/tabular or even longtable because each cell seems to have to be  
> on one page.

More information about the texhax mailing list