TransWikia.com

Change the on-click link colors with hyperref

TeX - LaTeX Asked by vitalstatistix on March 17, 2021

Consider the following MWE:

documentclass[10pt]{report}
usepackage[hidelinks,draft=false,linkcolor=black,pdfusetitle,pdfdisplaydoctitle]{hyperref}
begin{document}
tableofcontents
chapter{Introduction}
section{Motivation}
end{document}

If I click and hold a link in the Table of Contents, I get this:


The first picture is if I open the PDF using Foxit reader and the second is in Adobe Reader. Is it possible to change these on-click colors? Or rather, force the viewer to display the ones I want?

Edit: while the example shows links in the ToC, the same colors are used for in-text citations/section references as well.

Edit 2: It’s partially viewer dependent. I’ve updated the question accordingly

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP