How to reduce line spacing in LaTex bibliography

Last updated on July 20, 2020 by Dan Nanni

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}

Support Xmodulo

This website is made possible by minimal ads and your gracious donation via PayPal or credit card

Please note that this article is published by Xmodulo.com under a Creative Commons Attribution-ShareAlike 3.0 Unported License. If you would like to use the whole or any part of this article, you need to cite this web page at Xmodulo.com as the original source.

Xmodulo © 2021 ‒ AboutWrite for UsFeed ‒ Powered by DigitalOcean