I want to use the \url command but want to show a different text than the url itself. So I chose \href. The problem here is that the result is in a differnt font. Is there a way to syle the shown text of \href in the \url style?

marked as duplicate by Werner, Stefan Pinnow, Kurt, user31729, Phelype Oleinik Apr 16 '18 at 18:24

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.


You can use \nolinkurl inside the second argument of \href. Macro \nolinkurl behaves like \url but it does not add a link because this is already done by \href. Example:


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