Re: overlay images in Beamer

3,880 views
Skip to first unread message
Message has been deleted
Message has been deleted
Message has been deleted

rupai

unread,
Sep 23, 2010, 1:13:43 AM9/23/10
to LaTeX Users Group
Hi,

Thanks for your suggestions.

@Werner
I tried the overprint option but it displays the images on two
separate slides.

@Zio_Pecos
I tried your suggestion also but got the same result.


I have two separate images with different dimension. Image 2 is kind
of a zoom in version of a smaller portion of image 1. The idea is to
display image 1 (bigger image) and then display image 2 on top of it
so that both images are visible at the same time. I also want to
connect the corners of the 2nd image to the smaller region of the 1st
image. Any suggestion?

regards,
rupai

On Sep 23, 2:12 am, Werner Grundlingh <wgrundli...@gmail.com> wrote:
> On Sep 22, 12:48 pm, rupai <rupali...@gmail.com> wrote:
>
> > Hi,
> >         I am using Beamer to make a presentation. I want to overlay an
> > image on the existing image in a single slide. I tried \llap but did
> > not get useful output.  I would appreciate if you kindly share your
> > ideas.
>
> > Regards,
> > rupai
>
> Beamer has an environment that exactly does what you're interested in.
> It's called the overprint environment. See the documentation for more
> information.
>
> Werner

tge...@gmail.com

unread,
Sep 23, 2010, 8:36:22 AM9/23/10
to LaTeX Users Group


On Sep 23, 7:13 am, rupai <rupali...@gmail.com> wrote:

> The idea is to
> display image 1 (bigger image) and then display image 2 on top of it
> so that both images are visible at the same time. I also want to
> connect the corners of the 2nd image to the smaller region of the 1st
> image. Any suggestion?

See http://www.tug.org/pracjourn/2007-3/tsyplakov/tsyplakov.pdf and
http://tpx.sourceforge.net/

I am using TpX and it is working well (that is, I am managing to do
what I want to do). I still have to split images over several slides
but I have no trouble with this when it comes to a slideshow
presentation where I'm going to have to "click" to advance the
presentation in any case.

For printing notes, I simply made one complete figure and then used:
\usepackage[handouts,t]{beamer}

\begin{frame}<handout:0>[plain]\frametitle{X}

stuff...

\end{frame}

<handout:0> means the slide is excluded from the notes. <beamer:0>
means the slide is excluded from the presentation. <beamer:0 handout:
0> means the slide is excluded all together... Read
http://old.nabble.com/Hiding-frames-td22008369.html

All the best.

rupai

unread,
Sep 23, 2010, 12:30:40 PM9/23/10
to LaTeX Users Group
@tgenade

Thank you for your suggestion but I am using linux . Any idea how to
do it in linux only?

On Sep 23, 5:36 pm, "tgen...@gmail.com" <tgen...@gmail.com> wrote:
> On Sep 23, 7:13 am, rupai <rupali...@gmail.com> wrote:
>
> > The idea is to
> > display image 1 (bigger image) and then display image 2 on top of it
> > so that both images are visible at the same time. I also want to
> > connect the corners of the 2nd image to the smaller region of the 1st
> > image. Any suggestion?
>
> Seehttp://www.tug.org/pracjourn/2007-3/tsyplakov/tsyplakov.pdfandhttp://tpx.sourceforge.net/

Peter Flynn

unread,
Sep 23, 2010, 5:54:14 PM9/23/10
to latexus...@googlegroups.com
On Thu, Sep 23, 2010 at 5:30 PM, rupai <rupa...@gmail.com> wrote:
@tgenade

Thank you for your suggestion but I am using linux . Any idea how to
do it in linux only?

It appears to execute under wine-1.2 (in my Ubuntu 10.4)

///Peter
 
>
> All the best.

--
You received this message because you are subscribed to the Google Groups "LaTeX Users Group" group.
To post to this group, send email to latexus...@googlegroups.com.
To unsubscribe from this group, send email to latexusersgro...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/latexusersgroup?hl=en.


r

unread,
Sep 24, 2010, 9:29:31 AM9/24/10
to LaTeX Users Group


On 23 Sep, 17:30, rupai <rupali...@gmail.com> wrote:
> @tgenade
>
> Thank you for your suggestion but I am using linux . Any idea how to
> do it in linux only?
>
> On Sep 23, 5:36 pm, "tgen...@gmail.com" <tgen...@gmail.com> wrote:
>
>
>
> > On Sep 23, 7:13 am, rupai <rupali...@gmail.com> wrote:
>
> > > The idea is to
> > > display image 1 (bigger image) and then display image 2 on top of it
> > > so that both images are visible at the same time. I also want to
> > > connect the corners of the 2nd image to the smaller region of the 1st
> > > image. Any suggestion?
>
I would create the image as required in another program such as gimp
or inkscape. Then I would use the the package 'textpos'.

rupai

unread,
Sep 27, 2010, 2:12:53 AM9/27/10
to LaTeX Users Group
@Peter,
thanks for your reply. I am using an older version of
Ubuntu. I'll give it a try after upgrading the current version.

@r
I created a png file with transparent background in
GIMP. But when I complied my presentation with pdflatex , the image
appeared completely dark in the pdf file. I am not sure if this
problem is specific to my system only. Does anyone encounter similar
problem with transparent png files in Beamer ?

regards,
rupai

r

unread,
Sep 27, 2010, 5:02:43 AM9/27/10
to LaTeX Users Group


rupai wrote:
> @Peter,
> thanks for your reply. I am using an older version of
> Ubuntu. I'll give it a try after upgrading the current version.
>
> @r
> I created a png file with transparent background in
> GIMP. But when I complied my presentation with pdflatex , the image
> appeared completely dark in the pdf file. I am not sure if this
> problem is specific to my system only. Does anyone encounter similar
> problem with transparent png files in Beamer ?
>
Try to change the background to a colour suitable for the
presentation, for example if the presentation is to use black text,
use a white background for the image.

Werner Grundlingh

unread,
Sep 28, 2010, 11:57:23 AM9/28/10
to LaTeX Users Group
...perhaps try putting the original image in a box of size zero, and
then adding the second image. If the two images have the exact same
configuration and dimension, this should work. For example:

\makebox[l][0pt]{\includegraphics{figure1}}\includegraphics{figure2}

Werner
Reply all
Reply to author
Forward
0 new messages