Re: [NTG-context] nice friends-book with ConText
With the change to [strut=no,offset=overlay] the result looks a litlebit better. Though there is still whitespace to the left and to the right. \definelayer[Kontaktdaten][x=50mm,y=150mm,width=30mm,height=40mm,state=start] % size is ignored! \setupbackgrounds[paper][setups=ALayer,background=Kontaktdaten,state=start] \starttext \strut \setlayerframed[Kontaktdaten][frame=on,hoffset=0mm,voffset=0mm][strut=no,offset=overlay] % <==== look here { {\externalfigure[jkopp][width=30mm][height=40mm]} } \stoptext Look here: http://www.imagebanana.com/view/ksjzn63e/FotoinLayer.png Janis Am 14.10.2011 00:22, schrieb Mojca Miklavec:
\setlayerframed[Kontaktdaten][frame=on,hoffset=0mm,voffset=0mm,align=left] strut=no,offset=overlay
align=left doesn't do what you want it to do.
Mojca
Am 14.10.2011 um 00:56 schrieb Jan Heinen:
With the change to [strut=no,offset=overlay] the result looks a litlebit better. Though there is still whitespace to the left and to the right.
\definelayer[Kontaktdaten][x=50mm,y=150mm,width=30mm,height=40mm,state=start] % size is ignored! \setupbackgrounds[paper][setups=ALayer,background=Kontaktdaten,state=start] \starttext \strut \setlayerframed[Kontaktdaten][frame=on,hoffset=0mm,voffset=0mm][strut=no,offset=overlay] % <==== look here { {\externalfigure[jkopp][width=30mm][height=40mm]} }
You have a space here between the first two left braces and also one between the two right braces, remove the outer braces and write \setlayerframed[…][…][…] {\externalfigure[…]} to get rid of the spaces. Wolfgang
participants (2)
-
Jan Heinen
-
Wolfgang Schuster