Possible Duplicate:
Remove ugly borders around clickable crossreferences and hyperlinks
\usepackage{hyperref}
\section{some text} \label{reftext}
.
.
\nameref{reftext}
Usage of \nameref{}
creates a red box around the section header. Is it possible to replace the box with underline or just highlight the test to show that it is hyper-linked.
When I create a TOC for sections it puts a same redbox around the section headings in TOC
thanks
Aku
\RequirePackage[colorlinks=true]{hyperref}
. As this question is a duplicate it should be closed.