* overlay lifts image slightly
@ 2013-07-21 17:13 Pablo Rodríguez
2013-07-21 17:24 ` Wolfgang Schuster
0 siblings, 1 reply; 5+ messages in thread
From: Pablo Rodríguez @ 2013-07-21 17:13 UTC (permalink / raw)
To: mailing list for ConTeXt users
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?
Many thanks for your help,
Pablo
--
http://www.ousia.tk
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: overlay lifts image slightly
2013-07-21 17:13 overlay lifts image slightly Pablo Rodríguez
@ 2013-07-21 17:24 ` Wolfgang Schuster
2013-07-21 17:55 ` Pablo Rodríguez
0 siblings, 1 reply; 5+ messages in thread
From: Wolfgang Schuster @ 2013-07-21 17:24 UTC (permalink / raw)
To: mailing list for ConTeXt users
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: overlay lifts image slightly
2013-07-21 17:24 ` Wolfgang Schuster
@ 2013-07-21 17:55 ` Pablo Rodríguez
2013-07-21 18:29 ` Wolfgang Schuster
0 siblings, 1 reply; 5+ messages in thread
From: Pablo Rodríguez @ 2013-07-21 17:55 UTC (permalink / raw)
To: mailing list for ConTeXt users
On 21/07/13 19:24, Wolfgang Schuster wrote:
> Am 21.07.2013 um 19:13 schrieb Pablo Rodríguez <oinos@web.de>:
>> [...]
>> 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[…]}.
Many thanks for your gast reply, Wolfgang.
I‘m afraid that the frame itself lifts the image. Frame and overlay lift
the image also. PDF at http://ousia.tk/overlay.pdf.
I must be doing something wrong. Here is my code:
\setuppapersize[S6]
\setupinteraction[state=start]
\setupinteractionscreen[option=max]
\usemodule[simplefonts][size=30pt]
\setmainfont[KerkisSans]
\definesimplefonttypeface[sfserif][Free Serif][scale=10]
\setupmakeup[standard][align=middle]
\starttext
\startstandardmakeup
\dontleavehmode\externalfigure[Documents/Presentations/al-abordaje/text-icon.pdf]
[scale=5000]
\stopstandardmakeup
\startstandardmakeup
\dontleavehmode\framed[frame=on,offset=1cm]{\externalfigure[Documents/Presentations/al-abordaje/text-icon.pdf][scale=5000]}
\stopstandardmakeup
\startstandardmakeup
\dontleavehmode\startoverlay{\framed[frame=on,offset=1cm]{\externalfigure[Documents/Presentations/al-abordaje/text-icon.pdf][scale=5000]}}{\sfserif\color[red]{✘}}\stopoverlay\stopoverlay
\stopstandardmakeup
\stoptext
Many thanks for your help,
Pablo
--
http://www.ousia.tk
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: overlay lifts image slightly
2013-07-21 17:55 ` Pablo Rodríguez
@ 2013-07-21 18:29 ` Wolfgang Schuster
2013-07-21 18:51 ` Pablo Rodríguez
0 siblings, 1 reply; 5+ messages in thread
From: Wolfgang Schuster @ 2013-07-21 18:29 UTC (permalink / raw)
To: mailing list for ConTeXt users
Am 21.07.2013 um 19:55 schrieb Pablo Rodríguez <oinos@web.de>:
> On 21/07/13 19:24, Wolfgang Schuster wrote:
>> Am 21.07.2013 um 19:13 schrieb Pablo Rodríguez <oinos@web.de>:
>>> [...]
>>> 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[…]}.
>
> Many thanks for your gast reply, Wolfgang.
>
> I‘m afraid that the frame itself lifts the image. Frame and overlay lift
> the image also. PDF at http://ousia.tk/overlay.pdf.
You have to write \smash[d]{\startoverlay …\stopoverlay} to get the same output with the overlay.
The \framed command isn’t necessary here.
You should also try to make minimal examples when possible only with default images and fonts.
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: overlay lifts image slightly
2013-07-21 18:29 ` Wolfgang Schuster
@ 2013-07-21 18:51 ` Pablo Rodríguez
0 siblings, 0 replies; 5+ messages in thread
From: Pablo Rodríguez @ 2013-07-21 18:51 UTC (permalink / raw)
To: mailing list for ConTeXt users
On 21/07/13 20:29, Wolfgang Schuster wrote:
> Am 21.07.2013 um 19:55 schrieb Pablo Rodríguez <oinos@web.de>:
> [...]
>> I‘m afraid that the frame itself lifts the image. Frame and overlay lift
>> the image also. PDF at http://ousia.tk/overlay.pdf.
>
> You have to write \smash[d]{\startoverlay …\stopoverlay} to get the same output with the overlay.
>
> The \framed command isn’t necessary here.
>
> You should also try to make minimal examples when possible only with default images and fonts.
Many thanks for your help, Wolfgang.
I works right now.
Pablo
--
http://www.ousia.tk
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2013-07-21 18:51 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-07-21 17:13 overlay lifts image slightly Pablo Rodríguez
2013-07-21 17:24 ` Wolfgang Schuster
2013-07-21 17:55 ` Pablo Rodríguez
2013-07-21 18:29 ` Wolfgang Schuster
2013-07-21 18:51 ` Pablo Rodríguez
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).