Le 08/07/2012 21:09, Uwe Stöhr a écrit :
The attached patch adds support for \fbox and \mbox.
I have there used a hack where I code the case of no option to the
length "-999col%". This works but I am not happy with this. There must
be a way to omit specifying a length but I can't figure out how. Any
help is highly appreciated.
If you assign a length with value "Length()" it will have unit UNIT_NONE
and value 0. You can then test for this case with
if(width_string.empty())
...
Other than that, I cannot comment on the patch, as all I remember from
the existing code is that it is horribly ad-hoc to make various types of
boxes "look well". Please make sure you are not making it worse.
JMarc