ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <schuster.wolfgang@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: overlay lifts image slightly
Date: Sun, 21 Jul 2013 19:24:21 +0200	[thread overview]
Message-ID: <4931B9AB-B839-4AE2-AC4C-94D25FCA220F@gmail.com> (raw)
In-Reply-To: <51EC16A2.7000705@web.de>


Am 21.07.2013 um 19:13 schrieb Pablo Rodríguez <oinos@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
___________________________________________________________________________________
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
___________________________________________________________________________________

  reply	other threads:[~2013-07-21 17:24 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-21 17:13 Pablo Rodríguez
2013-07-21 17:24 ` Wolfgang Schuster [this message]
2013-07-21 17:55   ` Pablo Rodríguez
2013-07-21 18:29     ` Wolfgang Schuster
2013-07-21 18:51       ` Pablo Rodríguez

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4931B9AB-B839-4AE2-AC4C-94D25FCA220F@gmail.com \
    --to=schuster.wolfgang@gmail.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).