Overhanging citations in $latex \text{\LaTeX{}}
Wednesday, November 7th, 2007 (4:35 pm), under latex.Problem: In an otherwise beautifully typeset $latex \text{\LaTeX{}}$ document, citations from Bib$latex \text{\TeX{}}$ (or manually listed bibliography) are not broken across lines even when they overhang margins. Apparently, they’re held together in an mbox — which I thought I didn’t put there. I’m using natbib and am not using the nonamebreak option in \usepackage[]{natbib}. There’s no “namebreak” option, and I want it badly! Who hates me, and why?
Briefly: With natbib with hyperref works best with \usepackage[breaklinks]{hyperref}
Solution: Natbib is a package for typesetting citations. Hyperref is a package for creating hyperlinks to citations and arbitrary locations. Turns out, if a citation is wrapped, a primitive linking algorithm would have trouble creating appropriate hyperlinks, so natbib introduced “nonamebreak.” If you’re using hyperref with natbib you use nonamebreak to fix all links at the price of an overhanging citation or two.
But both packages work much better together now. However, hyperref by default enables “nonamebreak” option, and has a breaklinks to set it right \usepackage[breaklinks]{hyperref}.