[Tex/LaTex] Hypersetup to underline only cite texts

hyperref

Is there a way to only box my cite or underline only my cite?

I dont want to change the font color of my cite or anything. Is there a way to do that with hypersetup? In the image below, I just want the cite text to be underlined or boxed with a color. How to do it?

Gustaffson and Webb

Best Answer

Based on this post by using

\usepackage{hyperref}

\hypersetup{colorlinks=false,linkbordercolor=red,linkcolor=green,pdfborderstyle={/S/U/W 1}}

linkbordercolor=red, hyperlink borders will be red

pdfborderstyle={/S/U/W 1} border style will be underline of width 1pt

Related Question