From 659e9f23c46a56ea08895dbcb07124c19cf73ac2 Mon Sep 17 00:00:00 2001 From: Javier Palomo Almena Date: Sun, 8 Jan 2017 17:23:22 +0100 Subject: [PATCH] Add Nationality command Signed-off-by: Javier Palomo Almena --- awesome-cv.cls | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/awesome-cv.cls b/awesome-cv.cls index 2ea5b78..1803a9c 100644 --- a/awesome-cv.cls +++ b/awesome-cv.cls @@ -318,6 +318,10 @@ % Usage: \xing{} \newcommand*{\xing}[1]{\def\@xing{#1}} +% Defines writer's nationality (optional) +% Usage: \nationality{} +\newcommand*{\nationality}[1]{\def\@nationality{#1}} + % Defines writer's twitter (optional) % Defines writer's extra informations (optional) % Usage: \extrainfo{} @@ -502,6 +506,12 @@ \ifbool{isstart}{\setbool{isstart}{false}}{\acvHeaderSocialSep}% \href{https://www.xing.com/profile/\@xing}{\faXingSquare\acvHeaderIconSep\@xing} }% + \ifthenelse{\isundefined{\@nationality}}% + {}% + {% + \ifbool{isstart}{\setbool{isstart}{false}}{\acvHeaderSocialSep}% + \faFlag\acvHeaderIconSep\@nationality% + }% \ifthenelse{\isundefined{\@extrainfo}}% {}% {%