I use hyperref and pgf packages.
I need pgf to include and position an image:
\pgfputat{\pgfxy(-0.2, -2.4)}{
\pgfbox[left,base]{
\includegraphics[width=0.19\textwidth]{\@universitylogo}
}
}
\href{http://www.example.com}{www.example.com} % Shows link with broken anchor
But after each \pgfbox[left,base]{} call the \href anchor moves lower and lower below the link title. Any ideas how to fix the anchor?
Here is minimal example to demonstrate the broken \href anchor:
\documentclass{article}
\usepackage{pgf}
\usepackage{hyperref}
\begin{document}
\begin{center}
\pgfputat{\pgfxy(-1.3, -2.1)}{\pgfbox[left,base]{
\includegraphics[width=0.19\textwidth]{img/sun}}}
\pgfputat{\pgfxy(10.9, -2.0)}{\pgfbox[left,base]{
\includegraphics[width=0.15\textwidth]{img/moon}}}
\parbox[b]{0.5\textwidth}{
\centering \large\bf
My University \\
Institute of Science and Technology \\
C O U N T R Y
}
\vskip 1cm
\href{http://www.example.com}{www.example.com}
\end{center}
\end{document}
Here is the result:



true|false, but no effect. – niekas Oct 09 '14 at 15:15\hrefand\pgfputatare in the same block. – niekas Oct 09 '14 at 15:29\hrefproblem is okay. – Werner Oct 09 '14 at 19:08hyperrefpackage commands, such as\url, but the problem remains. – niekas Oct 09 '14 at 19:10