代码
\documentclass[10pt, a4paper, oneside]{scrartcl}
\usepackage{lipsum}
\title{\normalfont{Technical Report: Loren Ipsum}}
\author{{Alex Murphy}}
\date{}
\begin{document}
\maketitle
\section*{Abstract}
Test cite \cite{key1, key2} \lipsum[1] % Dummy text
\begin{thebibliography}{1}
\bibitem{key1} John Doe {\em Title and stuff} 2013.
\bibitem{key2} John Doe {\em Title and stuff} 2014.
\end{thebibliography}
\end{document}
输出
但是,我想显示类似的引用,[1-2]
而不是[1, 2]
。我怎样才能这样做?