Text FormattingHyperref makes references green

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
jgassens
Posts: 14
Joined: Sat Dec 20, 2008 3:06 am

Hyperref makes references green

Post by jgassens »

Hyperref makes the references in my document green. I put this in my preamble:

Code: Select all

\hypersetup{%
  colorlinks=true,
  urlbordercolor={1 1 1},
  linkcolor={black},
  raiselinks=false
}
But it appears not to absolve hyperref of its need to change the color. In any regard, it prints out poorly so it can't be green (unless there is a way to force all hyperref'd links to print black)...

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics TikZによるLaTeXグラフィックス
User avatar
localghost
Site Moderator
Posts: 9201
Joined: Fri Feb 02, 2007 12:06 pm

Hyperref makes references green

Post by localghost »

You can influence the color of citaton links individually by giving an option to the hyperref package.

Code: Select all

\hypersetup{%
  citecolor=black
}
See the manual (Section 3.4 - Extension options, p. 5f) for further information.


Best regards
Thorsten¹
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes[/size]

¹ System: openSUSE 42.2 (Linux 4.4.52), TeX Live 2016 (vanilla), TeXworks 0.6.1
Post Reply