The red boxes (borders) you see in your PDF viewer are just marks, and not colored links. They will not appear in the printed document. Set »colorlinks=true« to see the difference. If you want to get rid of them also in the PDF output, try the »hidelinks« option.
You can add a hyperlink into your LaTeX article using the command \usepackage{hyperref} and then including the command \href{YOUR URL}{TEXT FOR YOUR HYPERLINK}.
To remove the borders:
\hypersetup{%
pdfborder = {0 0 0}
}
The colorlinks
option will turn on the link colors and also remove the borders. (This is why alamodey set all the link colors to black.)
\usepackage{hyperref}
\hypersetup{
colorlinks,
citecolor=black,
filecolor=black,
linkcolor=black,
urlcolor=black
}
Version 6.82a of hyperref, released in February 2011, introduced a new hidelinks
option that accomplishes this more easily. All you need now is:
\usepackage[hidelinks]{hyperref}
I realize it's a bit late to answer but there's a simpler way, in my experience
\usepackage[colorlinks=true]{hyperref}
This will shift hyperref from ugly borders to link coloring, which is what you usually want. See here for more options:
http://en.wikibooks.org/wiki/LaTeX/Hyperlinks
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With