Is there a \urlstyle{tt} (or something else to that effect) for \href to make it the same font as \url links? I'm happy with any monospace font, as long as they both (\url and \href) show up the same.

1 Answer 1


You can use \nolinkurl inside the second argument of \href:

  • Or simply with \texttt{CTAN:foo/bar}/\ttfamily CTAN:foo/bar in the second part of \href.
    – Speravir
    Commented Mar 25, 2013 at 23:39
  • 4
    @HeikoOberdiek: Yes, that works but for a document with lots of \href, it is tedious to change them all (at least by hand). Commented Mar 25, 2013 at 23:42

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .