I have a \url{some.edu/page} that breaks just before .edu I would like to have it break at the / at worst, or not at all. How can I do that?

  • Thank you for editing. I'm new, will try to format better in the future. – Max Nov 16 '12 at 0:07
  • 1
    You're very welcome :) Welcome to TeX.SE! – cmhughes Nov 16 '12 at 0:14

The characters, where breaks are allowed, can be changed. See documentation of package url, section "5.2 Changing linebreaks". In this case the dot is part of \UrlBreaks. The following redefines it without the dot:


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.