TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I know that I can use \usepackage[hidelinks]{hyperref} to turn off borders for all links generated by the hyperref pacakge, but is there a way to turn off borders only for internal links?

share|improve this question
up vote 2 down vote accepted

There are a few options (urlbordercolor, runbordercolor, allbordercolors) that define the boxes, perhaps that is what you are looking for. Also, if you define the color for a class of links, the box dissapears. Look at the hyperref manual, at the end of section 2.

share|improve this answer
yes, but these just set the colour of the border, they don't turn it on and off... – cmhughes Feb 7 '13 at 2:11
If you set the border white? Or invisible? (Next idea is go hacking into the code, and I shudder...) – vonbrand Feb 7 '13 at 2:14
Adding a white border results in artefacts. But, if I use linkcolor=black, that will achieve what I want for the internal links. Thanks! – Fabian Tamp Feb 7 '13 at 7:42
If you got your problem solved, answer your own question and accept it later to close the issue. – vonbrand Feb 7 '13 at 13:39

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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