[texhax] multi-page framed environments (was Re: )

Wed May 18 15:30:49 CEST 2005

On May 18, 2005, at 9:02 AM, Anna Medvedovsky wrote:
> I'm trying to define an environment that will put a frame around its
> contents, which may be more than one paragraph long -- something not
> unlike a graybox in a book.

> This is such a simple problem that there must be a solution! What
> could it be?! I'm inexperienced with boxes; perhaps there's another
> command I should use? Perhaps I need to draw the box manually? Perhaps
> I should use a table environment?

The memoir documentclass affords a framed'' environment which does
this sort of thing.

\documentclass{memoir}
\begin{document}
\begin{framed}
This is my text. This is more text.

Some more text in a box.
\end{framed}
\end{document}

ISTR there was discussion of the code being based on a framed''
package on CTAN, but I may not have the name precisely.

William

--