mirror of
https://github.com/posquit0/Awesome-CV.git
synced 2024-11-22 05:58:33 +00:00
Remove gradient feature on section color & Add alignment feature on header
This commit is contained in:
parent
41d7a71a61
commit
29ef605bc1
3 changed files with 13 additions and 18 deletions
|
@ -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}%
|
||||||
|
|
|
@ -51,6 +51,7 @@
|
||||||
% 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}
|
||||||
|
@ -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>)
|
||||||
|
|
|
@ -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,6 +51,7 @@
|
||||||
% 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}
|
||||||
|
@ -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>)
|
||||||
|
|
Loading…
Reference in a new issue