Welcome to the UK List of
TeX Frequently Asked Questions
on the Web

Searching

The index of Frequently Asked Questions about TeX is searchable.

Please enter your keyword here:   then press here: ,    or:
Google

Reducing spacing in the bibliography

Bibliographies are, in fact, implemented as lists, so all the confusion about reducing list item spacing also applies to bibliographies.

If the natbib package ‘works’ for you (it may not if you are using some special-purpose bibliography style), the solution is relatively simple — add

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

to the preamble of your document.

The compactbib package has a similar effect. Its primary purpose is to produce two bibliographies, and it seems to preclude use of BibTeX (though the package documentation, in the package file itself, isn’t particularly clear).

Otherwise, one is into unseemly hacking of something or other. The mdwlist package actually does the job, but it doesn’t work here, because it makes a different-named list, while the name “thebibliography” is built into LaTeX and BibTeX. Therefore, we need to patch the underlying macro:

\let\oldbibliography\thebibliography
\renewcommand{\thebibliography}[1]{%
  \oldbibliography{#1}%
  \setlength{\itemsep}{0pt}%
}

The savetrees package performs such a patch, among a plethora of space-saving measures: you can, in principle, suppress all its other actions, and have it provide you a compressed bibliography only.

compactbib.sty
macros/latex/contrib/compactbib/compactbib.sty; catalogue entry
mdwlist.sty
Distributed as part of macros/latex/contrib/mdwtools (or browse the directory); catalogue entry
natbib.sty
macros/latex/contrib/natbib (or browse the directory); catalogue entry
savetrees.sty
macros/latex/contrib/savetrees (or browse the directory); catalogue entry


Go to previous question, or next question

Go to FAQ home.

URL for this question: http://www.tex.ac.uk/cgi-bin/texfaq2html?label=compactbib

Comments, suggestions, or error reports? - see “how to improve the FAQ”.

This is FAQ version 3.28, released on 2014-06-10.