11

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.

Emanuel Berg
  • 1,827

1 Answers1

11

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

\href{http://mirror.ctan.org/foo/bar}{\nolinkurl{CTAN:foo/bar}}
Heiko Oberdiek
  • 271,626