I am trying to adapt How to superimpose two images in a beamer presentation? to a document type article.
The goal is to have two superimposed images in the document:

To this end I modified the code
\documentclass{article}
\usepackage{graphicx}
\usepackage{tikz}
\begin{document}
\begin{figure}
\begin{center}
\includegraphics[width=0.8\textwidth]{example-image-a}
\end{center}
\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{figure}
\end{document}
There is a difficulty in modifying the wording current page. It should be current "figure", but I don't know how to properly describe it in Latex.
Suggestions?



tikzpicture? – AlexG Jun 22 '17 at 12:33