This post shows a nice way of selecting the icon according to the type of reference. However, beyond showing the type I would like to include the numbering to be emphatic.
This is an example of the output I would like.

A minimal working example (MWE).
Code: Select all
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%\begin{filecontents}{refs.bib}@Book{Kuttruff2007,author = {Heinrich Kuttruff},publisher = {Taylor \& Francis},title = {Acoustics: an introduction},year = {2007},isbn = {0203970896},}\end{filecontents}%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%\documentclass[aspectratio=169]{beamer}\usepackage[backend=biber, bibstyle=numeric, citestyle=numeric, sorting=none]{biblatex}\addbibresource{refs.bib}%% Set the icons\setbeamertemplate{bibliography item}{%\ifboolexpr{ test {\ifentrytype{book}} or test {\ifentrytype{mvbook}}or test {\ifentrytype{collection}} or test {\ifentrytype{mvcollection}}or test {\ifentrytype{reference}} or test {\ifentrytype{mvreference}} }{\setbeamertemplate{bibliography item}[book]}{\ifentrytype{online}{\setbeamertemplate{bibliography item}[online]}{\setbeamertemplate{bibliography item}[article]}}%\usebeamertemplate{bibliography item}}\defbibenvironment{bibliography}{\list{}{\settowidth{\labelwidth}{\usebeamertemplate{bibliography item}}%\setlength{\leftmargin}{\labelwidth}%\setlength{\labelsep}{\biblabelsep}%\addtolength{\leftmargin}{\labelsep}%\setlength{\itemsep}{\bibitemsep}%\setlength{\parsep}{\bibparsep}}}{\endlist}{\item}\title[Example]{Beamer example}%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%\begin{document}
This is a crosspost from TEX Stackexchange.