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:
% 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

View file

@ -51,11 +51,12 @@
% PERSONAL INFORMATION
% Comment any of the lines below if they are not required
%-------------------------------------------------------------------------------
\photoid{./examples/profile.png}
\name{Claud D.}{Park}
\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}
\mobile{(+82) 10-9030-1843}
\mobile{(+82) 10-9030-1843}
\email{posquit0.bj@gmail.com}
\homepage{www.posquit0.com}
\github{posquit0}
@ -73,6 +74,7 @@
\begin{document}
% Print the header with above personal informations
% Give optional argument to change alignment(C: center, L: left, R: right)
\makecvheader
% 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
\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
\renewcommand{\acvHeaderSocialSep}{\quad\textbar\quad}
@ -55,11 +51,12 @@
% PERSONAL INFORMATION
% Comment any of the lines below if they are not required
%-------------------------------------------------------------------------------
\photoid{./examples/profile.png}
\name{Claud D.}{Park}
\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}
\mobile{(+82) 10-9030-1843}
\mobile{(+82) 10-9030-1843}
\email{posquit0.bj@gmail.com}
\homepage{www.posquit0.com}
\github{posquit0}
@ -77,6 +74,7 @@
\begin{document}
% Print the header with above personal informations
% Give optional argument to change alignment(C: center, L: left, R: right)
\makecvheader
% Print the footer with 3 arguments(<left>, <center>, <right>)