Document ClassesHow can I remove colored cyan or red links with hyperref

Information and discussion about specific document classes and how to create your own document classes.
Post Reply
Clara
Posts: 2
Joined: Sun Apr 06, 2008 1:57 pm

How can I remove colored cyan or red links with hyperref

Post by Clara »

Hello!

I need help with hyperlinks in beamer. I am preparing a presentation with beamer in WinEdt.

When I compile the document to a pdf file there is a cyan border around all the links, for example in the navigation bar. I don't know how to change it or delete.

I don't know if it is a problem with hyperref or xcolor.

Somebody knows how could I delete these horrible rectangles?

Thank you very much in advance!

Clara

Recommended reading 2024:

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

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

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

How can I remove colored cyan or red links with hyperref

Post by localghost »

Refer to the documentation of hyperref and look for head-words like colorlinks and linkcolor.


Best regards
Thorsten¹
User avatar
Stefan Kottwitz
Site Admin
Posts: 10323
Joined: Mon Mar 10, 2008 9:44 pm

How can I remove colored cyan or red links with hyperref

Post by Stefan Kottwitz »

Hi Clara,

you may also look for pdfborder inside the hyperref manual. I remember using pdfborder={0 0 0} (without colorlinks) to eliminate the border around the hyperlinks.

Stefan
Clara
Posts: 2
Joined: Sun Apr 06, 2008 1:57 pm

Re: problem with Hyperref-beamer

Post by Clara »

hi! Thanks both for your answers.

I included the instruction pdfborder as you said and the rectangule disapeared in the dvi view but not in the pdf file :-(.

I have also written "colorlinks=false" but it makes the same.

I have tested several options but I cannot find the correct one...

Regards.

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

How can I remove colored cyan or red links with hyperref

Post by localghost »

Clara wrote:[…] I have also written "colorlinks=false" but it makes the same. […]
I never said to use this option like that (since this is default). Therefore I mentioned the second option.

Code: Select all

\usepackage[colorlinks=true,linkcolor=black]{hyperref}
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
User avatar
Stefan Kottwitz
Site Admin
Posts: 10323
Joined: Mon Mar 10, 2008 9:44 pm

How can I remove colored cyan or red links with hyperref

Post by Stefan Kottwitz »

Hi Clara,

if you provide a Infominimal working example, just a compilable document with your preamble and one frame showing a hyperlink that gets the border in the pdf, then we probably could give you very specific help.

Btw. you can use the hidelinks option:

Code: Select all

\usepackage[hidelinks]{hyperref}
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
or, alternatively:

Code: Select all

\hypersetup{hidelinks}
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Stefan
Post Reply