Reputation: 14938
How do I remove the red boxes from my hyperlinked table of contents created by using the hyperref package in LaTeX.
Upvotes: 60
Views: 45191
Reputation: 429
Version 6.82a of hyperref, released in February 2011, introduced a new hidelinks
option that accomplishes this more easily. All you need now is:
\usepackage[hidelinks]{hyperref}
Upvotes: 33
Reputation: 234
I realize it's a bit late to answer but there's a simpler way, in my experience
\usepackage[colorlinks=true]{hyperref}
This will shift hyperref from ugly borders to link coloring, which is what you usually want. See here for more options:
http://en.wikibooks.org/wiki/LaTeX/Hyperlinks
Upvotes: 10
Reputation: 14938
\usepackage{hyperref}
\hypersetup{
colorlinks,
citecolor=black,
filecolor=black,
linkcolor=black,
urlcolor=black
}
Upvotes: 41
Reputation: 8529
To remove the borders:
\hypersetup{%
pdfborder = {0 0 0}
}
The colorlinks
option will turn on the link colors and also remove the borders. (This is why alamodey set all the link colors to black.)
Upvotes: 67