[NTG-context] overlay lifts image slightly

Wolfgang Schuster schuster.wolfgang at gmail.com
Sun Jul 21 19:24:21 CEST 2013


Am 21.07.2013 um 19:13 schrieb Pablo Rodríguez <oinos at web.de>:

> Dear list,
> 
> I have the following sample code (http://www.ousia.tk/overlay.pdf):
> 
>    \setuppapersize[S6]
>    \usemodule[simplefonts][size=30pt]
>    \definesimplefonttypeface[sfserif][Free Serif][scale=10]
>    \setupmakeup[standard][align=middle]
>    \starttext
> 
>    \startstandardmakeup
>    \dontleavehmode\externalfigure[text-icon.pdf]
>    [scale=5000]
>    \stopstandardmakeup
> 
>    \startstandardmakeup
>    \dontleavehmode\startoverlay
>      {\externalfigure[text-icon.pdf]
>    [scale=5000]}{\sfserif\color[red]{✘}}\stopoverlay\stopoverlay
>    \stopstandardmakeup
> 
>    \stoptext
> 
> For some reason unknown to me, the overlay in the second slide has the
> background image slightly lifted. All I have realized is that replacing
> ✘ with x shows no image lift, but I need ✘.
> 
> Is there any way to avoid this image lift?

You have to increase the size of the image to mage it bigger than the ✘, you can do this
by wrapping it into a frame, e.g. \framed[frame=off,offset=1cm]{\externalfigure[…]}.

Wolfgang


More information about the ntg-context mailing list