Remove gradient feature on section color & Add alignment feature on header

This commit is contained in:
Posquit0.BJ 2016-12-03 03:22:04 +09:00
parent 41d7a71a61
commit 29ef605bc1
3 changed files with 13 additions and 18 deletions

View file

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

View file

@ -51,11 +51,12 @@
% PERSONAL INFORMATION % PERSONAL INFORMATION
% Comment any of the lines below if they are not required % Comment any of the lines below if they are not required
%------------------------------------------------------------------------------- %-------------------------------------------------------------------------------
\photoid{./examples/profile.png}
\name{Claud D.}{Park} \name{Claud D.}{Park}
\position{Software Engineer{\enskip\cdotp\enskip}Security Expert} \position{Software Engineer{\enskip\cdotp\enskip}Security Expert}
\address{246-1002, Gwangmyeongmayrouge Apt. 86, Cheongna lime-ro, Seo-gu, Incheon-si, 404-180, Rep. of KOREA} \address{246-1002, Gwangmyeongmayrouge Apt. 86, Cheongna lime-ro, Seo-gu, Incheon-si, 404-180, Rep. of KOREA}
\mobile{(+82) 10-9030-1843} \mobile{(+82) 10-9030-1843}
\email{posquit0.bj@gmail.com} \email{posquit0.bj@gmail.com}
\homepage{www.posquit0.com} \homepage{www.posquit0.com}
\github{posquit0} \github{posquit0}
@ -73,6 +74,7 @@
\begin{document} \begin{document}
% Print the header with above personal informations % Print the header with above personal informations
% Give optional argument to change alignment(C: center, L: left, R: right)
\makecvheader \makecvheader
% Print the footer with 3 arguments(<left>, <center>, <right>) % Print the footer with 3 arguments(<left>, <center>, <right>)

View file

@ -43,10 +43,6 @@
% Set false if you don't want to highlight section with awesome color % Set false if you don't want to highlight section with awesome color
\setbool{acvSectionColorHighlight}{true} \setbool{acvSectionColorHighlight}{true}
% Set false if you don't want to have a gradient effect in the highlight section with awesome color
% If true, it implicitly ignores whether the acvSectionColorHighlight is true or not.
\setbool{acvSectionColorHighlightGradient}{true}
% If you would like to change the social information separator from a pipe (|) to something else % If you would like to change the social information separator from a pipe (|) to something else
\renewcommand{\acvHeaderSocialSep}{\quad\textbar\quad} \renewcommand{\acvHeaderSocialSep}{\quad\textbar\quad}
@ -55,11 +51,12 @@
% PERSONAL INFORMATION % PERSONAL INFORMATION
% Comment any of the lines below if they are not required % Comment any of the lines below if they are not required
%------------------------------------------------------------------------------- %-------------------------------------------------------------------------------
\photoid{./examples/profile.png}
\name{Claud D.}{Park} \name{Claud D.}{Park}
\position{Software Engineer{\enskip\cdotp\enskip}Security Expert} \position{Software Engineer{\enskip\cdotp\enskip}Security Expert}
\address{246-1002, Gwangmyeongmayrouge Apt. 86, Cheongna lime-ro, Seo-gu, Incheon-si, 404-180, Rep. of KOREA} \address{246-1002, Gwangmyeongmayrouge Apt. 86, Cheongna lime-ro, Seo-gu, Incheon-si, 404-180, Rep. of KOREA}
\mobile{(+82) 10-9030-1843} \mobile{(+82) 10-9030-1843}
\email{posquit0.bj@gmail.com} \email{posquit0.bj@gmail.com}
\homepage{www.posquit0.com} \homepage{www.posquit0.com}
\github{posquit0} \github{posquit0}
@ -77,6 +74,7 @@
\begin{document} \begin{document}
% Print the header with above personal informations % Print the header with above personal informations
% Give optional argument to change alignment(C: center, L: left, R: right)
\makecvheader \makecvheader
% Print the footer with 3 arguments(<left>, <center>, <right>) % Print the footer with 3 arguments(<left>, <center>, <right>)