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

Philip G. Ratcliffe philip.ratcliffe at uninsubria.it
Wed May 24 16:30:18 CEST 2006


> 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.

Did you try anything like this?

\parbox{5cm}{... material ...}

> 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?  
> [snip]

Try look at the shapepar package.

Cheers,  Phil Ratcliffe


More information about the texhax mailing list