latex 中参考引用 将bibtex快速转为bibitem格式

这篇博客介绍了如何将BibTeX格式的引用快速转换为bibitem格式,适用于使用本地LaTeX编译器如TeXstudio的用户。步骤包括创建ref.bib文件,编译document.tex,查找生成的引用文件并复制到主文件中。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

优秀教程:https://blog.csdn.net/linhan123321/article/details/130588842

环境:用本地编译软件,比如texstudio,overleaf似乎不行(如果有大佬指导,请教教我!)

第1步:构建ref.bib;内容为引文的bibtext格式


@inproceedings{Wolf2019TransformersSN,
	title={Transformers: State-of-the-Art Natural Language Processing},
	author={Thomas Wolf and Lysandre Debut and Victor Sanh and Julien Chaumond and Clement Delangue and Anthony Moi and Pierric Cistac and Tim Rault and R{\'e}mi Louf and Morgan Funtowicz and Jamie Brew},
	booktitle={Conference on Empirical Methods in Natural Language Processing},
	year={2019},
	url={https://api.semanticscholar.org/CorpusID:208117506}
}

@inproceedings{Wong2020LearningMW,
	title={Learning Model with Error - Exposing the Hidden Model of BAYHENN},
	author={Harry W. H. Wong and Jack P. K. Ma and Donald P. H. Wong and Lucien K. L. Ng and Sherman S. M. Chow},
	booktitle={International Joint Conference on Artificial Intelligence},
	year={2020},
	url={https://api.semanticscholar.org/CorpusID:220483181}
}


@inproceedings{Xie2017ControllableIT,
	title={Controllable Invariance through Adversarial Feature Learning},
	author={Qizhe Xie and Zihang Dai and Yulun Du and Eduard H. Hovy and Graham Neubig},
	booktitle={NIPS},
	year={2017},
	url={https://api.semanticscholar.org/CorpusID:34807644}
}

第2步运行:document.tex

\documentclass{article}
\begin{document}
	\nocite{*}
	\bibliographystyle{alpha}
	\bibliography{ref.bib}
\end{document}

第3步:在你的本地文件夹中找到<document.bbl>文件,用文本文件格式打开。注意,建议在文件夹中寻找该文件。
在这里插入图片描述

\newcommand{\etalchar}[1]{$^{#1}$}
\begin{thebibliography}{WMW{\etalchar{+}}20}

\bibitem[WDS{\etalchar{+}}19]{Wolf2019TransformersSN}
Thomas Wolf, Lysandre Debut, Victor Sanh, Julien Chaumond, Clement Delangue,
  Anthony Moi, Pierric Cistac, Tim Rault, R{\'e}mi Louf, Morgan Funtowicz, and
  Jamie Brew.
\newblock Transformers: State-of-the-art natural language processing.
\newblock In {\em Conference on Empirical Methods in Natural Language
  Processing}, 2019.

\bibitem[WMW{\etalchar{+}}20]{Wong2020LearningMW}
Harry W.~H. Wong, Jack P.~K. Ma, Donald P.~H. Wong, Lucien K.~L. Ng, and
  Sherman S.~M. Chow.
\newblock Learning model with error - exposing the hidden model of bayhenn.
\newblock In {\em International Joint Conference on Artificial Intelligence},
  2020.

\bibitem[XDD{\etalchar{+}}17]{Xie2017ControllableIT}
Qizhe Xie, Zihang Dai, Yulun Du, Eduard~H. Hovy, and Graham Neubig.
\newblock Controllable invariance through adversarial feature learning.
\newblock In {\em NIPS}, 2017.

\end{thebibliography}

第4步:复制对应的引文到你的主文件中使用。例如

\bibitem[WMW{\etalchar{+}}20]{Wong2020LearningMW}
Harry W.~H. Wong, Jack P.~K. Ma, Donald P.~H. Wong, Lucien K.~L. Ng, and
  Sherman S.~M. Chow.
\newblock Learning model with error - exposing the hidden model of bayhenn.
\newblock In {\em International Joint Conference on Artificial Intelligence},
  2020.

嘿嘿,over

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

高山莫衣

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值