菜鸟笔记
提升您的技术认知

latex插入参考文献的方法(两种全)-ag真人游戏

本人在使用latex的过程中,经常会遇到插入参考文献的问题,特此在这里总结起来,主要是为了方便自己查找和copy来直接用,也希望对于大家有用!

第一种方法

添加.bib文件,关于.bib文件的生成,只需要在latex中新建一个文件,然后把每一个参考文献在谷歌学术搜到的引用(谷歌学术搜到论文后点击那个小逗号)添加进去即可,如下:


生成的bib格式如下,其中文献名称可以自由更改

然后在文章中使用以下语句:

\bibliographystyle{
  unsrt} //参考文献格式,可自由调整!
\bibliography{
  refs}

之后在文章中使用\cite{reference}即可,例如~\cite{2017nni}。

第二种方法

至于为什么要介绍第二种方法,说来也是无奈啊,按照道理来讲第一种方法非常的方便,但是有时候你架不住人家期刊会议要求多啊,人家规定了参考文献的格式就只能是一种,而第一种方法又不适合。

所以这里直接上第二种方法的代码:

\begin{
  thebibliography}{
  10}//代表最多可以插入多少参考文献
\bibitem{
  1993}c. s. lent, p. d. tougaw, w. porod, and g. h. bernstein, ``quantum cellular automata," nanotechnology, vol. 4, no. 1, pp. 49, 1993.
\bibitem{
  2017nni}a. bharti and a. sharma, ``implementation of exor gate using qca with nni logic," ieee wispnet, pp. 2027-2031, 2017.
\bibitem{
  1961}r. landauer, "irreversibility and heat generation in the computing process," ibm journal of research and development, vol. 5, no. 3, pp. 183-191, 1961.
\bibitem{
  nni-eq} k. das and d. de, ``characterization, test and logic synthesis	of novel conservative and reversible logic gates for qca," international journal of nanoscience, vol. 9, no. 3, pp. 201-214, 2010.
\bibitem{
  2019base}j. c. das and d. de, ``novel design of reversible priority encoder in quantum dot cellular automata based on toffoli gate and feynman gate," the journal of supercomputing, vol. 75, no. 10, pp. 6882-6903, 2019.
\bibitem{
  qcadesigner}k. walus, t. j. dysart, g. a. jullien, and r. a. budiman, ``qcadesigner: a rapid design and simulation tool for quantum-dot cellular automata," ieee trans. nanotechnol., vol. 3, no. 1, pp. 26-31, 2004.
\end{
  thebibliography}

最后向第一种方法一样,直接在文章中使用使用\cite{reference}即可,例如~\cite{2017nni},即可引用文章并且能自动生成参考文献及引用顺序。

网站地图