添加引用需要额外添写一个文件ieetutorial.bib
%一条引用记录,直接从谷歌学术copy就好
@article{hart1968formal,
title={A formal basis for the heuristic determination of minimum cost paths},
author={Hart, Peter E and Nilsson, Nils J and Raphael, Bertram},
journal={IEEE transactions on Systems Science and Cybernetics},
volume={4},
number={2},
pages={100--107},
year={1968},
publisher={IEEE}
}
\documentclass[conference, 12pt]{IEEEtran}
\usepackage{xeCJK}
\usepackage{fontspec}
\setmainfont{Times New Roman}
%这里添加引用包
\usepackage{cite}
\begin{document}
\title{论文题目}
\author{\IEEEauthorblockN{名字}\IEEEauthorblockA{实验室\\学院\\大学}}
\maketitle
\begin{abstract}
这里是摘要
\end{abstract}
\section{introduction}
这里是引用\cite{sample1}
%这里添加引用数据库
\bibliographystyle{IEEEtran}
\bibliography{ieetutorial}
\end{document}