lout-users
[Top][All Lists]
Advanced

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

Re: Is this doable?


From: Valeriy E. Ushakov
Subject: Re: Is this doable?
Date: Tue, 10 Jul 2001 06:28:08 +0400
User-agent: Mutt/1.3.3i

On Mon, Jul 09, 2001 at 12:44:23 +0100, Graham Douglas wrote:

> Is it possible to create a shaded box/background to a paragraph AND
> have that shaded box/background break across the page?

The closest thing I can come up with is:

    extend @BasicSetup @DocumentSetup
    def @Enclosed into { @AfterLinePlace&&following }
      named @Enclose in @ right @Body { @Body }
      right x
    { x }

and then, for example

    ...
    blah blah blah.

    # we specify how to process each "split" part using the "@" shorthand
    // @Enclosed @{ ||@DisplayIndent @ShadowBox @Body }
    {
    Blah blah blah ...
    ...
    }

    @PP
    Blah blah blah ...

    // @Enclosed in { @Box @Body }  # using the "in" shorthand
    {
    @Null @PP # null is needed to cancel the vertical gap @PP introduce
    Blah blah blah
    ...
    @PP
    Even more blah blah blah ..
    }

Lout complains about:

    0.4c object too high for -0.0c space; will try elsewhere

but splits the text across pages just fine enclosing each portion
as told with "@" or "in" paramter (they are just handy aliases).

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]