lout-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Strange spacing behavior


From: Valeriy E. Ushakov
Subject: Re: Strange spacing behavior
Date: Tue, 30 Mar 1999 03:36:15 +0400

On Mon, Mar 29, 1999 at 03:52:22PM -0600, Blake McBride wrote:

> @IndentedDisplay @F lines @Break {
> > @B{(if (= 3 4)
>       8
>       9)}
> 9
> }

> Why would adding "@B{" to one line effect positioning on other lines?
> Why two spaces?  Why did it shift the output to the right?



Because of the "where one object can go - any object can go" rule.
Adding @B the way you did effectively transforms your display into:

    ">" @B { "(if (= 3 4)" //1v "      8" //1v "      9)" } //1v "9"

I.e. the text inside @B is a paragraph itself formatted in `lines'
mode and then the result object is used in

    lines @Break {
    > <a whole paragraph>
    9
    }

The two spaced are the width of "> ".
Hope this answers your question.

Try instead:

    @IndentedDisplay @F lines @Break {
    > @B{"(if (= 3 4)"}
    @B{"      8"}
    @B{"      9)"}
    9
    }

SY, Uwe
-- 
address@hidden                         |       Zu Grunde kommen
http://www.ptc.spbu.ru/~uwe/            |       Ist zu Grunde gehen


reply via email to

[Prev in Thread] Current Thread [Next in Thread]