[Ipe-discuss] create white box (multiple lines) which adapts to the text width?

Otfried Cheong otfried at ipe.airpost.net
Wed Oct 26 13:22:10 CEST 2011


On 10/26/2011 08:16 PM, M wrote:
> When I place
> \colorbox{white}{text \par test}
> in a label, it is already pretty close to what I need - I just do not manage
> to get the linebreak.

What about

\colorbox{white}{\begin{minipage}{\textwidth}
text \par \text
\end{minipage}}

Inside a paragraph object, \textwidth is automatically the width you 
assigned to the paragraph object.

Otfried



More information about the Ipe-discuss mailing list