Re: create white box (multiple lines) which adapts to the text width?

M <Elwood151-S0/[email protected]>
Newsgroups gmane.comp.graphics.ipe.general
Message-ID <CACDB8AE.D5A2%[email protected]>
@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 <[email protected]>
> Datum: Wed, 26 Oct 2011 11:42:40 +0100
> An: elwood151 <elwood151-S0/[email protected]>
> Cc: <[email protected]>
> 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-S0/[email protected]> 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.
>>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.