From d2a1d12c989487bc45a9ecc2d144a051fe2dabe4 Mon Sep 17 00:00:00 2001 From: Terencio Agozzino Date: Fri, 30 Mar 2018 23:20:45 +0200 Subject: [PATCH] Add drive command --- awesome-cv.cls | 10 ++++++++++ examples/cv.tex | 1 + examples/resume.tex | 1 + 3 files changed, 12 insertions(+) diff --git a/awesome-cv.cls b/awesome-cv.cls index d1c1074..c9e22d3 100644 --- a/awesome-cv.cls +++ b/awesome-cv.cls @@ -273,6 +273,10 @@ % Usage: \name{} \newcommand*{\position}[1]{\def\@position{#1}} +% Defines writer's driving license (optional) +% Usage: \drive{} +\newcommand*{\drive}[1]{\def\@drive{#1}} + % Defines writer's mobile (optional) % Usage: \mobile{} \newcommand*{\mobile}[1]{\def\@mobile{#1}} @@ -496,6 +500,12 @@ \ifbool{isstart}{\setbool{isstart}{false}}{\acvHeaderSocialSep}% \href{https://www.reddit.com/user/\@reddit}{\faReddit\acvHeaderIconSep\@reddit}% }% + \ifthenelse{\isundefined{\@drive}}% + {}% + {% + \ifbool{isstart}{\setbool{isstart}{false}}{\acvHeaderSocialSep}% + \faCar\acvHeaderIconSep\@drive% + }% \ifthenelse{\isundefined{\@xing}}% {}% {% diff --git a/examples/cv.tex b/examples/cv.tex index 9a5ce93..ac7f93c 100644 --- a/examples/cv.tex +++ b/examples/cv.tex @@ -67,6 +67,7 @@ % \twitter{@twit} % \skype{skype-id} % \reddit{reddit-id} +% \drive{Driver's License} % \extrainfo{extra informations} \quote{``Be the change that you want to see in the world."} diff --git a/examples/resume.tex b/examples/resume.tex index ecc9a90..d10f5c4 100644 --- a/examples/resume.tex +++ b/examples/resume.tex @@ -67,6 +67,7 @@ % \twitter{@twit} % \skype{skype-id} % \reddit{reddit-id} +% \drive{Driver's License} % \extrainfo{extra informations} \quote{``Be the change that you want to see in the world."}