Removing the link boxes from Latex’ Hyperref (and color)
Posted by Drakonen on September 26, 2008 in Tech | Short Link
Aah Latex… A love hate relation ship. Working on my thesis I use the hyperref package for some nice linking support in my document. unfortunately this also causes them to get link boxes around them. Here’s the code to remove them:
\usepackage[pdftex]{hyperref} \hypersetup{ colorlinks,% citecolor=black,% filecolor=black,% linkcolor=black,% urlcolor=black }
EDIT:
Hyperref seems to offer this feature by itself, by setting hidelinks. (Thanks yolila!)
http://www.tug.org/applications/hyperref/manual.html
This makes the links use colors inststead of boxes/frames, and sets the used colors to black. Fixed! Although this should be a standard convenience option imho.
Thank you so much buddy. I was so looking for this. You are right it’s a love and hate relationship. Sometimes Latex is a real pain in the ass and sometimes is really gratifying.
There does have a standard way to achieve this goal. Hyperref offers an option named “hidelinks” when set to true it will produce just the effects as expected.
Search “hidelinks” below for details.
http://www.tug.org/applications/hyperref/manual.html
@yolila: Thanks! I shall edit my post accordingly.