i want to cite multiple references in one bracket on my beamer slide. For example, instead of [1], [2], [3] i want to have [1-3]. In my regular latex document, this seems to work by using the cite package, however, i can't figure out how to achieve the same with latex beamer.
Here is my example code. Note that I have a separate .bib file with entries like:
@article{cite1,
title={Test},
author={Test},
year={1960}
}
This is my root document:
\documentclass[professionalfont, 10pt,aspectratio=169]{beamer}
\usepackage{cite}
\begin{document}
\begin{frame}{Test}
\cite{cit1,cit2,cit3} % gives [1], [2], [3]
\end{frame}
\section{References}
\begin{frame}[allowframebreaks]
\tiny
\bibliography{ref}
% If too many references, use this command to resize:
\tiny\bibliographystyle{ieeetr}
\end{frame}
\end{document}
[1, 2, 3]instead of[1], [2], [3]which you claim to get. – leandriis Oct 16 '21 at 13:45