diff --git a/awesome-cv.cls b/awesome-cv.cls index fe1ae19..1602025 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}% } 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..31ffe52 100644 Binary files a/examples/coverletter.pdf and b/examples/coverletter.pdf differ diff --git a/examples/coverletter.tex b/examples/coverletter.tex index 99cff0d..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} diff --git a/examples/cv.pdf b/examples/cv.pdf index 2411dc1..202796d 100644 Binary files a/examples/cv.pdf and b/examples/cv.pdf differ diff --git a/examples/cv.tex b/examples/cv.tex index aeaee2c..f365367 100644 --- a/examples/cv.tex +++ b/examples/cv.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} diff --git a/examples/resume-0.png b/examples/resume-0.png index e491974..023eec0 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..85fced6 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..d866a8f 100644 Binary files a/examples/resume.pdf and b/examples/resume.pdf differ diff --git a/examples/resume.tex b/examples/resume.tex index a75b7a6..306712f 100644 --- a/examples/resume.tex +++ b/examples/resume.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}