diff --git a/awesome-cv.cls b/awesome-cv.cls index fe1ae19ce..1602025c9 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 d501d5b67..246e54f88 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 383f3cbed..29f1d5ca2 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 a3b625592..31ffe5255 100644 Binary files a/examples/coverletter.pdf and b/examples/coverletter.pdf differ diff --git a/examples/coverletter.tex b/examples/coverletter.tex index 99cff0d63..6c73e9886 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 2411dc188..202796d3b 100644 Binary files a/examples/cv.pdf and b/examples/cv.pdf differ diff --git a/examples/cv.tex b/examples/cv.tex index aeaee2ca0..f36536795 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 e49197495..023eec00f 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 99f18bf37..85fced6ab 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 3ffc425ce..d866a8f34 100644 Binary files a/examples/resume.pdf and b/examples/resume.pdf differ diff --git a/examples/resume.tex b/examples/resume.tex index a75b7a69e..306712f58 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}