Add Nationality command

Signed-off-by: Javier Palomo Almena <javier.palomo.almena@gmail.com>
This commit is contained in:
Javier Palomo Almena 2017-01-08 17:23:22 +01:00
parent 2d28b59fc7
commit 659e9f23c4

View file

@ -318,6 +318,10 @@
% Usage: \xing{<xing name>} % Usage: \xing{<xing name>}
\newcommand*{\xing}[1]{\def\@xing{#1}} \newcommand*{\xing}[1]{\def\@xing{#1}}
% Defines writer's nationality (optional)
% Usage: \nationality{<country-of-nationality>}
\newcommand*{\nationality}[1]{\def\@nationality{#1}}
% Defines writer's twitter (optional) % Defines writer's twitter (optional)
% Defines writer's extra informations (optional) % Defines writer's extra informations (optional)
% Usage: \extrainfo{<extra informations>} % Usage: \extrainfo{<extra informations>}
@ -502,6 +506,12 @@
\ifbool{isstart}{\setbool{isstart}{false}}{\acvHeaderSocialSep}% \ifbool{isstart}{\setbool{isstart}{false}}{\acvHeaderSocialSep}%
\href{https://www.xing.com/profile/\@xing}{\faXingSquare\acvHeaderIconSep\@xing} \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}}% \ifthenelse{\isundefined{\@extrainfo}}%
{}% {}%
{% {%