[Tex/LaTex] hyperlink button in an exact position

beamerhyperref

I want to include a hyperlink button on a slide that is completely covered by a figure. If I do the following:

\begin{frame}[plain]
\begin{center}
    \includegraphics[width=3in]{map}
\end{center}
\begin{flushright}
    \hyperlink{inthispaper}{\beamerreturnbutton{Back}}        
\end{flushright}
\end{frame}

the button will not appear on the slide. Is there an environment that allows the button to float on the slide? Or is there a way to set the position of the button exactly?

Best Answer

You can use the textpos package to place material at absolute positions on a page:

\PassOptionsToPackage{demo}{graphicx}
\documentclass{beamer}
\usepackage{textpos}

\setbeamertemplate{navigation symbols}{}

\begin{document}

\begin{frame}[plain]
\begin{center}
    \includegraphics[width=3in,height=3.6in]{map}
\end{center}
\begin{textblock*}{3cm}(.95\textwidth,-0.5\textheight)%
    \hyperlink{inthispaper}{\beamerreturnbutton{Back}}        
\end{textblock*}
\end{frame}

\end{document}

enter image description here

The line \PassOptionsToPackage{demo}{graphicx} replaces the actual figure with a black rectangle; do not use that line in your actual code.