[texhax] multipage framed boxes? (was Fwd: [texhax] multi-page framed environments (was Re: ))

William F. Adams wadams at atlis.com
Wed Aug 10 17:15:12 CEST 2005


On Aug 10, 2005, at 10:59 AM, Yuri Robbers wrote:

> in a book I am currently working on, I use occasional intermezzos,
> which, according to the publisher's instructions, ought to be framed in
> boxes and/or set on a light grey background. Of course this is easily
> accomplished by putting the intermezzo in a standard \fbox. The 
> problem,
> however, is that some of my intermezzos are longer than a page, in 
> which
> case \fboxes don't work.

We already covered this once fairly recently.

See below.

William


Begin forwarded message:

> From: "William F. Adams" <wadams at atlis.com>
> Date: May 18, 2005 9:30:49 AM EDT
> To: texhax <texhax at tug.org>
> Cc: medved at gmail.com
> Subject: [texhax] multi-page framed environments (was Re: )
>
> 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
>
> _______________________________________________
> TeX FAQ: http://www.tex.ac.uk/faq
> TeX newsgroup: http://groups.google.com/groups?group=comp.text.tex
> Mailing list archives: http://tug.org/pipermail/texhax/
> More links: http://tug.org/begin.html
>
> Automated subscription management: 
> http://tug.org/mailman/listinfo/texhax
> Human mailing list managers: postmaster at tug.org
>
>
-- 
William Adams, publishing specialist
voice - 717-731-6707 | Fax - 717-731-6708
www.atlis.com



More information about the texhax mailing list