# Red box around \nameref{} [duplicate]

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

• Dec 19, 2010 at 14:49
• Just use \RequirePackage[colorlinks=true]{hyperref}. As this question is a duplicate it should be closed. Dec 19, 2010 at 15:25