Text Formattinghyperref | Get rid of red Boxes around Links

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
psionman
Posts: 30
Joined: Thu Nov 10, 2011 3:33 pm

hyperref | Get rid of red Boxes around Links

Post by psionman »

I am using the hyperref package, but when viewed with acrobat the hyperlinks appear in red boxes. I have

Code: Select all

\usepackage[colorlinks=false]{hyperref}
in my preamble. According to the hyperref wiki page the default for colorlinks is false, but I cannot get rid of them

Can anyone help?

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

hyperref | Get rid of red Boxes around Links

Post by localghost »

You are confusing things. 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. For details refer to the hyperref manual.


Thorsten
psionman
Posts: 30
Joined: Thu Nov 10, 2011 3:33 pm

hyperref | Get rid of red Boxes around Links

Post by psionman »

Thanks localghost

I want to remove the ref boxes for screen viewings based on acrobat (my users complain :? ) even when it's embedded in (say) Chrome.

I've tried

Code: Select all

\usepackage[hidelinks]{hyperref}
but I just get the error
C:\Program Files\MiKTeX 2.8\tex\latex\hyperref\hyperref.sty(3528): Error: Package keyval Error: hidelinks undefined.
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

hyperref | Get rid of red Boxes around Links

Post by localghost »

psionman wrote:[…] I want to remove the ref boxes for screen viewings based on acrobat (my users complain :? ) even when it's embedded in (say) Chrome. […]
That's absolutely clear to me. Get the latest version of the package by update of your TeX distribution. Get used to keeping your TeX distribution including its installed packages up to date. Will spare you a lot of trouble.
psionman
Posts: 30
Joined: Thu Nov 10, 2011 3:33 pm

Re: hyperref | Get rid of red Boxes around Links

Post by psionman »

Thank you -solved :D
bkarpuz
Posts: 124
Joined: Thu Dec 18, 2008 4:53 pm

hyperref | Get rid of red Boxes around Links

Post by bkarpuz »

psionman wrote:I am using the hyperref package, but when viewed with acrobat the hyperlinks appear in red boxes. I have

Code: Select all

\usepackage[colorlinks=false]{hyperref}
in my preamble. According to the hyperref wiki page the default for colorlinks is false, but I cannot get rid of them

Can anyone help?
May be you are looking for \eqref*{} or \ref*{}?
Post Reply