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 ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________