I currently have some LaTeX code to have multiple images side by side:
\begin{figure*}
\begin{center}
\includegraphics[height=2cm]{foo11.jpg}
\includegraphics[height=2cm]{foo12.jpg}\\
\includegraphics[height=2cm]{foo21.jpg}
\includegraphics[height=2cm]{foo22.jpg}
\end{center}
\caption{my caption.}
\end{figure*}
I would now like to add a small inset, inside for example foo12.jpg and foo22.jpg. For example, having the image bar12.jpg as a small thumbnail in the top-right corner of foo12.jpg and having the image bar22.jpg as a small thumbnail in the top-right corner of foo22.jpg.
Of course, my goal is not to do that using Photoshop (or any external tool/script) but to do it directly in LaTeX. I guess this should be doable (since with Acrobat we can place images wherever we want in a PDF, and since LaTeX figures are "floating"), but have no idea how and I can't find any resource to help.



\begin{figure} \caption{This is my caption} \stackinset{l}{2pt}{t}{}{\smash{\abovebaseline[2pt]{\little}}}{\big} \end{figure} \begin{figure} \stackinset{l}{2pt}{b}{}{\smash{\belowbaseline[10pt]{\little}}}{\big} \caption{This is my caption} \end{figure}– Steven B. Segletes Dec 08 '18 at 03:10\stackinsetinstead as it seems\topinsetand its family got deprecated in more recent versions of the package? – Raven Dec 28 '20 at 18:47