Introduction
- I want to use
biblatex(biber) inbeamer. - I also want to use the style
authoryear. - In order to have the cite label (e. g.
<Author YYYY>) instead of a symbol in the bibliography, I use\setbeamertemplate{bibliography item}{\insertbiblabel}, see here for example. - Sadly, this causes the error
! Undefined control sequence.\beamer@@tmpl@bibliography item ->\insertbiblabel.
Questions
- Can you reproduce the problem?
- Do you have a solution?
\documentclass{beamer}
\usepackage[
style = authoryear % (un)comment for testing
]{biblatex}%
\addbibresource{biblatex-examples.bib}
\setbeamertemplate{bibliography item}{\insertbiblabel} % (un)comment for testing
\begin{document}
\section{Section}
\begin{frame}
\cite{doody}
\end{frame}
\begin{frame}[allowframebreaks]
\frametitle{References}
\printbibliography
\end{frame}
\end{document}
My system is a up-to-date TeXLive 2020: This is pdfTeX, Version 3.14159265-2.6-1.40.21 (TeX Live 2020/W32TeX) (preloaded format=pdflatex 2021.3.2) 2 MAR 2021 23:22


\setbeamertemplate{bibliography item}{\insertbiblabel}only works if the bibliography list is naturally labelled, forbiblatexthis is the case with thenumericandalphabeticstyles, but not withauthoryear. (Comparestyle=numeric,,style=alphabetic,andstyle=authoryear,with\documentclass{article}to see what it means to be 'naturally labelled'.) Forauthoryearyou can avoid icons with\setbeamertemplate{bibliography item}{}. Note that the result is enough to identify the citation uniquely. Repeating the citation label in the bibliography would be redundant. – moewe Mar 03 '21 at 07:37sigfridsson, about one third of the width of your bibliography slide will be occupied by "Sigfridsson and Ryde 1998". That doesn't make for best space efficiency. – moewe Mar 03 '21 at 07:46alphabeticto get an author-year style and because the output is as it is. – moewe Mar 03 '21 at 07:54alphabeticstyle, which I would find less problematic, but the main conceptual issue of redundancy and waste of space will probably still apply. Anyway, good night! – moewe Mar 03 '21 at 08:00\setbeamertemplate{bibliography item}{[\printfield{labelnumber}]}instead? – Timm Sep 03 '22 at 15:04