diff --git a/.gitignore b/.gitignore index 92fc0c7..4a9b93d 100644 --- a/.gitignore +++ b/.gitignore @@ -18,3 +18,7 @@ .*sw[op] *~ +### Mac OS X ### +## Mac OS X metadata files: +*.DS_Store + diff --git a/awesome-cv.cls b/awesome-cv.cls index 13b55cf..687be08 100644 --- a/awesome-cv.cls +++ b/awesome-cv.cls @@ -21,7 +21,7 @@ %------------------------------------------------------------------------------- % Identification %------------------------------------------------------------------------------- -\ProvidesClass{awesome-cv}[2016/01/09 v1.4 Awesome Curriculum Vitae Class] +\ProvidesClass{awesome-cv}[2016/01/30 v1.5 Awesome Curriculum Vitae Class] \NeedsTeXFormat{LaTeX2e} @@ -144,21 +144,13 @@ \definecolor{awesome-darknight}{HTML}{131A28} \colorlet{awesome}{awesome-red} +% Boolean value to switch section color highlighting +\newbool{acvSectionColorHighlight} +\setbool{acvSectionColorHighlight}{true} + % Awesome section color -\newcounter{colorCounter} \def\@sectioncolor#1#2#3{% - {% - \color{% - \ifcase\value{colorCounter}% - awesome\or% - awesome\or% - awesome\or% - awesome\or% - awesome\else% - awesome\fi% - } #1#2#3% - }% - \stepcounter{colorCounter}% + \ifbool{acvSectionColorHighlight}{{\color{awesome}#1#2#3}}{#1#2#3}% } @@ -207,7 +199,7 @@ BoldItalicFont=*-SemiboldIt ]{SourceSansPro} -% Set main font, same as for body (default is Source Sans Pro) +% Set main font \setmainfont[ Path=\@fontdir, UprightFont=*-Regular, @@ -216,6 +208,7 @@ BoldItalicFont=*-BoldIt ]{SourceSansPro} + %------------------------------------------------------------------------------- % Configuration for styles %------------------------------------------------------------------------------- @@ -230,7 +223,7 @@ \newcommand*{\footerstyle}[1]{{\fontsize{8pt}{1em}\footerfont\scshape\color{lighttext} #1}} \newcommand*{\sectionstyle}[1]{{\fontsize{16pt}{1em}\bodyfont\bfseries\color{text}\@sectioncolor #1}} \newcommand*{\subsectionstyle}[1]{{\fontsize{12pt}{1em}\bodyfont\scshape\textcolor{text}{#1}}} -\newcommand*{\paragraphstyle}{\fontsize{9pt}{1em}\bodyfontlight\upshape\color{graytext}} +\newcommand*{\paragraphstyle}{\fontsize{9pt}{1em}\bodyfontlight\upshape\color{text}} % For elements of entry \newcommand*{\entrytitlestyle}[1]{{\fontsize{10pt}{1em}\bodyfont\bfseries\color{darktext} #1}} @@ -315,7 +308,6 @@ % Usage: \linkedin{} \newcommand*{\linkedin}[1]{\def\@linkedin{#1}} -% Defines writer's twitter (optional) % Usage: \twitter{} \newcommand*{\twitter}[1]{\def\@twitter{#1}} @@ -323,6 +315,15 @@ % Usage: \skype{} \newcommand*{\skype}[1]{\def\@skype{#1}} +% Defines writer's reddit (optional) +% Usage: \reddit{} +\newcommand*{\reddit}[1]{\def\@reddit{#1}} + +% Defines writer's xing (optional) +% Usage: \xing{} +\newcommand*{\xing}[1]{\def\@xing{#1}} + +% Defines writer's twitter (optional) % Defines writer's extra informations (optional) % Usage: \extrainfo{} \newcommand*{\extrainfo}[1]{\def\@extrainfo{#1}} @@ -368,7 +369,8 @@ %------------------------------------------------------------------------------- % Commands for extra %------------------------------------------------------------------------------- -% Define helper macros a user can change easily in header +%% Define helper macros a user can change easily +% Header \newcommand{\acvHeaderNameDelim}{\space} \newcommand{\acvHeaderAfterNameSkip}{.4mm} \newcommand{\acvHeaderAfterPositionSkip}{.4mm} @@ -378,6 +380,11 @@ \newcommand{\acvHeaderAfterSocialSkip}{6mm} \newcommand{\acvHeaderAfterQuoteSkip}{5mm} +% Others +\newcommand{\acvSectionTopSkip}{3mm} +\newcommand{\acvSectionContentTopSkip}{2.5mm} + + %------------------------------------------------------------------------------- % Commands for utilities %------------------------------------------------------------------------------- @@ -416,81 +423,61 @@ \ifthenelse{\isundefined{\@email}}% {}% {% - \ifbool{isstart}% - {% - \setbool{istart}{false}% - }% - {\acvHeaderSocialSep}% + \ifbool{isstart}{\setbool{isstart}{false}}{\acvHeaderSocialSep}% \href{mailto:\@email}{\faEnvelope\acvHeaderIconSep\@email}% }% \ifthenelse{\isundefined{\@homepage}}% {}% {% - \ifbool{isstart}% - {% - \setbool{istart}{false}% - }% - {\acvHeaderSocialSep}% + \ifbool{isstart}{\setbool{isstart}{false}}{\acvHeaderSocialSep}% \href{http://\@homepage}{\faHome\acvHeaderIconSep\@homepage}% }% \ifthenelse{\isundefined{\@github}}% {}% {% - \ifbool{isstart}% - {% - \setbool{istart}{false}% - }% - {\acvHeaderSocialSep}% + \ifbool{isstart}{\setbool{isstart}{false}}{\acvHeaderSocialSep}% \href{https://github.com/\@github}{\faGithubSquare\acvHeaderIconSep\@github}% }% \ifthenelse{\isundefined{\@stackoverflowid}}% {}% {% - \ifbool{isstart}% - {% - \setbool{istart}{false} % - }% - {\acvHeaderSocialSep}% + \ifbool{isstart}{\setbool{isstart}{false}}{\acvHeaderSocialSep}% \href{https://stackoverflow.com/users/\@stackoverflowid}{\faStackOverflow\acvHeaderIconSep\@stackoverflowname}% }% \ifthenelse{\isundefined{\@linkedin}}% {}% {% - \ifbool{isstart}% - {% - \setbool{istart}{false}% - }% - {\acvHeaderSocialSep}% + \ifbool{isstart}{\setbool{isstart}{false}}{\acvHeaderSocialSep}% \href{https://www.linkedin.com/in/\@linkedin}{\faLinkedinSquare\acvHeaderIconSep\@linkedin}% }% \ifthenelse{\isundefined{\@twitter}}% {}% {% - \ifbool{isstart}% - {% - \setbool{istart}{false} % - }% - {\acvHeaderSocialSep}% + \ifbool{isstart}{\setbool{isstart}{false}}{\acvHeaderSocialSep}% \href{https://twitter.com/\@twitter}{\faTwitter\acvHeaderIconSep\@twitter}% }% \ifthenelse{\isundefined{\@skype}}% {}% {% - \ifbool{isstart}% - {% - \setbool{istart}{false} % - }% - {\acvHeaderSocialSep}% + \ifbool{isstart}{\setbool{isstart}{false}}{\acvHeaderSocialSep}% \faSkype\acvHeaderIconSep\@skype% }% + \ifthenelse{\isundefined{\@reddit}}% + {}% + {% + \ifbool{isstart}{\setbool{isstart}{false}}{\acvHeaderSocialSep}% + \href{https://www.reddit.com/user/\@reddit}{\faReddit\acvHeaderIconSep\@reddit}% + }% + \ifthenelse{\isundefined{\@xing}}% + {}% + {% + \ifbool{isstart}{\setbool{isstart}{false}}{\acvHeaderSocialSep}% + \href{https://www.xing.com/profile/\@xing}{\faXingSquare\acvHeaderIconSep\@xing} + }% \ifthenelse{\isundefined{\@extrainfo}}% {}% {% - \ifbool{isstart}% - {% - \setbool{istart}{false} % - }% - {\acvHeaderSocialSep}% + \ifbool{isstart}{\setbool{isstart}{false}}{\acvHeaderSocialSep}% \@extrainfo% }% } \\[\acvHeaderAfterSocialSkip]% @@ -512,31 +499,34 @@ % Define a section for CV % Usage: \cvsection{} \newcommand{\cvsection}[1]{% - \par\addvspace{1.5ex} - \phantomsection{} + \vspace{\acvSectionTopSkip} \sectionstyle{#1} + \phantomsection \color{gray}\vhrulefill{0.9pt} - \par\nobreak\addvspace{1ex} } % Define a subsection for CV % Usage: \cvsubsection{} \newcommand{\cvsubsection}[1]{% - \phantomsection{} + \vspace{\acvSectionContentTopSkip} + \vspace{-3mm} \subsectionstyle{#1} + \phantomsection } % Define a paragraph for CV \newenvironment{cvparagraph}{% + \vspace{\acvSectionContentTopSkip} \vspace{-3mm} \paragraphstyle }{% - \vspace{1mm} + \par + \vspace{2mm} } - % Define an environment for cventry \newenvironment{cventries}{% + \vspace{\acvSectionContentTopSkip} \begin{center} }{% \end{center} @@ -544,6 +534,7 @@ % Define an entry of cv information % Usage: \cventry{}{}{<location>}{<date>}{<description>} \newcommand*{\cventry}[5]{% + \vspace{-2.0mm} \setlength\tabcolsep{0pt} \setlength{\extrarowheight}{0pt} \begin{tabular*}{\textwidth}{@{\extracolsep{\fill}} L{\textwidth - 4.5cm} R{4.5cm}} @@ -551,8 +542,8 @@ {\entrypositionstyle{#1} & \entrydatestyle{#4} \\} {\entrytitlestyle{#2} & \entrylocationstyle{#3} \\ \entrypositionstyle{#1} & \entrydatestyle{#4} \\} - \multicolumn{2}{L{\textwidth}}{\descriptionstyle{#5}} \\ - \end{tabular*} + \multicolumn{2}{L{\textwidth}}{\descriptionstyle{#5}} + \end{tabular*}% } % Define an environment for cvsubentry @@ -581,6 +572,8 @@ % Define an environment for cvhonor \newenvironment{cvhonors}{% + \vspace{\acvSectionContentTopSkip} + \vspace{-2mm} \begin{center} \setlength\tabcolsep{0pt} \setlength{\extrarowheight}{0pt} @@ -597,6 +590,8 @@ % Define an environment for cvskill \newenvironment{cvskills}{% + \vspace{\acvSectionContentTopSkip} + \vspace{-2.0mm} \begin{center} \setlength\tabcolsep{1ex} \setlength{\extrarowheight}{0pt} @@ -613,7 +608,7 @@ % Define an environment for cvitems(for cventry) \newenvironment{cvitems}{% - \vspace{-4mm} + \vspace{-4.0mm} \begin{justify} \begin{itemize}[leftmargin=2ex, nosep, noitemsep] \setlength{\parskip}{0pt} @@ -621,7 +616,7 @@ }{% \end{itemize} \end{justify} - \vspace{-2mm} + \vspace{-4.0mm} } diff --git a/examples/coverletter-0.png b/examples/coverletter-0.png index d501d5b..246e54f 100644 Binary files a/examples/coverletter-0.png and b/examples/coverletter-0.png differ diff --git a/examples/coverletter-1.png b/examples/coverletter-1.png index 383f3cb..29f1d5c 100644 Binary files a/examples/coverletter-1.png and b/examples/coverletter-1.png differ diff --git a/examples/coverletter.pdf b/examples/coverletter.pdf index a3b6255..c9541e7 100644 Binary files a/examples/coverletter.pdf and b/examples/coverletter.pdf differ diff --git a/examples/coverletter.tex b/examples/coverletter.tex index e7aec85..6c73e98 100644 --- a/examples/coverletter.tex +++ b/examples/coverletter.tex @@ -40,6 +40,9 @@ % \definecolor{graytext}{HTML}{5D5D5D} % \definecolor{lighttext}{HTML}{999999} +% Set false if you don't want to highlight section with awesome color +\setbool{acvSectionColorHighlight}{true} + % If you would like to change the social information separator from a pipe (|) to something else \renewcommand{\acvHeaderSocialSep}{\quad\textbar\quad} @@ -57,12 +60,13 @@ \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."} +\quote{``Must be the change that you want to see in the world."} %------------------------------------------------------------------------------- diff --git a/examples/cv.pdf b/examples/cv.pdf index 2411dc1..962bbb1 100644 Binary files a/examples/cv.pdf and b/examples/cv.pdf differ diff --git a/examples/cv.tex b/examples/cv.tex index a3186e3..ef364b6 100644 --- a/examples/cv.tex +++ b/examples/cv.tex @@ -21,7 +21,7 @@ \documentclass[11pt, a4paper]{awesome-cv} % Configure page margins with geometry -% \geometry{left=1.4cm, top=.8cm, right=1.4cm, bottom=1.8cm, footskip=.5cm} +\geometry{left=1.4cm, top=.8cm, right=1.4cm, bottom=1.8cm, footskip=.5cm} % Specify the location of the included fonts \fontdir[fonts/] @@ -40,6 +40,9 @@ % \definecolor{graytext}{HTML}{5D5D5D} % \definecolor{lighttext}{HTML}{999999} +% Set false if you don't want to highlight section with awesome color +\setbool{acvSectionColorHighlight}{true} + % If you would like to change the social information separator from a pipe (|) to something else \renewcommand{\acvHeaderSocialSep}{\quad\textbar\quad} @@ -57,12 +60,13 @@ \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."} +\quote{``Must be the change that you want to see in the world."} %------------------------------------------------------------------------------- % BIBLIOGRAPHY diff --git a/examples/resume-0.png b/examples/resume-0.png index e491974..13e35cb 100644 Binary files a/examples/resume-0.png and b/examples/resume-0.png differ diff --git a/examples/resume-1.png b/examples/resume-1.png index 99f18bf..6b3fb1c 100644 Binary files a/examples/resume-1.png and b/examples/resume-1.png differ diff --git a/examples/resume.pdf b/examples/resume.pdf index 3ffc425..cf4f9ed 100644 Binary files a/examples/resume.pdf and b/examples/resume.pdf differ diff --git a/examples/resume.tex b/examples/resume.tex index b29830e..7199cdb 100644 --- a/examples/resume.tex +++ b/examples/resume.tex @@ -21,7 +21,7 @@ \documentclass[11pt, a4paper]{awesome-cv} % Configure page margins with geometry -% \geometry{left=1.4cm, top=.8cm, right=1.4cm, bottom=1.8cm, footskip=.5cm} +\geometry{left=1.4cm, top=.8cm, right=1.4cm, bottom=1.8cm, footskip=.5cm} % Specify the location of the included fonts \fontdir[fonts/] @@ -40,6 +40,9 @@ % \definecolor{graytext}{HTML}{5D5D5D} % \definecolor{lighttext}{HTML}{999999} +% Set false if you don't want to highlight section with awesome color +\setbool{acvSectionColorHighlight}{true} + % If you would like to change the social information separator from a pipe (|) to something else \renewcommand{\acvHeaderSocialSep}{\quad\textbar\quad} @@ -57,12 +60,13 @@ \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."} +\quote{``Must be the change that you want to see in the world."} %------------------------------------------------------------------------------- diff --git a/examples/resume/summary.tex b/examples/resume/summary.tex index b16f718..b56f3dc 100644 --- a/examples/resume/summary.tex +++ b/examples/resume/summary.tex @@ -8,5 +8,7 @@ % CONTENT %------------------------------------------------------------------------------- \begin{cvparagraph} + +%--------------------------------------------------------- Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis ullamcorper neque sit amet lectus facilisis sed luctus nisl iaculis. Vivamus at neque arcu, sed tempor quam. Curabitur pharetra tincidunt tincidunt. Morbi volutpat feugiat mauris, quis tempor neque vehicula volutpat. Duis tristique justo vel massa fermentum accumsan. Mauris ante elit, feugiat vestibulum tempor eget, eleifend ac ipsum. Donec scelerisque lobortis ipsum eu vestibulum. Pellentesque vel massa at felis accumsan rhoncus. \end{cvparagraph}