我在文档中的参考书目方面遇到了问题。我的代码如下:
\documentclass[runningheads,a4paper]{llncs}
\usepackage{amssymb}
\setcounter{tocdepth}{3}
\usepackage{graphicx}
\usepackage{url}
\usepackage{hyperref}
\usepackage[backend=bibtex]{biblatex}
\begin{document}
Hello world! \cite{wu2015deep}
\begin{thebibliography}{1}
\bibitem{wu2015deep} Wu J, Yu Y, Huang C., Yu K. Multiple Instance Learning for Image Classification and Auto-Annotation. In CVPR 2015, pp. 3460--3469
\end{thebibliography}
\end{document}
我的代码输出如下:
如您所见,参考文献不是 [1],而是 [wu2015deep]。您知道导致此问题的原因是什么吗?我使用的是 TeXMaker 4.5,编译选项为:pdflatex + Bib(la)tex + pdflatex (x2) + 查看 PDF
非常感谢您付出的时间和帮助!:)
答案1
使用以下代码你将获得[1]:
\documentclass[runningheads,a4paper]{report}
\usepackage{amssymb}
\setcounter{tocdepth}{3}
\usepackage{graphicx}
\usepackage{url}
\usepackage{hyperref}
\usepackage{acronym}
\begin{document}
Hello world! \cite{wu2015deep}
\begin{thebibliography}{----}
\bibitem{wu2015deep}
%\textsc{Wu}, J. \textsc{Yu}, Y. \textsc{Huang} C. \& \textsc{Yu} K. (2015) {\it Multiple Instance Learning for Image Classification and Auto-Annotation.} In CVPR 2015, pp. 3460--3469
Wu J, Yu Y, Huang C., Yu K. Multiple Instance Learning for Image Classification and Auto-Annotation. In CVPR 2015, pp. 3460--3469
\end{thebibliography}
\end{document}