# [Tex/LaTex] How to get numbered entries in a beamer bibliography

beamerbibliographies

Instead of the default icons or the text option, I would like to have numbered entries in my bibliography.

\setbeamertemplate{bibliography item}{}

to get rid of the icons, but can't figure out how to get numbers to display in their place. The references in the content slides are numbered, but without the corresponding number in the bibliography it's not very helpful.

MWE:

\documentclass[t]{beamer}

\setbeamertemplate{bibliography item}{}
\setbeamertemplate{frametitle continuation}[from second]

\setbeamertemplate{footline}{
\hspace*{0.1cm}
\text{short title}
\hspace{1cm}
\insertshortauthor
\hspace{3.5cm}
\hfill
/
\hspace{0.1cm}
}

\title{a title}
\author[me]{my full name}
\institute{where I work}
\date{today}

\begin{document}

\begin{frame}
\titlepage
\end{frame}

\begin{frame}
\frametitle{1st slide}
Some text. \cite{ref_1} More interesting text. \cite{ref_2} Some even more interesting stuff. \cite{ref_3}
\end{frame}

\begin{frame}[allowframebreaks]
\frametitle{References}
\tiny{\bibliographystyle{abbrv} }
\bibliography{refs}
\end{frame}

\end{document}


Bib file:

@inproceedings{ref_1,
title={title 1},
author={A. Author},
booktitle={book title},
year={2010}
}
@article{ref_2,
title={title 2},
author={B. Author},
journal={Journal},
volume={35},
number={10},
pages={1217--1256},
year={2010},
publisher={Publisher}
}
@incollection{ref_3,
title={title 3},
author={C. Author},
booktitle={book title},
pages={595--606},
year={2012},
publisher={publisher}
}


Resulting bibliography:

This works independently of the bibliography style, and with biblatex as well.

According to the beamer documentation, subsection 10.6, you can use

\setbeamertemplate{bibliography item}{\insertbiblabel}


\setbeamertemplate{bibliography item}{}


so that the bib label is inserted for each bib item.

The result is:

This works in the particular case of the OP, because using the bibliography style abbrv, \insertbiblabel inserts [\theenumiv].

I think the beamer class uses the counter enumiv to number the items in the thebibliography environment as the standard classes.

So, substituting the line

\setbeamertemplate{bibliography item}{}


with

\setbeamertemplate{bibliography item}{[\theenumiv]}


you should obtain what you want: