I have Picture X.Y:Photo1 and I am using
\label{pic:Photo1}
and
\ref{pic:Photo1}
to reference it. The outcome is something like: ...which you can see in picture X.Y. When I click on X.Y it is supposed to display the Photo1, but there is only its caption on top of the displayed part of page and I have to scroll a bit to see the picture itself. I want the picture to be shown right after clicking on the reference. Is there a way to do this? Thanks in advance.
\documentclass{...}and ending with\end{document}. In your case I guess you are using\usepackage{hyperref}. Adding\usepackage{hypcap}after it should solve your problem then. – Mike Apr 27 '17 at 22:25