I need to set the same color as in the two screenshots:
As you can see, theorems and figures numbers are in blue, cites in red and the toc is in black with its number in blue. How can achieve this combination?
These are the parameters I've got to change:
{\hypersetup{
colorlinks=true,
linkcolor=black,
filecolor=blue,
urlcolor=blue,
citecolor=blue,
%pdfpagemode=FullScreen,
}
\documentclass{book}
\usepackage{xcolor}
\colorlet{RED}{black} % don't color running headers
\colorlet{BLUE}{black}
\usepackage[titles]{tocloft}
\renewcommand{\cftchappresnum}{\color{red}}
\renewcommand{\cftchappagefont}{\bfseries\color{red}}
\begin{document}
\frontmatter
\tableofcontents
\mainmatter
\chapter[\color{red}This is the first chapter]{This is the first chapter}
\section{section}
\section{section}
\section{section}
\end{document}




\documentclass{...}and ending with\end{document}. – DG' Nov 03 '19 at 20:22\Blinddocumentfrom blindtext with the relevant parts of your preamble to make something to play with. – DG' Nov 03 '19 at 20:47