[NTG-context] Dynamic Elements on Layer
Aditya Mahajan
adityam at umich.edu
Sun Jan 14 18:19:02 CET 2007
On Sun, 14 Jan 2007, Helin Gai wrote:
> Hi,
>
> I'm still trying to place my running heads into the margin, 5 cm away
> from the top. My new attempt is to use layer:
>
> \definelayer[colin][width=\paperwidth,height=\paperheight,x=0mm,y=0mm]
> \setlayer[colin][x=5cm,y=3cm]{\framed{\getmarking[chapter][current]}}
> \setupbackgrounds[page][background=colin]
>
> But it doesn't seem to work either. Does anyone know why it is?
Maybe because the layer is not evaluated for each page. You can try
putting the \setlayer stuff inside \setupheadertexts or append them to
beforeeverypage or aftereverypage, like
\appendtoks \setlayer[...] \to \aftereverypage
Aditya
More information about the ntg-context
mailing list