How can I format (e.g., italic) the field address
for an @report in a biblatex bibliography?
\DeclareFieldFormat[report]{institution+location+date}{\mkbibemph{#1}}
or
\DeclareFieldFormat[report]{address}{\mkbibemph{#1}}
do not work. Update: and neither
\DeclareFieldFormat[report]{location}{\mkbibemph{#1}}
It works for e.g. title
instead of location
though, so it must be something specific to location
.
NB: I know I can include formatting of fields in the .bib file, but I very much prefer a solution along the lines of \DeclareFieldFormat
.
Thanks for any hint!
Update2: MWEB
\documentclass{article}
\usepackage[style=authoryear-comp]{biblatex}
\addbibresource{\jobname.bib}
\usepackage{filecontents}
\begin{filecontents}{\jobname.bib}
@report{key,
author = {Author, A.},
year = {2001},
title = {Title},
location = {My location}
}
\end{filecontents}
\DeclareFieldFormat[report]{location}{\mkbibemph{#1}}
\begin{document}
\nocite{*}
\printbibliography
\end{document}
Result: "My location" is not formatted in italic font.