I'd like to include some http links in my document. So i Included the hyperref package so that i can use the command \url{}
Microsoft Surface\footnote{\url{http://www.microsoft.com/surface}}
This works, but the problem is, that all the links in my document (also the ones created with \ref{}
or \cite{}
are highlighted. I want to avoid that. So i added:
\usepackage{hyperref}
\hypersetup{colorlinks=false}
But nothing changed. How can I avoid that all links are highlighted? I only want to enable URLs and nothing else.
Best Answer
Only load the
url
package it also provides\url
but will not render an hyperlink. Note that most PDF viewer do this now automatically anyway.If your really need
hyperref
for something else try to:Load the option with the package:
\usepackage[colorlinks=false]{hyperref}
Create a
hyperref.cfg
file in the same directory as your TeX file and put the\hypersetup{colorlinks=false}
in there.Certain options of
hyperref
must be given very early and can't be changed afterwards. Thecolorlinks
option might be one of them.Supplement:
I just tested this under my TeXLive 2010 installation. With
colorlinks=false
I get the usual colored frame around the hypertext. You might want to activate colors and set them to black: