[Tex/LaTex] Use ampersand & in citations and bibliography in biblatex

biblatex

With biblatex and biber, citations in the text and the entries in the bibliography use the word and before the last author by default. I would like to replace this with the ampersand &. My question is very similar to this question, except I would like to use & both in citations and in the bibliography. I assume therefore that there might be a simpler solution than what the answers to that question suggest. Presumably some line in the preamble should take care of this?

Best Answer

The original definition of \finalnamedelim may be found in biblatex.def:

\newcommand*{\finalnamedelim}{%
  \ifnumgreater{\value{liststop}}{2}{\finalandcomma}{}%
  \addspace\bibstring{and}\space}

Replace \bibstring{and} with \& and you're set:

\documentclass{article}

\usepackage[style=authoryear]{biblatex}

\renewcommand*{\finalnamedelim}{%
  \ifnumgreater{\value{liststop}}{2}{\finalandcomma}{}%
  \addspace\&\space}

\usepackage{filecontents}

\begin{filecontents}{\jobname.bib}
@misc{A01,
  author = {Author, A. and Buthor, B. and Cuthor, C.},
  year = {2001},
  title = {Alpha},
}
\end{filecontents}

\addbibresource{\jobname.bib}

\begin{document}

Some text \autocite{A01}.

\printbibliography

\end{document}

enter image description here

(The additional \addcomma in the code snippet provided in the linked question is superfluous; the respective punctuation should be handled by redefining \finalandcomma.)