“I am trying to include long URLs in a bibliography, but those often overflow into the margin of the document.” The following works like a charm. \usepackage{url} % breakurl \def\UrlBreaks{\do\/\do-} \usepackage{breakurl} \usepackage[breaklinks]{hyperref}
URLs in bibliography: LaTeX not breaking line as expected
Posted on