When I click on the link of a reference (equation, image, section…) it sends me to the beginning of the page where the reference is and not to its exact location.
how do I get the link to send me to the exact location of the reference?
\documentclass[12pt,a4paper]{article}
\usepackage[utf8]{inputenc}
\usepackage[english]{babel}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{makeidx}
\usepackage{graphicx}
\usepackage{lmodern}
\usepackage{kpfonts}
\usepackage[left=2cm,right=2cm,top=2cm,bottom=2cm]{geometry}
\usepackage{hyperref}
\begin{document}
When I click on the link of a reference (equation, image, section...) it
sends me to the beginning of the page where the reference is and not to
its exact location. how do I get the link to send me to the exact
location of the reference?
\begin{equation}
B=A+C
\label{eq1}
\end{equation}
\newpage
This is the link to the equation \ref{eq1}
\end{document}
Best Answer