[Ipe-discuss] create white box (multiple lines) which adapts to the text width?
Otfried Cheong
otfried at ipe.airpost.net
Thu Oct 27 02:08:03 CEST 2011
On 10/27/2011 04:00 AM, M wrote:
>
> @Otfried:
> thank you, yes that's exactly what I want:
> Linebreaks are set manually and the width is adapted to the longest line.
>
> (It's about labels which contain only 1..3 words to explain the different
> parts of a photograph.
> As the width of them shall not be "too long", I want to set linebreaks
> manually.
> And the white box in the background shall make them better readable.)
>
> Any idea how to do that with LaTeX?
The obvious solution I can think of - make a label object and put:
\colorbox{white{\begin{tabular}{l}line 1\\line 2\\line 3 is
longer\end{tabular}}
You may have to tinker with the spacing.
Cheers,
Otfried
More information about the Ipe-discuss
mailing list