另请参阅此答案,它提供了使用biblatex
及其类别系统的技巧:
\documentclass{article}
\usepackage{filecontents}
\usepackage{biblatex}
\begin{filecontents*}{\jobname.bib}
@misc{Gyro2012,
author = {Gearloose, Gyro},
title = {1st paper with a very loooooooooooong title, so it spans multiple rows},
}
@misc{Gyro2013,
author = {Gearloose, Gyro},
title = {2nd paper},
}
@misc{Stark2012,
author = {Stark, Anthony Edward},
title = {3rd paper},
}
@misc{Stark2013,
author = {Stark, Anthony Edward},
title = {4th paper},
}
\end{filecontents*}
\addbibresource{\jobname.bib}
\DeclareBibliographyCategory{enumpapers}
\newcommand{\enumcite}[1]{%
\addtocategory{enumpapers}{#1}%
\defbibcheck{key#1}{
\iffieldequalstr{entrykey}{#1}
{}
{\skipentry}}%
\printbibliography[heading=none,check=key#1]%
}
\begin{document}
\nocite{*}
\begin{enumerate}
\item \enumcite{Gyro2012}
\setcounter{enumi}{9} % Two digits to test alignment
\item \enumcite{Gyro2013}
\end{enumerate}
\printbibliography[notcategory=enumpapers]
\end{document}