TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question
Thank you for editing. I'm new, will try to format better in the future. – Max Nov 16 '12 at 0:07
You're very welcome :) Welcome to TeX.SE! – cmhughes Nov 16 '12 at 0:14
up vote 8 down vote accepted

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:

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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