سلام
\documentclass{report}
\usepackage[colorlinks]{hyperref}
\let\oldcontentsline\contentsline%
\renewcommand\contentsline[4]{%
\oldcontentsline{#1}{\smash{\raisebox{1em}{\hypertarget{toc#4}{}}}#2}{#3}{#4}}
\newcommand\mychapter[1]{%
\chapter[#1]{\protect\hyperlink{tocchapter.\thechapter}{#1}}}
\newcommand\mysection[1]{%
\section[#1]{\protect\hyperlink{tocsection.\thesection}{#1}}}
\newcommand\mysubsection[1]{%
\subsection[#1]{\protect\hyperlink{tocsubsection.\thesubsection}{#1}}}
\begin{document}
\tableofcontents
\mychapter{A Chapter to act as a Link}
\mysection{A Section to act as a Link}
\mysubsection{A Subection to act as a Link}
\mysubsection{A Subection to act as a Link}
\mysection{A Section to act as a Link}
\mysubsection{A Subection to act as a Link}
\mysubsection{A Subection to act as a Link}
\end{document}
مثلا با کلیک روی 1.2 در متن،

به فهرست مطالب و اون خط مرتبط با این section با شماره 1.2 منتقل میشین و دقیقا زیر لبهی بالایی صفحه قرار میگیره.
