[NTG-context] [beta] anch-pos.lua

Hans Hagen pragma at wxs.nl
Fri Feb 17 09:50:22 CET 2012


On 17-2-2012 02:05, Philipp Gesang wrote:

> The new code is solid.

Of course one can always stretch it to the limit:

\setuptextbackground
   [mp=mpos:par:region,
    method=mpos:par:region]

\setupbodyfont[dejavu,10pt]

\showframe

\definetextbackground[r]
\definetextbackground[b]

\starttext

test \starttextbackground[b] \input ward

\parshape 5
     5cm 8cm
     4cm 8cm
     3cm 8cm
     2cm 8cm
     1cm 8cm
     \input ward
     \input ward

\input ward \stoptextbackground{} test

\stoptext

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------


More information about the ntg-context mailing list