I have a document where I want to use underlined PDF hyperlinks for the most part, but in one certain part, I need boxed PDF hyperlinks again.

I know that \hypersetup{pdfborderstyle={/S/U/W 1}} causes the underlining, and that \hypersetup{pdfborderstyle={}} makes all PDF hyperlinks invisible. But how do I revert to the default boxes?

1 Answer 1


Use \hypersetup{pdfborderstyle={/W 1}} from the point after which you want to have the default boxed PDF hyperlinks. The W stands for width.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .