[Tex/LaTex] Problem with references! Need to line-break urls

bibliographiesline-breakingurls

I am writing a paper and I have already added the references through bibtex.

There is something I don't like about the online references, they get to stretched out, from one side of the page to the other. And the online link gets out of the borders of the page.

Check the attached picture to understand what I mean. [3] is the problem

enter image description here

this is the bibtex code I use for that reference. Any solution? Suggestions?

@misc{domination,
Title = {Heterogeneous Systems Dominate the Green500},
Author = { },
Howpublished = {\url{http://www.hpcwire.com/off-the-wire/two-brains-better-one-heterogeneous-systems-dominate-green500/}},
Month = nov,
Year = {2013},
Url = {http://www.hpcwire.com/off-the-wire/two-brains-better-one-heterogeneous-systems-dominate-green500/}}

Best Answer

Just for the sake of closure:

There are a couple of ways to tackle this problem.

  1. As described by egreg, you can try using:

    \usepackage[hyphens]{url}

    At your preamble (i.e., just after \documentclass{})

  2. You can configure ---or even change--- your .bst file (the one that goes in \bibliographystyle{yourfile.bst}) so you can get exactly the results you want (in the same way as, for example, IEEEtran does it.

Of course I would recommend going for the easiest and direct one: just use \usepackage[hyphens]{url} in your preamble and let the magic happen :)

Related Question