在文章主体内容最后、 \end{document} 之前添加
\begin{document} %%% 此处省略了主体 { \bibliographystyle{IEEEtran} \bibliography{mybib} } \end{document}LaTeX 标准选项及其样式共有以下8种:
plain,按字母的顺序排列,比较次序为作者、年度和标题.unsrt,样式同plain,只是按照引用的先后排序.alpha,用作者名首字母+年份后两位作标号,以字母顺序排序.abbrv,类似plain,将月份全拼改为缩写,更显紧凑.ieeetr,国际电气电子工程师协会期刊样式.acm,美国计算机学会期刊样式.siam,美国工业和应用数学学会期刊样式.apalike,美国心理学学会期刊样式.注:我们一般用 ieeetr (IEEEtran)。
详细说明:
一般都是在谷歌上直接搜索文章后引用,为了避坑,这里罗列一下引用的正确步骤:
谷歌学术–搜索你要的文章,点击查看所有版本:注意:1.arXiv简介:简单来说,为了防止自己的idea在论文被收录前被别人剽窃,我们会将预稿上传到arvix作为预收录,因此这就是个可以证明论文原创性(上传时间戳)的文档收录网站。 2.多版本可引用选择引用量最高的。
找到正确的引用版本后,点击引用符号,选择 BibTeX: 弹跳到一个网页,复制里面的内容,粘贴到论文写作文件夹中 my_bib.bib文件 4.原文中引用: ~\cite{yin2017multi}期刊开头是@article,需要保留 title、author、journal、year这4项,例如:
@article{du2018differential, title={Differential privacy preserving of training model in wireless big data with edge computing}, author={Du, Miao and Wang, Kun and Xia, Zhuoqun and Zhang, Yan}, journal={IEEE Transactions on Big Data}, year={2018} }会议开头是@inproceedings,需要保留 title、author、booktitle、pages、year这5项,例如:
@inproceedings{fredrikson2015model, title={Model inversion attacks that exploit confidence information and basic countermeasures}, author={Fredrikson, Matt and Jha, Somesh and Ristenpart, Thomas}, booktitle={Proceedings of ACM CCS}, pages={1322--1333}, year={2015} }比如上图显示了会议的简称(缩写),当发现自己引用的会议是这样时:
@inproceedings{melis2019exploiting, title={Exploiting unintended feature leakage in collaborative learning}, author={Melis, Luca and Song, Congzheng and De Cristofaro, Emiliano and Shmatikov, Vitaly}, booktitle={2019 IEEE Symposium on Security and Privacy (SP)}, pages={691--706}, year={2019}, organization={IEEE} }显然,这里的 booktitle={2019 IEEE Symposium on Security and Privacy (SP)} 又写了全称又写了简称,而且还多了参数 organization={IEEE},修改后:
@inproceedings{melis2019exploiting, title={Exploiting unintended feature leakage in collaborative learning}, author={Melis, Luca and Song, Congzheng and De Cristofaro, Emiliano and Shmatikov, Vitaly}, booktitle={Proceedings of IEEE S\&P}, pages={691--706}, year={2019}, }注意: 当出版社是IEEE或ACM :booktitle的格式是Proceedings of (出版社) (会议简称) 其他出版社booktitle的格式是Proceedings of (会议简称)
从谷歌复制下来的形式可能是这样:
@article{long2018understanding, title={Understanding membership inferences on well-generalized learning models}, author={Long, Yunhui and Bindschaedler, Vincent and Wang, Lei and Bu, Diyue and Wang, Xiaofeng and Tang, Haixu and Gunter, Carl A and Chen, Kai}, journal={CoRR, arXiv:1802.04889}, year={2018} }需要稍作修改,去掉CoRR,改正后:
@article{long2018understanding, title={Understanding membership inferences on well-generalized learning models}, author={Long, Yunhui and Bindschaedler, Vincent and Wang, Lei and Bu, Diyue and Wang, Xiaofeng and Tang, Haixu and Gunter, Carl A and Chen, Kai}, journal={arXiv:1802.04889}, year={2018} }