On Wed, Dec 05, 2001 at 11:25:14AM +1000, Allan Rae wrote:
> It seems there is now some uncertainty about how to handle the
> percentage lengths although it seems everyone wants to go back to an
> int.
> 
> Would you accept the pair<int, int> proposal?

What makes this better as a single int?

> have a:
>       union {
>               int sp_length;
>               float percentage;
>       } val_;

LyX is not a device driver. No need for unions ;-}

> decimal point.  Then again do we really need to do any limiting of the
> percentage other than range limiting of 0 - 100 percent? (actually we
> need a range of 0 - 1 for the output)

Why this limitation? What's wrong with 120% of \columnwidth?

Andre'

-- 
André Pönitz .............................................. [EMAIL PROTECTED]

Reply via email to