[Tex/LaTex] How to superimpose two images in a beamer presentation

arrowsbeamerpositioningshapes

Even I am familiar with LaTeX I consider myself new to LaTeX presentations.

  • I already created the graphics / diagrams.
  • I want to overlay the cloud and the arrows over the diagrams.
  • The overlay should be in a second frame.

This is my code for a frame in a beamer class. What I exactly want is an image like the one I have uploaded. Inside the cloud I also need some text. Also the lines should be arrows. Is this possible in LaTeX beamer?

enter image description here

\documentclass{beamer}
\usepackage{graphicx}
\usepackage{tikz}
\begin{document}
\begin{frame}[label=Figs 5Ia-g.]
\frametitle{\textbf{\textit{continued....}}}
\begin{center}
\begin{overprint}%
\only<1>{\includegraphics[scale=0.30]{Fig5Ia.jpg}}%
\only<2>{\includegraphics[scale=0.30]{Fig5Ib.jpg}}%
\caption{\only<1>{\\ \footnotesize{\textcolor{Maroon0}{\textbf{The emission of cluster $^{14}$C from Fr, Ra, Ac and Th isotopes.}}}}\only<2>{\\ \footnotesize{\textcolor{Maroon0}{\textbf{The emission of cluster $^{20}$O from Ra and Th and clusters $^{18,22}$O from Th isotopes.}}}}} 
\end{overprint}
\end{center}
\end{frame}
\end{document}

or otherwise can I merge these two figures in a single slide as we do in ppt. One after the other, or more clearly image 1 should come fist and after a pause image 2 (may be as a background) enter image description here

Best Answer

In order to get help here, it is expected that you provide at least some minimal but compilable code.

\documentclass{beamer}
\usepackage{graphicx}
\usepackage{tikz}

\begin{document}

% ------------ Frame Start ------------
\begin{frame}[c]
\frametitle{Frame Title}

\begin{center}
\includegraphics[width=0.8\textwidth]{example-image-a}
\end{center}

\pause

\begin{tikzpicture}[overlay, remember picture] 
\node at (current page.north east) 
    [
    anchor=north east,
    xshift=0mm,
    yshift=0mm
    ] 
{
\includegraphics[width=0.3\textwidth]{example-image-b}
};
\end{tikzpicture}

\end{frame}
% ------------ Frame End ------------

\end{document}

enter image description here

Compile twice!

Instead of \pause you can probably use other commands like \only and \unvover too., Please read the beamer manual for more information.