2

I use the Springer LNCS format and observed that spaces between multiple citations get lost if I use the hyperref package. How can I fix that?

Result without hyperref package: [1, 2]

Result with hyperref package: [1,2]

MWE:

\documentclass[runningheads]{llncs}

%\usepackage[bookmarks=false,hidelinks]{hyperref} 

\begin{document} 
\cite{ref_1,ref_2}

\begin{thebibliography}{2}
\bibitem{ref_1}
R1

\bibitem{ref_2}
R2

\end{thebibliography}
\end{document}

Edit:

\usepackage[noadjust]{cite} does not fix the problem.

1 Answer 1

1

You need to prevent hyperref from interfering with the cite command. You can do this by defining a fake natbib command, \NAT@parse, as discussed in a related answer.

Then, \usepackage{cite} (with or without noadjust) is sufficient to resolve the spacing issue, if you are okay with its overriding the llncs internal cite macro.

I have created a demo of this on Overleaf.

0

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .