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

@ -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}%

View file

@ -51,6 +51,7 @@
% 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}
@ -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,6 +51,7 @@
% 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}
@ -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>)