I am beginner in LaTeX, and experimenting with moderncv
. I find that the hyperkink of the email is of the same light blue color as the surrounding info, failing to make clear that it is an hyperlink. A darker blue would be ideal. I have found below that one way to change this was to make a copy (and edit the copy) of the file moderncv.cls
, into ie my moderncv.cls
. I edited the two last lines below, and used the class mymoderncv
but there is no change. I have tried the other suggestions without results either.
What is the correct procedure, if any?
Link formatting: colors, underlines in moderncv
\AtBeginDocument{
\hypersetup{
breaklinks,
baseurl = http://,
pdfborder = 0 0 1,
linkcolor = red
Best Answer
You can just wrap your
\hypersetup
command in\AtBeginDocument{...}
. No need to fiddle with the.cls
file:If you want to get underlined links, you can adapt the solution from How can I have colored and underlined links with hyperref?: