mirror of
https://github.com/posquit0/Awesome-CV.git
synced 2024-11-24 06:58:35 +00:00
commit
da661243bc
1 changed files with 13 additions and 2 deletions
|
@ -62,6 +62,8 @@
|
||||||
\RequirePackage{ifxetex}
|
\RequirePackage{ifxetex}
|
||||||
% Needed to use \if-\then-\else statement
|
% Needed to use \if-\then-\else statement
|
||||||
\RequirePackage{xifthen}
|
\RequirePackage{xifthen}
|
||||||
|
% Needed to strip chars from telephone number
|
||||||
|
\RequirePackage{xstring}
|
||||||
% Needed to use a toolbox of programming tools
|
% Needed to use a toolbox of programming tools
|
||||||
\RequirePackage{etoolbox}
|
\RequirePackage{etoolbox}
|
||||||
% Needed to change line spacing in specific environment
|
% Needed to change line spacing in specific environment
|
||||||
|
@ -259,7 +261,16 @@
|
||||||
|
|
||||||
% Defines writer's mobile (optional)
|
% Defines writer's mobile (optional)
|
||||||
% Usage: \mobile{<mobile number>}
|
% Usage: \mobile{<mobile number>}
|
||||||
\newcommand*{\mobile}[1]{\def\@mobile{#1}}
|
\newcommand*{\mobile}[1]
|
||||||
|
{
|
||||||
|
\def\@mobile{#1}
|
||||||
|
\def\@teluri{tel:\@mobile}
|
||||||
|
% Strip unwanted characters
|
||||||
|
\StrDel{\@teluri}{ }[\@teluri]%
|
||||||
|
\StrDel{\@teluri}{-}[\@teluri]%
|
||||||
|
\StrDel{\@teluri}{(}[\@teluri]%
|
||||||
|
\StrDel{\@teluri}{)}[\@teluri]%
|
||||||
|
}
|
||||||
|
|
||||||
% Defines writer's email (optional)
|
% Defines writer's email (optional)
|
||||||
% Usage: \email{<email address>}
|
% Usage: \email{<email address>}
|
||||||
|
@ -466,7 +477,7 @@
|
||||||
\ifthenelse{\isundefined{\@mobile}}%
|
\ifthenelse{\isundefined{\@mobile}}%
|
||||||
{}%
|
{}%
|
||||||
{%
|
{%
|
||||||
\href{tel:\@mobile}{\faMobile\acvHeaderIconSep\@mobile}%
|
\href{\@teluri}{\faMobile\acvHeaderIconSep\@mobile}%
|
||||||
\setbool{isstart}{false}%
|
\setbool{isstart}{false}%
|
||||||
}%
|
}%
|
||||||
\ifthenelse{\isundefined{\@email}}%
|
\ifthenelse{\isundefined{\@email}}%
|
||||||
|
|
Loading…
Reference in a new issue