I use a template for beamer that redefines the block environment to make a real shadow, outline and custom bend corners. The look of it is quite nice but unfortunatly comes with the side effect of an incorrect position of the hyperref links inside the block environment. I would like to leave the template pretty much as it is and correct the link positions, if this is possible.
The position of the links are too high, which seems to be caused by the vertical offset introduced here that only effects the text but not the link:
\pgfputat{\pgfpoint{0pt}{-3ex}}{\pgftext[left,base]{\copy\bmb@bodybox}}
MWE
\documentclass{beamer}
\usepackage[backref=true, backend=biber]{biblatex}
\bibliography{biblatex-examples}
\usepackage{tikz}
\setbeamertemplate{blocks}[rounded]
\makeatletter
\newbox\bmb@headbox
\newbox\bmb@bodybox
\renewcommand\beamerboxesrounded[2][]{%
\setkeys{beamerboxes}{upper=block title,lower=block body,width=\textwidth}%
\setbox\bmb@headbox=\hbox{%
\begin{minipage}[b]{\bmb@width}%
#2%
\end{minipage}}%
\setbox\bmb@bodybox=\hbox\bgroup\begin{minipage}[b]{\bmb@width}%
}
\def\endbeamerboxesrounded{%
\end{minipage}\egroup%
\begin{tikzpicture}
\pgfputat{\pgfpoint{0pt}{0pt}}{\pgftext[left,base]{\copy\bmb@headbox}}
\pgfputat{\pgfpoint{0pt}{-3ex}}{\pgftext[left,base]{\copy\bmb@bodybox}}
\end{tikzpicture}
}
\makeatother
\begin{document}
\begin{frame}
\begin{block}{This is the block title}
This is where the citation occurs \cite{kastenholz}
\end{block}
\end{frame}
\end{document}
biblatexreally needed in this MWE? Same goes for the citation. – Werner Nov 07 '12 at 06:24\hypersetupcan be used to alter that but some options don't seem to have an effect eg.pdfborder={1 0 0},pdftitle={abcd}don't work whilepdfauthor={abcd}does work. I set up my presentation that it shows the citations with mouse-overs so biblatex is needed in this MWE. – maetra Nov 07 '12 at 11:27\begin{minipage}[t]instead of\begin{minipage}[b]– Marco Daniel Apr 23 '13 at 18:51