From 6478b3210579a3cb390467dbe1b20aebfe9e19a2 Mon Sep 17 00:00:00 2001 From: Thomas Iffland Date: Thu, 4 Feb 2016 20:31:05 +0100 Subject: [PATCH] Added support via \xing macro for the german widely used social network xing. --- awesome-cv.cls | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/awesome-cv.cls b/awesome-cv.cls index 8fb0d16..0a98b1e 100644 --- a/awesome-cv.cls +++ b/awesome-cv.cls @@ -308,6 +308,11 @@ % Usage: \linkedin{} \newcommand*{\linkedin}[1]{\def\@linkedin{#1}} +% Defines writer's xing (optional) +% Usage: \xing{} +% www.xing.de/profile/NAME +\newcommand*{\xing}[1]{\def\@xing{#1}} + % Defines writer's twitter (optional) % Usage: \twitter{} \newcommand*{\twitter}[1]{\def\@twitter{#1}} @@ -446,6 +451,12 @@ \ifbool{isstart}{\setbool{istart}{false}}{\acvHeaderSocialSep}% \href{https://www.linkedin.com/in/\@linkedin}{\faLinkedinSquare\acvHeaderIconSep\@linkedin}% }% + \ifthenelse{\isundefined{\@xing}}% + {}% + {% + \ifbool{isstart}{\setbool{istart}{false}}{\acvHeaderSocialSep}% + \href{https://www.xing.de/profile/\@xing}{\faXingSquare\ \@xing} + }% \ifthenelse{\isundefined{\@twitter}}% {}% {%