# [texhax] minipage/parbox without pre-defining width

Herbert Voss Herbert.Voss at FU-Berlin.DE
Mon Oct 18 15:37:53 CEST 2010

Am 18.10.2010 15:02, schrieb Susan Dittmar:

> Positioning these blocks is solved. But right now I create the block by
> using \parbox. This works, but I have to provide for the width of that
> block, which up to now I only can do empirically. I would love to find a
> way to automate this.
>
> Ideally I look for some relative of minipage, where I can define a maximum
> width, but which shrinks to the width its contents really occupies before
> it is typeset.

package varwidth

Herbert