From 9eb1aa077a2282381e9ce532977271525f0a4d9a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Dobrowolski?= Date: Mon, 3 Nov 2025 12:07:09 +0100 Subject: [PATCH] Fix phones --- moderncv.cls | 2 ++ template.tex | 6 +++--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/moderncv.cls b/moderncv.cls index 9896fc9..173b1fe 100644 --- a/moderncv.cls +++ b/moderncv.cls @@ -244,6 +244,8 @@ % Define links for different social networks \newcommand{\emaillink}[2]{\protect\href{mailto:#2}{#1}} \newcommand{\mobilephonelink}[2]{\protect\tellink[#1]{#2}} +\newcommand{\fixedphonelink}[2]{\protect\tellink[#1]{#2}} +\newcommand{\faxphonelink}[2]{\protect\tellink[#1]{#2}} \newcommand{\linkedinlink}[2]{\protect\httpslink[#1]{www.linkedin.com/in/#2}} \newcommand{\xinglink}[2]{\protect\httpslink[#1]{www.xing.com/profile/#2}} \newcommand{\twitterlink}[2]{\protect\httpslink[#1]{twitter.com/#2}} diff --git a/template.tex b/template.tex index 45c85b7..fb586a8 100644 --- a/template.tex +++ b/template.tex @@ -57,9 +57,9 @@ \title{Résumé title} % optional, remove / comment the line if not wanted \born{4 July 1776} % optional, remove / comment the line if not wanted \address{street and number}{postcode city}{country}% optional, remove / comment the line if not wanted; the "postcode city" and "country" arguments can be omitted or provided empty -\phone[mobile]{+1~(234)~567~890} % optional, remove / comment the line if not wanted; the optional "type" of the phone can be "mobile" (default), "fixed" or "fax" -\phone[fixed]{+2~(345)~678~901} -\phone[fax]{+3~(456)~789~012} +\social[mobilephone]{+1~(234)~567~890} % optional, remove / comment the line if not wanted; the optional "type" of the phone can be "mobile" (default), "fixed" or "fax" +\social[fixedphone]{+2~(345)~678~901} +\social[faxphone]{+3~(456)~789~012} \social[email]{john@doe.org} % optional, remove / comment the line if not wanted \homepage{www.johndoe.com} % optional, remove / comment the line if not wanted