How to reduce line spacing in LaTex bibliography

Question: I would like to save some space in a LaTex document by reducing the space between references in bibliography section. How can I reduce line spacing of bibliography in LaTex?

You can use the natbib package of LaTex. This package supports various citation formats (e.g., author-year and numerical citations). It also allows you to adjust the space between references.

To reduce line spacing in bibliography, simply put the following lines in the preamble of your LaTex document. This will shrink the line spacing in bibliography to 0pt.

\usepackage{natbib}
\setlength{\bibsep}{0.0pt}

Note that using the natbib package may change your citation format.

In that case, you can define the citation format explicitly using natbib options as follows. This will produce citations with square bracket, sorted, and comma-separated styles.

\usepackage[square,sort,comma]{natbib}
\setlength{\bibsep}{0.0pt}

If you encounter "Package natbib Error: Bibliography not compatible with author-year citations" message, add "numbers" option to get around that.

\usepackage[square,sort,comma,numbers]{natbib}
\setlength{\bibsep}{0.0pt}
Download this article as ad-free PDF (made possible by your kind donation): 
Download PDF

Subscribe to Ask Xmodulo

Do you want to receive Linux related questions & answers published at Ask Xmodulo? Enter your email address below, and we will deliver our Linux Q&A straight to your email box, for free. Delivery powered by Google Feedburner.


Support Xmodulo

Did you find this tutorial helpful? Then please be generous and support Xmodulo!

Leave a comment

Your email address will not be published. Required fields are marked *