Thursday, December 12, 2013

Add Spaces Between Citations in LaTeX

I had an issue where LaTeX wasn't adding spaces between references when I had multiple references in the same place.

So this:

of their own \cite{moretti:2012,saxenian:1996,casper:2007}. 

was compiling as this:

of their own [Moretti, 2012,Saxenian, 1996,Casper, 2007].


To fix the problem, I simply added the space option for the cite package.

\usepackage[space]{cite}

And now it looks as it should:

of their own [Moretti, 2012, Saxenian, 1996, Casper, 2007].

If you have spaces and don't want them, you can instead use the nospace option to remove the space between each citation.

References

No comments:

Post a Comment