lout-users
[Top][All Lists]
Advanced

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

Re: Two boxes


From: Valeriy E. Ushakov
Subject: Re: Two boxes
Date: Tue, 29 Jun 1999 14:27:05 +0400

On Tue, Jun 29, 1999 at 11:43:48AM +0200, Matthias Teege wrote:

> I want to place two boxes with the same size side by side on one page.
> There has to be a small space between the boxes. The height should be
> 7cm and the width a half \textwidth.

    @HExpand {
      @Box 7c @High 50c @Wide ||10p @Box 7c @High 50c @Wide
    }

or

    7c @High @HExpand {
      @Box 50c @Wide @VExpand ||10p @Box 50c @Wide @VExpand
    }

or, same as above, but using nice definition to hide ugly details

    def @EqualWidth right x { 50c @Wide x  } # believe it or not ;-)
    def @Two right x { x ||10p x }

    7c @High @HExpand @Two @Box @VExpand @EqualWidth


The 50c @Wide trick is from dsf, where it's used to balance columns.

HTH.

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]