
Ich verwende beim Schreiben von Aufsätzen gern elsarticle und zitiere gern die Farben der von Elsevier veröffentlichten Zeitschriften, wie unten gezeigt.
Allerdings kann ich die Citecolor nicht mit dem folgenden Befehl in Latex ändern:
\usepackage[colorlinks=true,linkcolor=black, citecolor=<my_color>, urlcolor=blue]{hyperref}
Darüber hinaus weiß ich auch nicht, welche Farbe es auf dem obigen Bild hat.
Kann mir bitte jemand einen Rat geben, wie das geht?
Vielen Dank.
Antwort1
Sie müssen die Farbe am Anfang des Dokuments festlegen, andernfalls elsarticle
wählen Sie sie selbst.
\begin{filecontents*}{\jobname.bib}
@article{GBU,
author={Eastwood, Clint and Van Cleef, Lee and Wallach, Eli},
title={How to find a tomb with a treasure},
journal={J. Treasure Searching},
year=1966,
}
@article{SLIH,
author={Curtis, Tony and Lemmon, Jack},
title={How to play bass and saxophone},
journal={J. Chicago Mafia},
year=1959,
}
\end{filecontents*}
\documentclass[authoryear]{elsarticle}
\usepackage[x11names]{xcolor}
\usepackage[
colorlinks,
]{hyperref}
\AtBeginDocument{\hypersetup{citecolor=DodgerBlue4}}
\begin{document}
\begin{frontmatter}
\title{A title}
\author{A. Uthor}
\end{frontmatter}
We cite \citet{GBU} \citep{SLIH}.
\bibliographystyle{plainnat}
\bibliography{\jobname}
\end{document}