How do I manually remove a hyperlink so it does not become clickable ? For example, in the moderncv entry of

  • Omit the \email wrapper and just write test@hotmail.com? – Mico Aug 4 '17 at 15:26
  • 2
    @Mico: Much too easy. \renewcommand{\email}[1]{#1}.... I am sure, egreg will provide an expl3 solution for this and David has \def\zzzemail#1{#1}... – user31729 Aug 4 '17 at 15:27

\email is just a macro that stores the email address in the macro \@email:

% defines one's email (optional)
% usage: \email{<email adress>}

Macro \emaillink is actually the macro that generates the link:

% makes an email hyperlink
% usage: \emaillink[optional text]{link}

It can be redefined to strip off the \href stuff:

  • 2
    This may still result in a clickable link since the PDF parser can interpret an @<server> text as an email. However, this is viewer-dependent. – Werner Aug 4 '17 at 15:59

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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