Remove gradient feature on section color & Add alignment feature on header
This commit is contained in:
+7
-12
@@ -10,7 +10,7 @@
|
||||
%
|
||||
% Notes:
|
||||
% 1) This class file defines the structure and layout of the template file (cv.tex, resume.tex).
|
||||
% 2) It has been written in such a way that under most circumstances you
|
||||
% 2) It has been written in such a way that under most circumstances you
|
||||
% should not need to edit it.
|
||||
%
|
||||
% Class license:
|
||||
@@ -150,14 +150,10 @@
|
||||
% Boolean value to switch section color highlighting
|
||||
\newbool{acvSectionColorHighlight}
|
||||
\setbool{acvSectionColorHighlight}{true}
|
||||
\newbool{acvSectionColorHighlightGradient}
|
||||
\setbool{acvSectionColorHighlightGradient}{true}
|
||||
|
||||
% Awesome section color
|
||||
\def\@sectioncolor#1#2#3{%
|
||||
\ifbool{acvSectionColorHighlightGradient}
|
||||
{{\color{awesome}#1\color{awesome!80!black}#2\color{awesome!60!black}#3}}%
|
||||
{\ifbool{acvSectionColorHighlight}{{\color{awesome}#1#2#3}}{#1#2#3}}%
|
||||
\ifbool{acvSectionColorHighlight}{{\color{awesome}#1#2#3}}{#1#2#3}%
|
||||
}
|
||||
|
||||
|
||||
@@ -397,7 +393,7 @@
|
||||
%-------------------------------------------------------------------------------
|
||||
% Define a header for CV
|
||||
% Usage: \makecvheader
|
||||
\newcommand*{\makecvheader}{%
|
||||
\newcommand*{\makecvheader}[1][C]{%
|
||||
\newlength{\headertextwidth}
|
||||
\newlength{\headerphotoidwidth}
|
||||
\ifthenelse{\isundefined{\@phid}}{
|
||||
@@ -410,7 +406,7 @@
|
||||
\ifthenelse{\isundefined{\@phishape}}{\def\@phishape{circle}}{}
|
||||
\ifthenelse{\isundefined{\@phiedge}}{\def\@phiedge{edge}}{}
|
||||
\begin{minipage}[c]{\headertextwidth}
|
||||
\begin{center}
|
||||
\ifthenelse{\equal{#1}{L}}{\raggedright}{\ifthenelse{\equal{#1}{R}}{\raggedleft}{\centering}}
|
||||
\headerfirstnamestyle{\@firstname}\headerlastnamestyle{{}\acvHeaderNameDelim\@lastname}%
|
||||
\\[\acvHeaderAfterNameSkip]%
|
||||
\ifthenelse{\isundefined{\@position}}{}{\headerpositionstyle{\@position\\[\acvHeaderAfterPositionSkip]}}%
|
||||
@@ -488,7 +484,6 @@
|
||||
\ifthenelse{\isundefined{\@quote}}%
|
||||
{}%
|
||||
{\headerquotestyle{\@quote\\}\vspace{\acvHeaderAfterQuoteSkip}}%
|
||||
\end{center}%
|
||||
\end{minipage}%
|
||||
\ifthenelse{\isundefined{\@phid}}{}{%
|
||||
\newlength{\phiddim}%
|
||||
@@ -520,7 +515,7 @@
|
||||
\fancyfoot{}
|
||||
\fancyfoot[L]{\footerstyle{#1}}
|
||||
\fancyfoot[C]{\footerstyle{#2}}
|
||||
\fancyfoot[R]{\footerstyle{#3}}
|
||||
\fancyfoot[R]{\footerstyle{#3}}
|
||||
}
|
||||
|
||||
% Define a section for CV
|
||||
@@ -587,7 +582,7 @@
|
||||
\begin{tabular*}{\textwidth}{@{\extracolsep{\fill}} L{\textwidth - 4.5cm} R{4.5cm}}
|
||||
\setlength\leftskip{0.2cm}
|
||||
\subentrytitlestyle{#2} & \ifthenelse{\equal{#1}{}}
|
||||
{\subentrydatestyle{#3}}{}
|
||||
{\subentrydatestyle{#3}}{}
|
||||
\ifthenelse{\equal{#1}{}}
|
||||
{}
|
||||
{\subentrypositionstyle{#1} & \subentrydatestyle{#3} \\}
|
||||
@@ -681,7 +676,7 @@
|
||||
\ifthenelse{\isundefined{\@lettertitle}}
|
||||
{}
|
||||
{\lettertitlestyle{\@lettertitle} \\}
|
||||
\lettertextstyle{\@letteropening}
|
||||
\lettertextstyle{\@letteropening}
|
||||
}
|
||||
|
||||
% Define a closing of the cover letter
|
||||
|
||||
Reference in New Issue
Block a user