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 9 '14 at 15:15\href
and\pgfputat
are in the same block. – niekas Oct 9 '14 at 15:29