latex模板列出所有参考文献并加上超链接(xiaoming et al. 2022; xiaohong et al. 2021)

列出所有参考文献并加上超链接

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.

效果展示
latex模板列出所有参考文献并加上超链接(xiaoming et al. 2022; xiaohong et al. 2021)_第1张图片

2. 加et al. 后边的超链接

 \usepackage[numbers,sort&compress]{natbib} 

效果展示
latex模板列出所有参考文献并加上超链接(xiaoming et al. 2022; xiaohong et al. 2021)_第2张图片
但是还缺少年份

3. 显示参考文献年份

\bibliographystyle{plainnat}

效果展示
latex模板列出所有参考文献并加上超链接(xiaoming et al. 2022; xiaohong et al. 2021)_第3张图片

================================================
END

你可能感兴趣的:(latex,论文,latex,论文)