URLs in bibliography: LaTeX not breaking line as expected

“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}

Leave a Reply

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