URL latex linebreak

latexline-breaks

When a URL is over a line and goes onto a second line, the hyperlink only uses the first line. Is there a way to get around this and yet still have the URL on multiple lines?

Best Answer

You should use the url package:

\usepackage{url}
...
\url{http://long.url.com/...     .../stuff}

and it will break it for you at an appropriate place.