I'm writing because I wasn't able to find a solution nor in Google nor here. My question is similar to this one, but that hasn't a solution yet. Is similar to this one too, but it uses beamer and I'm not.
My question is: how can I change the color of the author (only the author) item in my bibliography, which is formatted as follows:
\usepackage[backend=bibtex,style=authoryear,natbib=true,dashed=false,language=italian]{biblatex}
This works fine, but in the Bibliography at the end of the document, I would have the author colored. I mean, only the author, nothing more in the document, which should remain the same.
I tried by adding \textcolor
to the item in the bibliography file:
@article{addicott2006networks,
title={Networks, organizational learning and knowledge management: NHS cancer networks},
author={\textcolor{red}{Addicott, Rachael} and McGivern, Gerry and Ferlie, Ewan},
journal={Public Money and Management},
volume={26},
number={2},
pages={87--94},
year={2006},
publisher={Taylor & Francis},
langid={italian},
}
The result was perfect for the bibliography, but it modifies also the color of the reference in the text, as in the following images:
Does anyone know how to just color the author in the bibliography and leave unaltered in the text?
(I know I'm not providing any MWE, honestly I don't think is necessary in this case. But if needed I will post it.)
Thank you for your time,
R.
UPDATE: sorry guys, here the MWE for what I'm trying to figure out:
\documentclass[12pt]{article}
\usepackage{color}
\usepackage[backend=bibtex,style=authoryear,natbib=true,dashed=false,language=italian]{biblatex}
\addbibresource{biblio.bib}
\begin{document}
Reference I don't want to be coloured \citep{addicott2006networks}
\printbibliography[title={Bibliografia}]
\end{document}
@article{addicott2006networks,
title={Networks, organizational learning and knowledge management: NHS cancer networks},
author={\textcolor{red}{Addicott, Rachael} and McGivern, Gerry and Ferlie, Ewan},
journal={Public Money and Management},
volume={26},
number={2},
pages={87--94},
year={2006},
publisher={Taylor \& Francis},
langid={italian},
}
Best Answer
Assuming you want 'Last, First' names where the comma within the name is to be coloured yet the delimiter between names (either a comma or 'and') is not to be coloured, use
sortname
is the name format used in author-year/author-title-like styles for the labelname.