Generalhyperref | Border Color of Links

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
manojg
Posts: 24
Joined: Thu Apr 28, 2011 3:20 am

hyperref | Border Color of Links

Post by manojg »

Hi,

I am using

Code: Select all

\usepackage[breaklinks]{hyperref}
and I am trying to change the color of the links by following:

Code: Select all

\hypersetup{
  colorlinks=true,
  citecolor=blue,
  linkcolor=black,
  urlcolor=blue
}
I works, it changes the linked text color in the references to "blue", ulr color of the reference to "blue" and linked text color in toc and list-of-figure to black as I expected.

Now, I want to add red border around the link in toc and list-of-figure only. I used this:

Code: Select all

\hypersetup{
  urlbordercolor=red,
  linkbordercolor=red,
  citebordercolor=red,
  runbordercolor=red,
  citebordercolor=red,
  filebordercolor=red
}
But, it does not work. Any ideas?

I want to add one more question: how can I create the mirror text like title on the http://www.texniccenter.org/ web page? It looks like created by latex.

Thanks.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
TikZ book
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

hyperref | Border Color of Links

Post by localghost »

As far as I know, you can only have either colored links or framed links with a certain border color. Both won't go together.
manojg wrote:[…] how can I create the mirror text like title on the http://www.texniccenter.org/ web page? It looks like created by latex. […]
This question covers another area. Hence you should open a new topic.


Best regards and welcome to the board
Thorsten
Post Reply