Generalhightlight cross-ref and urls

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
carol
Posts: 105
Joined: Wed Dec 24, 2008 7:25 pm

hightlight cross-ref and urls

Post by carol »

Hi,
I use hyperref package to hyperlink the cross-references and urls. I would like to highlight the cross references and url, either in color or not, without having a box around the text like the table of contents of the manual of hyperref package. So I tried in two ways (see below) but doesn't work. What would you suggest?

thanks

Code: Select all

\usepackage[colorlinks=false, 
           pdfhighlight =/O]{hyperref}

Code: Select all

\usepackage{hyperref}
\hypersetup{pdfhighlight =/O}

Recommended reading 2024:

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

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

frabjous
Posts: 2064
Joined: Fri Mar 06, 2009 12:20 am

hightlight cross-ref and urls

Post by frabjous »

Actually you want colorlinks=true -- that will make the links be a certain color instead of having a box around them.

Code: Select all

\usepackage[colorlinks=true,%
linkcolor=blue,% or whatever
urlcolor=red,% or whatever
]{hyperref}
You can set the color to black if you don't want the links to be obvious, but they'll still work.
Post Reply