How to change font color for hyperlinks
1,499
In order to change the color of hyperlinks you first need to load the hyperref
package. Then, the set up of colors is possible with the following command \hypersetup{colorlinks=true,citecolor=blue,linkcolor=blue,linktocpage=true}
Related videos on Youtube
Author by
Peter Grill
Updated on September 01, 2020Comments
-
Peter Grill about 3 years
I'm rather new to the LaTex system. Can anyone help me with instructions on how to change the font color to blue for a hyperlink? thanks! I've added
\hypersetup{urlcolor=blue}
to the preamble how should I now define the hyper references in the other files?-
Mico about 7 yearsPlease clarify what you mean by "in the other files". E.g., do you have a main or "driver" file as well as other files that are loaded from the driver file and contain the body of the document? Please advise.
-
Peter Grill about 7 yearsWelcome to TeX.SE. It is always best to compose a fully compilable MWE that sets up the problem including the
\documentclass
and the appropriate packages so that those trying to help don't have to recreate it. This will also serve as a test case and ensure that the solution actually works for you and go a long way towards eliminating any confusion in how you are actually applying the\hypersetup
. -
Admin about 7 yearsI am confused by your comment about "other files" but I think that you just want
\hypersetup{colorlinks = true,linkcolor =blue}
. See the hyperref manual for more options such ascitecolor
-