[NTG-context] placing layers

Pablo Rodriguez oinos at gmx.es
Fri Jan 24 21:16:50 CET 2020

Dear list,

I have the following sample:


    \definelayer[abc][hoffset=1cm, voffset=5cm]

    \definelayer[xyz][hoffset=12cm, voffset=5cm]

    \setupbackgrounds[page][background={abc, xyz}]


Is therea way to set the voffset value of the xyz layer to the value of
voffset of the abc layer plus the half of the height of that layer?

I mean, something like: voffset = ( abc.voffset() + (abc.height()/2) )

Many thanks for your help,


More information about the ntg-context mailing list