0

I want change the color of a word in a block. I used colorlinks, but the links will be coloured by the default colour is red.

\hypersetup{
colorlinks=true,
linkcolor=blue,
}


\cventry{08 July 2018}{Machine Learning}{....}{......}{}{
\begin{itemize}%
\item This course provides a broad introduction to......
\item Supervised learning (......).
\item Unsupervised learning (......).
\newline{}
\item \href{https://www.google.com/}{google.com}
\end{itemize}
}

How can I change the color Blue ? Thank you

3
  • 1
    In which block? Please proved a complete MWE.
    – albert
    May 27, 2018 at 17:20
  • The "google.com" is displayed RED I want it's color is Blue.
    – vero
    May 27, 2018 at 17:24
  • 1
    Welcome to TeX.SX! Some minimal working example related informations you can find here: (MWE)
    – Bobyandbob
    May 27, 2018 at 17:37

1 Answer 1

1

linkcolor sets the colour of internal links within the document. If you want to change the colour of \href, you have to change the urlcolor.

\documentclass{article}

\usepackage{hyperref}

\hypersetup{
colorlinks=true,
linkcolor=blue,
urlcolor=blue
}

\begin{document}

\href{https://www.google.com/}{google.com}


\end{document}

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .