Re: [NTG-context] nice friends-book with ConText
![](https://secure.gravatar.com/avatar/ddb19d0655fedd5d525a6d10eba5527f.jpg?s=120&d=mm&r=g)
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
![](https://secure.gravatar.com/avatar/93131e1e6e2204bd13501390d768dbdc.jpg?s=120&d=mm&r=g)
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