lout-users
[Top][All Lists]
Advanced

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

Re: coloured shadowboxes


From: Valeriy E. Ushakov
Subject: Re: coloured shadowboxes
Date: Mon, 10 Apr 2000 19:34:31 +0400

On Mon, Apr 10, 2000 at 03:42:04PM +0200, Mike Dowling wrote:

> I was wondering if it were possible to even enable the user to define
> his own boxes for pages using postscript.

Hm, why not.  Something along this lines should allow for arbitrary
user defined page boxes.

def @DocumentSetup

  import @DocumentSetup # import @PageBoxMargin &c for convenience
  named @PageBoxFormat
          right page
        { page }

...

    def @PageBox right x
    {
       @PageBoxType @Case {
        ...
        Format @Yield @PageBoxFormat x
        ...
      }
    }



def @MyBox right x { ... some fancy stuff ... }

{ @Use @DocumentSetup
    ...
    @PageBoxType   { Format }
    @PageBoxFormat { @MyBox page }
    ...
}

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]