列出所有参考文献并加上超链接
1. 列出所有参考文献
以下面段话为例
\section{Introduction}
This is the first preference
X1 (Vaswani et al. \citeyear{vaswani2017attention}) good good good.
With Overleaf, all the formatting and numbering is handled automatically according to the template you've chosen.
There are some preferences (Tu et al. \citeyear{tu2016modeling}; Shaw et al. \citeyear{shaw2018self}),
you can also create new section and subsections
via the buttons in the editor toolbar.
效果展示
2. 加et al. 后边的超链接
\usepackage[numbers,sort&compress]{natbib}
效果展示
但是还缺少年份
3. 显示参考文献年份
\bibliographystyle{plainnat}
效果展示
================================================
END