I want to add a border around my internal references and citation. I have tried what is suggested in this post.
Here is my header
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage{xcolor}
\usepackage{hyperref}
\hypersetup{backref=true,
pagebackref=true,
hyperindex=true,
colorlinks=true,
breaklinks=true,
urlcolor= black,
linkcolor= blue,
bookmarks=true,
bookmarksopen=false,
citecolor=black,
linkcolor=black,
filecolor=black,
citecolor=blue,
linkbordercolor=blue
}
\title{test}
\usepackage{natbib}
\usepackage{graphicx}
\begin{document}
\maketitle
\section{Introduction}
\begin{align}\label{eq:1}
\ln(ab)=\ln(a) + \ln(b)
\end{align}
my equation is \ref{eq:1}
\end{document}
While the citation colour did change to blue, there is no blue border around equation and figure references.
Do I have to set a parameter to TRUE like colorlinks to enable the link border to be visible.

hyperrefexplicitly checks at\begin{document}whethercolorlinksis set to true, and if so, setpdfborderto{0 0 0}. Maybe one way to go around this is to pass\AtBeginDocument{\hypersetup{pdfborder={0 0 1}}}again. – Troy Jul 28 '17 at 08:02