There are many questions and answers surrounding how to make the Table of Contents content clickable. I am wondering how to make a reference to the Table of Contents and create a link elsewhere in the document to click on and go back to the table of contents.

I have tried giving the Table of Contents its own label via \tableofcontents\label{toc} and then using a reference link \ref{toc} but this produces the error: ./project.tex:133: Package hyperref Warning: Suppressing empty link on input line 133.

-

## marked as duplicate by karlkoeller, jfbu, Jubobs, Martin Schröder, Heiko OberdiekMar 7 at 20:26

This can be done with hypertarget and hyperlink from the hyperref package. See the example below:

\documentclass{article}
\usepackage{hyperref}

\begin{document}
Title Page\newpage

% Print the TOC
\tableofcontents
\newpage

% Sections with a hyperlink to TOC

\end{document}

-

Something like this:

\documentclass{scrbook}

\usepackage{hyperref}

\begin{document}

\phantomsection
\hypertarget{MyToc}{}  % Make an anchor to the toc
\tableofcontents

\chapter{Dummy}

\chapter{Yet another Dummy}


Change the \documentclass{scrbook} at will.