How do I remove the red boxes from my hyperlinked table of contents created by using the hyperref package in LaTeX.
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.)
colorlinks
\usepackage{hyperref} \hypersetup{ colorlinks, citecolor=black, filecolor=black, linkcolor=black, urlcolor=black }
Version 6.82a of hyperref, released in February 2011, introduced a new hidelinks option that accomplishes this more easily. All you need now is:
hidelinks
\usepackage[hidelinks]{hyperref}
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