How can I prevent LaTeX from inserting linebreaks in my \\texttt{...} or \\url{...} text regions? There\'s no spaces inside I can replace with ~
\\texttt{...}
\\url{...}
~
Define myurl command:
\def\myurl{\hfil\penalty 100 \hfilneg \hbox} I don't want to cause line overflows, I'd just rather LaTeX insert linebreaks before \myurl{\tt http://stackoverflow.com/questions/1012799/} regions rather than inside them.