I have a problen with a long url on LaTeX, I want to break it but I don't know how.

The line in LaTeX is:

\bibitem{} Information Intel 8085: \\ \url{http://www.ehowenespanol.com/informacion-microprocesador-intel-8085-sobre\_138668/} 

When I compile, I can see in PDF the following url:


Can I make some kind of \breakline or \ in the url?

  • 2
    First of all replace \_ by _, \url will escape it automatically. Secondly remember that there are rules as to how one can break URLs. In this case it can only be broken at /, . and _ – daleif Nov 22 '13 at 13:34
  • See tex.stackexchange.com/q/15653/15925, or one of several other questions on this site. – Andrew Swann Nov 22 '13 at 13:41
  • 1
    Have you tried loading the url package with the hyphens option set? Doing so instructs LaTeX that it's permissible to break a long URL string at a hyphen. – Mico Nov 22 '13 at 14:19

Finally, I solved this problem. I only used \nolinkurl:


\href{http://www.ehowenespanol.com/informacion-microprocesador-intel-8085-sobre\_138668/}{\nolinkurl{http://www.ehowenespanol.com/} \\ \nolinkurl{informacion-microprocesador-intel-8085-sobre\_138668/}}

Thanks to @daleif, @Andrew Swann, @Mico for read my post

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.