I use a (biblatex+biber) style=authoryear
bibliography, and do my citations using \footcite{}
. I like the way this looks when citing. However, in the bibliography I want the item bullets to be numbers like you can do when using the numbered style (as is explained in How do I get numbered entries in a beamer bibliography). How can I do the same thing, but using the footcite counter instead.
Requested minimal example: I want the output produced by the code below, except I want the bibliography to have an item bullet [i]
where i is the number of the foot citation (instead of the document icon).
\documentclass{beamer}
\usepackage[backend=biber,
style=authoryear,
sorting=none,
bibencoding=ascii
]{biblatex}
\usepackage{filecontents}
\begin{filecontents*}{\jobname.bib}
@book{Knu86,
author = {Knuth, Donald E.},
year = {1986},
title = {The \TeX book},
}
@book{Aut,
author = {Author, A.},
year = {2000},
title = {A book},
}
\end{filecontents*}
\addbibresource{\jobname.bib}
% \setbeamertemplate{bibliography item}{???} % Insert something that hopefully magically fixes everything.
\begin{document}
\begin{frame}
Citation one \footcite{Knu86}
\end{frame}
\begin{frame}
Citation two \footcite{Aut}
\end{frame}
\begin{frame}
\frametitle{References}
\printbibliography
\end{frame}
\end{document}
Note that including \setbeamertemplate{bibliography item}{\insertbiblabel}
would have been the solution if I had used style=authoryear
.
Only footcite is used to for citations and bibliography entries are never cited twice. There is a clear one to one map from footcite numbering and the bibliography numbering so I'm hoping that a Tex expert knows how to make this work.
Best Answer
Try this
Essentially we combine
authoryear
andnumeric
as in Combining style numeric with style authoryear in BibLaTeX, furthermore, we use\supercite
to give us a footnote with the citation number. The code for theay
macros is fromauthoryear.cbx
. Numbers are printed in the bibliography thanks to How do I get numbered entries in a beamer bibliography