Add \dateofbirth command (#124)

Closes #124
Closes #154
This commit is contained in:
Fabian Würfl 2017-04-23 13:45:45 +02:00 committed by Oliver Ford
parent 44c5ec3e7b
commit 52ef4af481
No known key found for this signature in database
GPG key ID: 15CCFACF010F70D2
4 changed files with 14 additions and 0 deletions

View file

@ -281,6 +281,10 @@
% Usage: \email{<email address>} % Usage: \email{<email address>}
\newcommand*{\email}[1]{\def\@email{#1}} \newcommand*{\email}[1]{\def\@email{#1}}
% Defines writer's date of birth (optional)
% Usage: \dateofbirth{<date>}
\newcommand*{\dateofbirth}[1]{\def\@dateofbirth{#1}}
% Defines writer's homepage (optional) % Defines writer's homepage (optional)
% Usage: \homepage{<url>} % Usage: \homepage{<url>}
\newcommand*{\homepage}[1]{\def\@homepage{#1}} \newcommand*{\homepage}[1]{\def\@homepage{#1}}
@ -475,6 +479,13 @@
\ifbool{isstart}{\setbool{isstart}{false}}{\acvHeaderSocialSep}% \ifbool{isstart}{\setbool{isstart}{false}}{\acvHeaderSocialSep}%
\href{mailto:\@email}{\faEnvelope\acvHeaderIconSep\@email}% \href{mailto:\@email}{\faEnvelope\acvHeaderIconSep\@email}%
}% }%
\ifthenelse{\isundefined{\@dateofbirth}}%
{}%
{%
\ifbool{isstart}{\setbool{isstart}{false}}{\acvHeaderSocialSep}%
% \mbox prevents wrapping of elements%
\mbox{\faBirthdayCake\acvHeaderIconSep\@dateofbirth}%
}%
\ifthenelse{\isundefined{\@homepage}}% \ifthenelse{\isundefined{\@homepage}}%
{}% {}%
{% {%

View file

@ -59,6 +59,7 @@
\mobile{(+82) 10-9030-1843} \mobile{(+82) 10-9030-1843}
\email{posquit0.bj@gmail.com} \email{posquit0.bj@gmail.com}
%\dateofbirth{January 1st, 1970}
\homepage{www.posquit0.com} \homepage{www.posquit0.com}
\github{posquit0} \github{posquit0}
\linkedin{posquit0} \linkedin{posquit0}

View file

@ -59,6 +59,7 @@
\mobile{(+82) 10-9030-1843} \mobile{(+82) 10-9030-1843}
\email{posquit0.bj@gmail.com} \email{posquit0.bj@gmail.com}
%\dateofbirth{January 1st, 1970}
\homepage{www.posquit0.com} \homepage{www.posquit0.com}
\github{posquit0} \github{posquit0}
\linkedin{posquit0} \linkedin{posquit0}

View file

@ -59,6 +59,7 @@
\mobile{(+82) 10-9030-1843} \mobile{(+82) 10-9030-1843}
\email{posquit0.bj@gmail.com} \email{posquit0.bj@gmail.com}
%\dateofbirth{January 1st, 1970}
\homepage{www.posquit0.com} \homepage{www.posquit0.com}
\github{posquit0} \github{posquit0}
\linkedin{posquit0} \linkedin{posquit0}