This question is very close to what I want, yet not quite.
The accepted answer offers linkcolor = black
, but I do not want to hide all links.
I like my in-line figure numbers and section references in red.
How can I change the link color in the Table of Contents, and only in the Table of Contents to black?
My document goes roughly like so:
...
\usepackage[]{hyperref}
\hypersetup{colorlinks=true,}
...
\begin{document}
\tableofcontents
\chapter*{...}
\chapter{...}
...
\end{document}
Best Answer
You can change the settings locally using
or
Code:
If you want to remove the links from TOC complettly, you can use option
linktoc=none
: