我正在使用 OverleafarXiv/bio-arXiv 模板写我的论文。我似乎无法让它在参考书目部分打印 doi。我的 MWE 是
\documentclass{article}
\usepackage{arxiv}
\usepackage{hyperref} % hyperlinks
\usepackage{url} % simple URL typesetting
\usepackage{natbib}
\usepackage{doi}
\title{Predict future sale}
\author{Author name}
\begin{document}
\maketitle
\begin{abstract}
Data mining is a good way to find the relationship between raw data and predict the target we want which is also widely used in different field nowadays. In this project, we implement a lots of technology and method in data mining to predict the sale of an item based on its previous sale. We create a strong model to predict the sales. After evaluating this model, we conclude that this model can be used in normal life for future sale’s prediction.
\end{abstract}
\section{Introduction}
Our project is a competition on Kaggle (Predict Future Sales). We are provided with daily historical sales data (including each products’ sale date, block ,shop price and amount) \cite{kour2014real}.
\bibliographystyle{unsrt}
\bibliography{references}
\end{document}
我的 bibtex 文件包含
@inproceedings{kour2014real,
title={Real-time segmentation of on-line handwritten arabic script},
author={Kour, George and Saabne, Raid},
booktitle={Frontiers in Handwriting Recognition (ICFHR), 2014 14th International Conference on},
pages={417--422},
year={2014},
organization={IEEE},
doi="10.1109/ICFHR.2014.76"
}
没有包不兼容或错误消息,所以我不确定如何继续。
答案1
这似乎很大程度上取决于你bibliographystyle
,例如这个答案。你也许想换一种新风格,例如unsrtnat
\begin{filecontents*}{references.bib}
@inproceedings{kour2014real,
title={Real-time segmentation of on-line handwritten arabic script},
author={Kour, George and Saabne, Raid},
booktitle={Frontiers in Handwriting Recognition (ICFHR), 2014 14th International Conference on},
pages={417--422},
year={2014},
organization={IEEE},
doi={10.1109/ICFHR.2014.76}
}
\end{filecontents*}
\documentclass{article}
%\usepackage{arxiv}
\usepackage{hyperref} % hyperlinks
\usepackage{url} % simple URL typesetting
\usepackage{natbib}
\usepackage{doi}
\title{Predict future sale}
\author{Author name}
\begin{document}
\maketitle
\begin{abstract}
Data mining is a good way to find the relationship between raw data and predict the target we want which is also widely used in different field nowadays. In this project, we implement a lots of technology and method in data mining to predict the sale of an item based on its previous sale. We create a strong model to predict the sales. After evaluating this model, we conclude that this model can be used in normal life for future sale’s prediction.
\end{abstract}
\section{Introduction}
Our project is a competition on Kaggle (Predict Future Sales). We are provided with daily historical sales data (including each products’ sale date, block, shop price and amount) \cite{kour2014real}.
\bibliographystyle{unsrtnat}
\bibliography{references}
\end{document}
编辑
阅读您的评论后,我建议使用biblatex
以下numeric
风格:
\begin{filecontents*}{references.bib}
@inproceedings{kour2014real,
title={Real-time segmentation of on-line handwritten arabic script},
author={Kour, George and Saabne, Raid},
booktitle={Frontiers in Handwriting Recognition (ICFHR), 2014 14th International Conference on},
pages={417--422},
year={2014},
organization={IEEE},
doi={10.1109/ICFHR.2014.76}
}
\end{filecontents*}
\documentclass{article}
\usepackage[style=numeric,doi=true,backend=biber]{biblatex}
\addbibresource{references.bib}
\usepackage{hyperref}
\begin{document}
\section{Introduction}
Our project is a competition on Kaggle (Predict Future Sales). We are provided with daily historical sales data (including each products’ sale date, block, shop price and amount) \cite{kour2014real}.
\printbibliography
\end{document}