I am using the authoryear-icomp
biblatex style. For some publications by institutions with long names, I would like to use shortauthor
. However, the style authoryear-icomp
simply uses shortauthor
from the first citation onwards, like so:
I would like it to work as it does in style=apa
, which uses the full author name for the first citation and introduces the short name in square brackets, which it then uses for all further citations (even for other publications of the same author).
This is the output if I change the style to apa
:
Is there any way to achieve this behaviour with authoryear-icomp
?
This is the MWE:
\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage[style=authoryear-icomp, % alternatively: style=apa
bibstyle=authoryear,
autocite=inline,
backend=biber
]
{biblatex}
\usepackage{filecontents}
\begin{filecontents*}{testbib.bib}
@online{test1,
author = {{Institution Long Name}},
shortauthor = {ILN},
title = {Test title},
year = {2020}
}
@online{test2,
author = {{Institution Long Name}},
shortauthor = {ILN},
title = {Another test title},
year = {2020}
}
\end{filecontents*}
\addbibresource{testbib.bib}
\begin{document}
Citation number one \autocite{test1}.
Citation number two \autocite{test1}.
Third citation with a different publication by the same author \autocite{test2}.
\end{document}
style=authoryear-icomp,
. So I suggest you check out tex.stackexchange.com/a/449082/35864 because as I understand it your question is pretty much answered by the solution there.author
field and divides it in long and short name parts. My whole bib file, however, uses theshortauthor
field, so I imagine it would not work 'out of the box' without adapting my bib?