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

  • 2
    What do you mean by 'only'? Loading hyperref without any options like colorlinks (and related) will make citations appear in a coloured box --- but so will things like \ref and \pageref and figures. Do you want to disable hyperlinking for those last three? – jon Mar 30 '13 at 20:47
  • 1
    you could take a look at this post: [tex.stackexchange.com/q/26071/27833][1] [1]: tex.stackexchange.com/q/26071/27833 – Mario S. E. Mar 31 '13 at 0:02

Based on this post by using


\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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.