Skip to content

Commit

Permalink
update to version 1.5 (add boolean value to switch section color high…
Browse files Browse the repository at this point in the history
…lighting)
  • Loading branch information
posquit0 committed Jan 30, 2016
1 parent 30aa4d7 commit 9806e0b
Show file tree
Hide file tree
Showing 11 changed files with 15 additions and 14 deletions.
20 changes: 6 additions & 14 deletions awesome-cv.cls
Original file line number Diff line number Diff line change
Expand Up @@ -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}


Expand Down Expand Up @@ -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}%
}


Expand Down
Binary file modified examples/coverletter-0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified examples/coverletter-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified examples/coverletter.pdf
Binary file not shown.
3 changes: 3 additions & 0 deletions examples/coverletter.tex
Original file line number Diff line number Diff line change
Expand Up @@ -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}

Expand Down
Binary file modified examples/cv.pdf
Binary file not shown.
3 changes: 3 additions & 0 deletions examples/cv.tex
Original file line number Diff line number Diff line change
Expand Up @@ -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}

Expand Down
Binary file modified examples/resume-0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified examples/resume-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified examples/resume.pdf
Binary file not shown.
3 changes: 3 additions & 0 deletions examples/resume.tex
Original file line number Diff line number Diff line change
Expand Up @@ -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}

Expand Down

0 comments on commit 9806e0b

Please sign in to comment.