# llncs: Use of hyperref removes space between citations

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

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.

• Thank you! It took me some time to verify it, because some citations (especially those I was looking at) are still without spaces. After some time, I noticed, that--as a consequence of using the cite package--latex omits the space depending on the available space within a line (i.e., if I remove a single-letter word the space gets added). Can this also be fixed? If not, I can live with that. – nrainer May 24 '18 at 19:39
• @nrainer Sorry, I'm not sure about that. I suggest asking that as a separate question. – Coby Viner May 24 '18 at 19:44