views:

828

answers:

2

How do I remove the red boxes from my hyperlinked table of contents created by using the hyperref package in LaTeX.

+5  A: 
\usepackage{hyperref}
\hypersetup{
    colorlinks,
    citecolor=black,
    filecolor=black,
    linkcolor=black,
    urlcolor=black
}
alamodey
You don't need comment chars in keyval lists :)
Will Robertson
+5  A: 

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.)

godbyk