From fd8b88ba151e69761c8ab1906ebc330d08408e02 Mon Sep 17 00:00:00 2001 From: "Posquit0.BJ" Date: Sat, 30 Jan 2016 11:13:22 +0900 Subject: [PATCH] add reddit information into social section --- awesome-cv.cls | 14 ++++++++++++++ examples/coverletter.tex | 5 +++-- examples/cv.tex | 5 +++-- examples/resume.tex | 5 +++-- 4 files changed, 23 insertions(+), 6 deletions(-) diff --git a/awesome-cv.cls b/awesome-cv.cls index 5ea8bb9..cc360c4 100644 --- a/awesome-cv.cls +++ b/awesome-cv.cls @@ -315,6 +315,10 @@ % Usage: \skype{} \newcommand*{\skype}[1]{\def\@skype{#1}} +% Defines writer's reddit (optional) +% Usage: \reddit{} +\newcommand*{\reddit}[1]{\def\@reddit{#1}} + % Defines writer's extra informations (optional) % Usage: \extrainfo{} \newcommand*{\extrainfo}[1]{\def\@extrainfo{#1}} @@ -475,6 +479,16 @@ {\acvHeaderSocialSep}% \faSkype\acvHeaderIconSep\@skype% }% + \ifthenelse{\isundefined{\@reddit}}% + {}% + {% + \ifbool{isstart}% + {% + \setbool{istart}{false} % + }% + {\acvHeaderSocialSep}% + \href{https://www.reddit.com/user/\@reddit}{\faReddit\acvHeaderIconSep\@reddit}% + }% \ifthenelse{\isundefined{\@extrainfo}}% {}% {% diff --git a/examples/coverletter.tex b/examples/coverletter.tex index e7aec85..ac05a2f 100644 --- a/examples/coverletter.tex +++ b/examples/coverletter.tex @@ -57,9 +57,10 @@ \homepage{www.posquit0.com} \github{posquit0} \linkedin{posquit0} -% \stackoverflow{SOid}{SOname} +% \stackoverflow{SO-id}{SO-name} % \twitter{@twit} -% \skype{skypeid} +% \skype{skype-id} +% \reddit{reddit-id} % \extrainfo{extra informations} \quote{``Make the change that you want to see in the world."} diff --git a/examples/cv.tex b/examples/cv.tex index f3ea752..bd411c6 100644 --- a/examples/cv.tex +++ b/examples/cv.tex @@ -57,9 +57,10 @@ \homepage{www.posquit0.com} \github{posquit0} \linkedin{posquit0} -% \stackoverflow{SOid}{SOname} +% \stackoverflow{SO-id}{SO-name} % \twitter{@twit} -% \skype{skypeid} +% \skype{skype-id} +% \reddit{reddit-id} % \extrainfo{extra informations} \quote{``Make the change that you want to see in the world."} diff --git a/examples/resume.tex b/examples/resume.tex index b29830e..7c4b417 100644 --- a/examples/resume.tex +++ b/examples/resume.tex @@ -57,9 +57,10 @@ \homepage{www.posquit0.com} \github{posquit0} \linkedin{posquit0} -% \stackoverflow{SOid}{SOname} +% \stackoverflow{SO-id}{SO-name} % \twitter{@twit} -% \skype{skypeid} +% \skype{skype-id} +% \reddit{reddit-id} % \extrainfo{extra informations} \quote{``Make the change that you want to see in the world."}