
我正在使用背頁arXiv/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
style 一起使用:
\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}