Remove boxes from hyperlinked ToC in LaTeX

alamodey picture alamodey · Feb 13, 2009 · Viewed 30.8k times · Source

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

Answer

godbyk picture godbyk · Feb 13, 2009

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