lout-users
[Top][All Lists]
Advanced

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

Re: Vertical space/gap..


From: Valeriy E. Ushakov
Subject: Re: Vertical space/gap..
Date: Fri, 16 Mar 2001 12:46:47 +0300
User-agent: Mutt/1.3.3i

On Thu, Mar 15, 2001 at 08:19:29 -0500, Ish Rattan wrote:

> I am new to Lout. For making an exam, one needs quite a bit blank space
> for response to the question (as shown below, like vertical skip
> under latex). How can it be achieved?

With a vertical gap, naturally.  See section 3.2 of Expert's guide.
Another possibility is to use a blank object, like Jeff suggested.


On Thu, Mar 15, 2001 at 09:00:01 -0800, Albert Kinderman wrote:

> I do it by hand, using multiple @DP

@DP is just a macro for //1v (or whatever @DisplayGap is) - so instead
of multiple @DP one can just use a single concatentation operator with
necesary amount of vertical space, e.g. //5v or //1i or whatever.


> If your questions are in a list, use @ListNewPage to jump to the top
> of the next page.

On Fri, Mar 16, 2001 at 09:46:16 +0800, Isaac Kar-Keung To wrote:

> @BL
> @LI { An item. } 
> //.5vx
> @LI { Another item. }

Nah!  See Albert's remarks above.  Lists need special @ListNewPage
instead of @NP because lists are structurally different.

@List symbol is recursively expanded into actual list entries on the
page, so to say.  @ListItem provides contents for those entries and
@EndList notifies the @List that recursion can be terminated as there
are no more items.

While @BL @LI @EL syntactically *looks* like enumeration in, say,
LaTeX - it's very different structurally.  @ListItem is a galley like
a footnote - it doesn't appear at it's invocation place, it travels to
some space @List allocated for it.

One can even contrive the following example (try it!):


    @BulletList

    @PP This list outlines possible solutions to
    ``vertical gap'' problem.
    One can either use a concatenation
    operator @OneCol { @LI { "//" operator } }
    or an empty object.  @OneCol { @LI { empty object } }

    @RawEndList

    @PP That's all, folks.


So if one uses list, the gap (in Albert's example) or blank object (in
Jeff example) must be within @ListItem.  Using "gap" paramter to @List
is also possible but the gap will disappear at page boundaries.


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]