Hi All I want to display the following citation call-outs as [1-10]
instead of [1-3,3-4,4-7,7-10]
.
I use the following code
\documentclass[a4paper,10pt,twocolumn]{article}
\usepackage[top=1in, bottom=1.25in, left=0.3in, right=0.3in]{geometry}
\usepackage{amssymb}
\usepackage{amsmath}
\usepackage{graphicx}
\usepackage{dcolumn}
\usepackage{enumerate}
\renewcommand{\thesection}{\Roman{section}}
\renewcommand{\thesubsection}{\thesection.\Roman{subsection}}
\usepackage{mathrsfs,amsmath}
\usepackage{mathtools}
\usepackage[noadjust,compress]{cite}
\bibliographystyle{unsrt}
\usepackage[section]{placeins}
\usepackage{authblk}
\begin{document}
\cite{xin2011multitaper,wang2009multitaper,al2010multitaper,%
al2010multitaper,jataprolu2012optimal,chiang2009optimal,%
yousif2014new,jataprolu2012optimal}
\bibliography{Ref}{}
\bibliographystyle{plain}
\end{document}
Best Answer
The main issue with your code is that two of the entry keys in the
\cite
instruction are repeated. Eliminate the repeats, and you'll immediately obtain the desired format of the sorted citation call-outs.By the way, since there are only 6 distinct entry keys in your
\cite
instruction, the most you can get is[1-6]
, not[1-10]
.Separately, do also make up your mind whether you want to employ the
unsrt
or theplain
bibliography style. (You should have gotten a warning message about this during the BibTeX run.) There can be only one bibliography style in effect in your sample document.A full MWE (note that I've eliminated all unnecessary instructions from the preamble):