# [texhax] (1) Getting text into a box that obeys margins, and (2) having text flow around a box

Victor Ivrii vivrii at gmail.com
Wed May 24 03:54:51 CEST 2006

On 5/23/06, hgi <hgi at shaw.ca> wrote:
>
> Hi All!
>
> Can anyone tell me how to flow text into a box of whatever type, so that the
> text hits the right limit of the box and automatically word-breaks to the
> next line?  My problem right now is I can throw text into a box, but it
> continues beyond the boundry of the margins.

\begin{minipage}{2in}
blahblahblahblahblah blahblahb lahblahbla hblah
\end{minipage}

>
> Also, is there a way (without converting to a graphic and using a Wrapfigure
> command) to take a very short piece of text, throw a box around it and then
> have the text wrap around the box?  That's a generic question   my purpose
> is to have a section at the end of a newsletter, in which, in a column,
> there is a little box containing a big italic "i" (for "information") that
> sits in the column while the text describing how to get more information

try  package shapepar (look for documentation)

>
> My tanks to everyone on this list!
>
> Sincerely,
>
> -Warren
> _______________________________________________
> TeX FAQ: http://www.tex.ac.uk/faq
> Mailing list archives: http://tug.org/pipermail/texhax/
>
> Automated subscription management:
> http://tug.org/mailman/listinfo/texhax
> Human mailing list managers: postmaster at tug.org
>
>

--
========================
Victor Ivrii, Department of Mathematics, University of Toronto