diff --git a/DESCRIPTION b/DESCRIPTION index 58eb0ae4..04b4ae16 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,6 +1,6 @@ Package: vitae Title: Curriculum Vitae for R Markdown -Version: 0.2.1.9000 +Version: 0.2.1.9016 Authors@R: c( person("Mitchell", "O'Hara-Wild", role=c("aut", "cre"), email = "mail@mitchelloharawild.com", comment=c(ORCID = "0000-0001-6729-7695")), person("Rob", "Hyndman", email="Rob.Hyndman@monash.edu", role=c("aut"), comment = c(ORCID = "0000-0002-2140-5352")), diff --git a/inst/rmarkdown/templates/awesomecv/resources/awesome-cv.tex b/inst/rmarkdown/templates/awesomecv/resources/awesome-cv.tex index 04cda304..ccf61116 100644 --- a/inst/rmarkdown/templates/awesomecv/resources/awesome-cv.tex +++ b/inst/rmarkdown/templates/awesomecv/resources/awesome-cv.tex @@ -46,7 +46,7 @@ % \definecolor{lighttext}{HTML}{999999} % Set false if you don't want to highlight section with awesome color -\setbool{acvSectionColorHighlight}{true} +\setbool{acvSectionColorHighlight}{false} % If you would like to change the social information separator from a pipe (|) to something else \renewcommand{\acvHeaderSocialSep}{\quad\textbar\quad} @@ -95,6 +95,12 @@ $if(github)$ \github{$github$} $endif$ +$if(community)$ +\community{$community$} +$endif$ +$if(angellist)$ +\angellist{$angellist$} +$endif$ $if(linkedin)$ \linkedin{$linkedin$} $endif$ @@ -150,8 +156,7 @@ \makecvfooter {$date$} {$name$$if(surname)$ $surname$$endif$~~~ยท~~~$if(docname)$$docname$$else$Curriculum Vitae$endif$} - {\thepage} - + {Crafted with \href{https://github.com/mitchelloharawild/vitae}{\{vitae\}}} %------------------------------------------------------------------------------- % CV/RESUME CONTENT diff --git a/inst/rmarkdown/templates/awesomecv/skeleton/angel_list.png b/inst/rmarkdown/templates/awesomecv/skeleton/angel_list.png new file mode 100644 index 00000000..946336ef Binary files /dev/null and b/inst/rmarkdown/templates/awesomecv/skeleton/angel_list.png differ diff --git a/inst/rmarkdown/templates/awesomecv/skeleton/awesome-cv.cls b/inst/rmarkdown/templates/awesomecv/skeleton/awesome-cv.cls index 5e1ca665..68a3ab84 100644 --- a/inst/rmarkdown/templates/awesomecv/skeleton/awesome-cv.cls +++ b/inst/rmarkdown/templates/awesomecv/skeleton/awesome-cv.cls @@ -92,6 +92,8 @@ pdfkeywords={} } +% For RStudio Community and AngelList logos +\usepackage{graphicx} %------------------------------------------------------------------------------- % Configuration for directory locations @@ -152,7 +154,7 @@ % Boolean value to switch section color highlighting \newbool{acvSectionColorHighlight} -\setbool{acvSectionColorHighlight}{true} +\setbool{acvSectionColorHighlight}{false} % Awesome section color \def\@sectioncolor#1#2#3{% @@ -308,6 +310,14 @@ % Usage: \github{} \newcommand*{\github}[1]{\def\@github{#1}} +% Defines writer's RStudio Community (optional) +% Usage: \community{} +\newcommand*{\community}[1]{\def\@community{#1}} + +% Defines writer's AngelList (optional) +% Usage: \angellist{} +\newcommand*{\angellist}[1]{\def\@angellist{#1}} + % Defines writer's gitlab (optional) % Usage: \gitlab{} \newcommand*{\gitlab}[1]{\def\@gitlab{#1}} @@ -393,6 +403,8 @@ \newcommand{\acvHeaderSocialSep}{\quad\textbar\quad} \newcommand{\acvHeaderAfterSocialSkip}{6mm} \newcommand{\acvHeaderAfterQuoteSkip}{5mm} +\newcommand{\communitySquare}{\includegraphics[scale=.011]{community_logo.png}} +\newcommand{\angelList}{\includegraphics[scale=.045]{angel_list.png}} % Others \newcommand{\acvSectionTopSkip}{3mm} @@ -503,6 +515,18 @@ \ifbool{isstart}{\setbool{isstart}{false}}{\acvHeaderSocialSep}% \href{https://github.com/\@github}{\faGithubSquare\acvHeaderIconSep\@github}% }% + \ifthenelse{\isundefined{\@community}}% + {}% + {% + \ifbool{isstart}{\setbool{isstart}{false}}{\acvHeaderSocialSep}% + \href{https://community.rstudio.com/u/\@community}{\communitySquare\acvHeaderIconSep\@community}% + }% + \ifthenelse{\isundefined{\@angellist}}% + {}% + {% + \ifbool{isstart}{\setbool{isstart}{false}}{\acvHeaderSocialSep}% + \href{https://angel.co/u/\@angellist}{\angelList\acvHeaderIconSep\@angellist}% + }% \ifthenelse{\isundefined{\@gitlab}}% {}% {% diff --git a/inst/rmarkdown/templates/awesomecv/skeleton/community_logo.png b/inst/rmarkdown/templates/awesomecv/skeleton/community_logo.png new file mode 100644 index 00000000..0bc6884c Binary files /dev/null and b/inst/rmarkdown/templates/awesomecv/skeleton/community_logo.png differ diff --git a/inst/rmarkdown/templates/hyndman/skeleton/community_logo.png b/inst/rmarkdown/templates/hyndman/skeleton/community_logo.png new file mode 100644 index 00000000..0bc6884c Binary files /dev/null and b/inst/rmarkdown/templates/hyndman/skeleton/community_logo.png differ