[Tex/LaTex] Clickable “tel:” URL for TeX resume


I need to make my telephone number clickable. You might be familiar with this in Gmail's clickable phone numbers that dial out to your mobile phone, for example.

I'm working on my resume, and I'm using the res class. It looks like with what I want to do I have to make some changes to my class file, but I'm a little hesitant to do so.

Here's what I want:

*RFC 3966 compatible URL tel:: https://www.rfc-editor.org/rfc/rfc3966#section-5.2 (see section 5.2)

I also want it to be formatted as an "ITU-T E.123 standard telephone number": http://www.itu.int/rec/T-REC-E.123-200102-I/e (see section 2.4)

So basically I want:

  • HTML source: "tel:15555555555"

  • Typeset as: "+1 555 555 5555" (clickable of course like HTML telephone links)

My final goal is to have a clickable link for a phone number without it looking visually different, just like my email address is. It is simply clickable and it goes to my email application.

Is there a package that does tel:? How do I integrate this telephone solution in res? Does anyone ever use clickable tel: links in PDFs?

*edit: I Found out here https://stackoverflow.com/questions/1164004/how-to-mark-up-phone-numbers that RFC 3966 supersedes RFC 2806.

UPDATE: I think I have escaped the domain of TeX with this problem. I used "You's" answer to make a clickable link that looks formatted properly. I'm just having issues with the functionality of the tel: standard among applications that use it. Not working: Foxit Reader, Gmail, Chrome (Windows OS). Working: Gmail mobile, mobile Quickoffice PDF viewer, Mobile dialer (Android OS).

Best Answer

Just use \href from hyperref:

\href{tel:15555555555}{+1 555 555 5555}