Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

7
  • 7
    None of the previous (higer-rated) suggestions worked for me with a troublesome URL I was dealing with. This option did work. Are there any potential problems with this approach? All I see is that it may not always break at a "visually appealing" part of a URL. Commented Jun 25, 2012 at 13:19
  • I used the same solution, but with UrlBigBreaks. Does anybody know whether this has any adverse effects? Commented Jan 20, 2014 at 11:03
  • For the record, I was having the url problem while using \url{} inside enumerate environment. The other solutions were fine when the \url was inside the text. But this answer is the only one that fixed the url problem inside enumerate. Thank you! Commented Dec 14, 2015 at 3:59
  • 1
    This solution seems to work better than the others, but I experienced a problem in the limit case when the url ends close to line ending; LaTeX is unable to put the word following the url to a new line and puts such word (or at least the first syllable of it) in the same line, even if it protrudes from right justification, with really bad results. Commented Nov 28, 2016 at 11:27
  • 2
    I had to cite the following link in a bibliography. ons.gov.uk/economy/nationalaccounts/uksectoraccounts/datasets/… This answer was the only solution. Commented Dec 5, 2016 at 12:35