On 03/12/2012 04:35 PM, Csikos Bela wrote:
Richard Heck<[email protected]> írta:
On 03/12/2012 12:13 PM, Csikos Bela wrote:>
Thank you all for replying.>
I did exactly the same, I used two minipages, one on the left and one on>
the right. What problematic is the width of the right minipage.>
It should be exactly the length of the longest line it contains,>
but it can not be set like that. Setting the width manually is not a>
real solution since by changing font type or size might require>
resetting its width.>
I guess the same applies to tables.>
I found \makebox command; its width can be set exactly to the>
width of its content with the \width parameter. Unfortunately>
\makebox command works only with one line boxes. It can not>
have new lines.>
All in all there is no good solution so far.>
http://www.tex.ac.uk/cgi-bin/texfaq2html?label=varwidth>
Yes, this is exactly I needed.
Google loves you.
Richard