Wednesday, November 13, 2013

Latex hyperref, url packages: Break URL

When using both hyperref and url packages, and you get a package conflict, make sure the url package is listed before the hyperref package.

Also, if you need to break the URL into multiple lines, then you need to use the hyphens option in the url package. So your latex configuration should look like:

\usepackage[hyphens]{url}
\usepackage{hyperref}  

Reference:
1. http://stackoverflow.com/questions/2625714/linebreak-in-url-with-bibtex-and-hyperref-package

No comments:

Post a Comment