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

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.