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

William F. Adams wadams at atlis.com
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

-- 
William Adams, publishing specialist
voice - 717-731-6707 | Fax - 717-731-6708
www.atlis.com



More information about the texhax mailing list