I am working a paper for IEEEtran using IEEEtran.cls
. The citation style is not tidy while citing multple references, for instance,
\cite{test1,test2,test3}
% the result is:
[1], [2], [3]
% my expected result is:
[1-3] or [1,2,3]
Then, I use the package natbib
and the citation style is fine. However, the font size is bigger than usual in bibliography entries.
How can I maintain the font size while using natbib
?
BTW, the result is [1,2,3]
using natbib
. How can I change to [1-3]
?
The main source codes are as follows:
\documentclass[conference]{IEEEtran}
\usepackage[utf8]{inputenc}
\usepackage{float}
\usepackage{hyperref}
\usepackage[capitalise]{cleveref}
\usepackage[numbers]{natbib}
\usepackage{caption}
\usepackage{tabularx} %for automatic line-break in tabular
\usepackage{makecell} %for table header, center and bold
%
\bibliographystyle{IEEEtran}
\bibliography{References}
Best Answer
If you really want to achieve this, the following code should help you:
Import the
natbib
package asEnclose the bibliography with
\footnotesize
This would
\cite{test1,test2,tes3}
as[1-3]
, provided they are not referenced in a different order earlier in the paper.But as suggested in the comments, this really isn't the prescribed IEEEtran way.