书目样式:正文中的名称和年份 + 末尾按字母顺序排列的编号列表

书目样式:正文中的名称和年份 + 末尾按字母顺序排列的编号列表

是否可以在文本中按名称和年份引用,并在末尾按字母顺序排列和编号列表?

答案1

为了帮助您入门,请考虑以下示例:

\documentclass[]{article}

\begin{filecontents}{\jobname.bib}
@inproceedings{paperA,
    booktitle = {Proceedings},
    year = {2003},
    author = {Alpha, Author},
    title = {AAA Title of Paper},
}
@inproceedings{paperB,
    booktitle = {Proceedings},
    year = {2002},
    author = {Bravo, Author},
    title = {BBB Title of Paper},
}
@inproceedings{paperC,
    booktitle = {Proceedings},
    year = {2004},
    author = {Charlie, Author},
    title = {CCC Title of Paper},
}
@inproceedings{paperD,
    booktitle = {Proceedings},
    year = {2001},
    author = {Bravo, Author},
    title = {DDD Title of Paper},
}
@inproceedings{paperE,
    booktitle = {Proceedings},
    year = {2001},
    author = {Bravo, Author},
    title = {BEE Title of Paper},
}
\end{filecontents}

\usepackage[backend=biber,sorting=nyt,style=authoryear]{biblatex}
\addbibresource{\jobname}

% Make numbered
\defbibenvironment{bibliography}
{\enumerate{}
{\setlength{\leftmargin}{\bibhang}%
\setlength{\itemindent}{-\leftmargin}%
\setlength{\itemsep}{\bibitemsep}%
\setlength{\parsep}{\bibparsep}}}
{\endenumerate}
{\item}

\begin{document}

Text citation style:
\begin{itemize}
\item \cite{paperA}
\item \cite{paperB}
\item \cite{paperC}
\item \cite{paperD}
\item \cite{paperE}
\end{itemize}
\printbibliography

\end{document}

它在文本和参考书目中提供了以下样式:

参考书目

要从这里继续前进,请考虑以下资源:

相关内容