latex专题一:文献引用 biblatex \usepackage{biblatex}

代码来自,版权所有:https://www.overleaf.com/learn/latex/Bibliography_management_in_LaTeX

另外推荐:https://www.economics.utoronto.ca/osborne/latex/BIBTEX.HTM

此处采用建立.bib文件,然后在latex正文使用该文件的方法。

分为两部分:1.bib文件编辑 2.latex在.tex文件中使用该.bib文件

1.bib文件

该文件包含了你需要引用的所有文献。长这样:

@article{arbelaez2011contour,
  title={Contour detection and hierarchical image segmentation},
  author={Arbelaez, Pablo and Maire, Michael and Fowlkes, Charless and Malik, Jitendra},
  journal={IEEE transactions on pattern analysis and machine intelligence},
  volume={33},
  number={5},
  pages={898--916},
  year={2011},
  publisher={IEEE}
}

我一般是直接在谷歌学术上搜索论文,然后直接点击他的引用。选择bibtex

2.tex文件编辑

看注释

\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage[english]{babel}
 %加上这个包
\usepackage{biblatex}
%在加上你的bib文件,注意如果不在同一个文件夹下需要告知路径
\addbibresource{sample.bib}
 
\begin{document}
Let's cite! The Einstein's journal paper \cite{einstein} and the Dirac's 
book \cite{dirac} are physics related items. 
 %如果要把引用的文件打印出来,一般都用
\printbibliography
 
\end{document}

 

你可能感兴趣的:(tex,使用latex撰写论文)