1、建立.bib文件
.bib文件中的内容大体如下,(用记事本打开即可),可以直接从谷歌学术导出参考文献,copy到文件中即可。
@article{liang2015bayesian,
title={Bayesian multi-distribution-based discriminative feature extraction for 3D face recognition.},
author={Liang, Ronghua and Shen, Wenjia and Li, Xiaoxin and Wang, Haixia},
journal={Information Sciences},
pages={406--417},
year={2015}
}
2、编译.bib文件
编写ref.tex文件,文件名随意取,内容如下:
\documentclass[preprint,12pt]{elsarticle}
\begin{document}
\nocite{*}
\bibliographystyle{elsarticle-num-names}
\bibliography{references}
\end{document}
elsarticle-num-names表示参考文献模板名,期刊网站下,references表示.bib的文件名,用PDFLaTex编译

3、生成.bbl文件
用BibTex编译完成后。

这篇博客介绍了如何使用LaTeX自动生成bibitem参考文献。首先,创建.bib文件并导入参考文献数据;接着,配置LaTeX模板并编译.bib文件生成.bbl;最后,将.bbl内容粘贴到论文的参考文献部分,编译论文以完成引用的自动插入。


被折叠的 条评论
为什么被折叠?



