While citing a range of papers, i want the output to be:
... a range of citations [1-4]
Not :
... a range of citations [1,2,3,4]
I followed the answers in this question but i found the following errors:
1- while using Cite package,this error comes:
! Paragraph ended before \@citex was complete.
2- And by using Natbib package, nothing changes.
... a range of citations [1,2,3,4]
here you are the used packages in my code:
\documentclass[review]{elsarticle}
\usepackage{caption}
\usepackage{subcaption}
\usepackage{tabularx}
\usepackage{rotating}
\usepackage{graphicx}
\usepackage{adjustbox}
\usepackage{circuitikz}
\usepackage{siunitx}
\usepackage{floatrow}
\usepackage{array}
\usepackage{booktabs}
\usepackage{ltablex}
\usepackage{lineno,hyperref}
%\usepackage{cite}
%\usepackage{natbib}
\usepackage[numbers,sort&compress]{natbib}? – Troy Aug 27 '17 at 09:40citewithelsarticle. I think we have a duplicate somewhre. – Johannes_B Aug 27 '17 at 09:40