0

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}
  • Even with \usepackage[numbers,sort&compress]{natbib}? – Troy Aug 27 '17 at 09:40
  • You cannot use cite with elsarticle. I think we have a duplicate somewhre. – Johannes_B Aug 27 '17 at 09:40
  • 2
    Please have a look at https://tex.stackexchange.com/questions/82293/how-to-generate-multiple-numeric-style-citation-call-outs and https://tex.stackexchange.com/questions/276915/how-to-cite-multiple-reference-in-latex-to-apper-as-1-4-6-7 – Johannes_B Aug 27 '17 at 09:43
  • Even with \usepackage[numbers,sort&compress]{natbib}? it gives errors @Troy. – Bakr Hesham Aug 27 '17 at 09:59
  • [https://tex.stackexchange.com/questions/82293/how-to-generate-multiple-numeric-style-citation-call-outs] This answer works,@ Johannes_B – Bakr Hesham Aug 27 '17 at 09:59

0 Answers0