忿忿的泥巴坨 发表于 2024-9-7 07:18:52

【overleaf】利用`.bib`文件管理参考文献

【overleaf】利用.bib文件管理参考文献

此文章为个人学习过程中的记录,仅供参考,欢迎讨论
latex模版

利用的是IEEEtran
原模版关于参考文献的代码

官方模版中关于参考文献的latex代码
\begin{thebibliography}{1}

\bibitem{ams}
{\it{Mathematics into Type}}, American Mathematical Society. Online available:

\bibitem{oxford}
T.W. Chaundy, P.R. Barrett and C. Batey, {\it{The Printing of Mathematics}}, Oxford University Press. London, 1954.

\bibitem{lacomp}{\it{The \LaTeX Companion}}, by F. Mittelbach and M. Goossens

\bibitem{mmt}{\it{More Math into LaTeX}}, by G. Gr\"atzer

\bibitem{amstyle}{\it{AMS-StyleGuide-online.pdf,}} published by the American Mathematical Society

\bibitem{Sira3}
H. Sira-Ramirez. ``On the sliding mode control of nonlinear systems,'' \textit{Systems \& Control Letters}, vol. 19, pp. 303--312, 1992.

\bibitem{Levant}
A. Levant. ``Exact differentiation of signals with unbounded higher derivatives,''in \textit{Proceedings of the 45th IEEE Conference on Decision and Control}, San Diego, California, USA, pp. 5585--5590, 2006.

\bibitem{Cedric}
M. Fliess, C. Join, and H. Sira-Ramirez. ``Non-linear estimation is easy,'' \textit{International Journal of Modelling, Identification and Control}, vol. 4, no. 1, pp. 12--27, 2008.

\bibitem{Ortega}
R. Ortega, A. Astolfi, G. Bastin, and H. Rodriguez. ``Stabilization of food-chain systems using a port-controlled Hamiltonian description,'' in \textit{Proceedings of the American Control Conference}, Chicago, Illinois, USA, pp. 2245--2249, 2000.

\end{thebibliography}
得到如下所示的参考文献
https://img-blog.csdnimg.cn/img_convert/2a23aeb0b25f1af2965e23559f42c744.png
我对这这种参考文献的写法不太熟悉,所以研究了一下利用.bib文件来管理参考文献目录,特作此记录。
利用.bib文件管理参考文献目录

我检索了很多博客说的很复杂,我也跟着做了很多错误操纵,其实很简朴
overleaf中创建.bib文件,名字恣意但要与代码中划一,我这里叫做test.bib
向test.bib文件中参加参考文献的bibTex格式,参考文献的bibTex格式的获得方式如下
https://img-blog.csdnimg.cn/direct/4fa07d78e41842f08f8b6be8b602f72c.png#pic_center
@inproceedings{ortega2000stabilization,
title={Stabilization of food-chain systems using a port-controlled Hamiltonian description},
author={Ortega, Romeo and Astolfi, Alessandro and Bastin, George and Rodriguez, Hugo},
booktitle={Proceedings of the 2000 American Control Conference. ACC (IEEE Cat. No. 00CH36334)},
volume={4},
pages={2245--2249},
year={2000},
organization={IEEE}
}

@article{fliess2008non,
title={Non-linear estimation is easy},
author={Fliess, Michel and Join, C{\'e}dric and Sira-Ramirez, Hebertt},
journal={International Journal of Modelling, Identification and Control},
volume={4},
number={1},
pages={12--27},
year={2008},
publisher={Inderscience Publishers}
}
以上面2篇文章为例,ortega2000stabilization和fliess2008non表示论文的label,用于正文中的交叉引用\cite{ortega2000stabilization}和\cite{fliess2008non},
别的,在你必要显示参考文献的位置写上两行代码,


[*]第一行代码表示参考文献利用什么格式显示,
[*]第二行代码表示你存储参考文献信息的文件(上文中的test.bib),就是告诉编译器你正文中的引用应该去哪个.bib文件中找
\bibliographystyle{IEEEtran}
\bibliography{test}
到此就结束了,就这么简朴,不必要添加任何多余的内容
页: [1]
查看完整版本: 【overleaf】利用`.bib`文件管理参考文献