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

M Elwood151 at web.de
Wed Oct 26 13:16:30 CEST 2011


@Tim:
thanks for your answer.
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.




> Von: Tim Hutt <tdhutt at gmail.com>
> Datum: Wed, 26 Oct 2011 11:42:40 +0100
> An: elwood151 <elwood151 at web.de>
> Cc: <ipe-discuss at cs.uu.nl>
> Betreff: Re: [Ipe-discuss] create white box (multiple lines) which adapts to
> the text width?
> 
> You can't make objects track other objects. I think the best you can do is
> use the paragraph tool, and then draw the background box manually.
> 
> Or write an ipelet...
> On Oct 26, 2011 11:16 AM, "elwood151" <elwood151 at web.de> wrote:
> 
>> 
>> I want to place text information on top of a photograph.
>> For better visibility of the text I'd like to create a white rectangle with
>> the black text above.
>> Linebreaks in the text shall be possible and the rectangle should
>> automatically adapt to the size of the text.
>> 
>> How can I achieve that?
>> 
>> If I use a minipage element in IPE, I have to define its width manually.
>> In a normal "label" I can not use a \newline command.
>> and how could I create the white rectangle in the box?
>> 
>> I think this is easy with LaTeX but I do not see how to do it at the
>> moment.
>> 




More information about the Ipe-discuss mailing list