Skip to content
Bruce D'Arcus edited this page Aug 20, 2021 · 1 revision

By default, citations with hyperref don't look good at all.

Here's some options for better output, derived from this thread.

This turns all links "MidnightBlue":

\usepackage[dvipsnames]{xcolor}
\newcommand\myshade{85}

\hypersetup{
 colorlinks = true,
 allcolors = MidnightBlue!\myshade!black,
}

Screenshot from 2021-06-03 08-01-44

Or if you want different colors for different links:

\newcommand\myshade{85}
\colorlet{mylinkcolor}{violet}
\colorlet{mycitecolor}{YellowOrange}
\colorlet{myurlcolor}{Aquamarine}

\hypersetup{
  linkcolor  = mylinkcolor!\myshade!black,
  citecolor  = mycitecolor!\myshade!black,
  urlcolor   = myurlcolor!\myshade!black,
  colorlinks = true,
}

Screenshot from 2021-06-03 08-41-28