add cvskills & modify color sets
This commit is contained in:
+44
-24
@@ -6,7 +6,7 @@
|
||||
%-------------------------------------------------------------------------------
|
||||
% Identification
|
||||
%-------------------------------------------------------------------------------
|
||||
\ProvidesClass{awesome-cv}[2015/05/05 v1.0.0 Awesome Curriculum Vitae Class]
|
||||
\ProvidesClass{awesome-cv}[2015/11/19 v1.1.0 Awesome Curriculum Vitae Class]
|
||||
\NeedsTeXFormat{LaTeX2e}
|
||||
|
||||
|
||||
@@ -119,6 +119,11 @@
|
||||
\definecolor{purple}{HTML}{D3A4F9}
|
||||
\definecolor{red}{HTML}{FB4485}
|
||||
\definecolor{blue}{HTML}{6CE0F1}
|
||||
% Text colors
|
||||
\definecolor{darktext}{HTML}{414141}
|
||||
\colorlet{text}{darkgray}
|
||||
\colorlet{graytext}{gray}
|
||||
\colorlet{lighttext}{lightgray}
|
||||
% Awesome colors
|
||||
\definecolor{awesome-emerald}{HTML}{00A388}
|
||||
\definecolor{awesome-skyblue}{HTML}{0395DE}
|
||||
@@ -199,35 +204,39 @@
|
||||
%-------------------------------------------------------------------------------
|
||||
% Configure styles for each CV elements
|
||||
% For fundamental structures
|
||||
\newcommand*{\headerfirstnamestyle}[1]{{\fontsize{32pt}{1em}\headerfontlight\color{gray} #1}}
|
||||
\newcommand*{\headerlastnamestyle}[1]{{\fontsize{32pt}{1em}\headerfont\bfseries\color{darkgray} #1}}
|
||||
\newcommand*{\headeraddressstyle}[1]{{\fontsize{8pt}{1em}\headerfont\itshape\color{lightgray} #1}}
|
||||
\newcommand*{\headersocialstyle}[1]{{\fontsize{6.8pt}{1em}\headerfont\color{darkgray} #1}}
|
||||
\newcommand*{\headerfirstnamestyle}[1]{{\fontsize{32pt}{1em}\headerfontlight\color{graytext} #1}}
|
||||
\newcommand*{\headerlastnamestyle}[1]{{\fontsize{32pt}{1em}\headerfont\bfseries\color{text} #1}}
|
||||
\newcommand*{\headeraddressstyle}[1]{{\fontsize{8pt}{1em}\headerfont\itshape\color{lighttext} #1}}
|
||||
\newcommand*{\headersocialstyle}[1]{{\fontsize{6.8pt}{1em}\headerfont\color{text} #1}}
|
||||
\newcommand*{\headerquotestyle}[1]{{\fontsize{11pt}{1em}\headerfont\color{awesome} #1}}
|
||||
\newcommand*{\footerstyle}[1]{{\fontsize{8pt}{1em}\footerfont\scshape\color{lightgray} #1}}
|
||||
\newcommand*{\sectionstyle}[1]{{\fontsize{16pt}{1em}\bodyfont\bfseries\color{darkgray}\@sectioncolor #1}}
|
||||
\newcommand*{\subsectionstyle}[1]{{\fontsize{12pt}{1em}\bodyfont\scshape\textcolor{darkgray}{#1}}}
|
||||
\newcommand*{\footerstyle}[1]{{\fontsize{8pt}{1em}\footerfont\scshape\color{lighttext} #1}}
|
||||
\newcommand*{\sectionstyle}[1]{{\fontsize{16pt}{1em}\bodyfont\bfseries\color{text}\@sectioncolor #1}}
|
||||
\newcommand*{\subsectionstyle}[1]{{\fontsize{12pt}{1em}\bodyfont\scshape\textcolor{text}{#1}}}
|
||||
|
||||
% For elements of entry
|
||||
\newcommand*{\entrytitlestyle}[1]{{\fontsize{10pt}{1em}\bodyfont\bfseries\color{gray} #1}}
|
||||
\newcommand*{\entrypositionstyle}[1]{{\fontsize{8pt}{1em}\bodyfont\scshape\color{gray} #1}}
|
||||
\newcommand*{\entrydatestyle}[1]{{\fontsize{8pt}{1em}\bodyfontlight\slshape\color{gray} #1}}
|
||||
\newcommand*{\entrytitlestyle}[1]{{\fontsize{10pt}{1em}\bodyfont\bfseries\color{darktext} #1}}
|
||||
\newcommand*{\entrypositionstyle}[1]{{\fontsize{8pt}{1em}\bodyfont\scshape\color{graytext} #1}}
|
||||
\newcommand*{\entrydatestyle}[1]{{\fontsize{8pt}{1em}\bodyfontlight\slshape\color{graytext} #1}}
|
||||
\newcommand*{\entrylocationstyle}[1]{{\fontsize{9pt}{1em}\bodyfontlight\slshape\color{awesome} #1}}
|
||||
\newcommand*{\descriptionstyle}[1]{{\fontsize{9pt}{1em}\bodyfontlight\upshape\color{darkgray} #1}}
|
||||
\newcommand*{\descriptionstyle}[1]{{\fontsize{9pt}{1em}\bodyfontlight\upshape\color{text} #1}}
|
||||
|
||||
% For elements of subentry
|
||||
\newcommand*{\subentrytitlestyle}[1]{{\fontsize{8pt}{1em}\bodyfont\mdseries\color{gray} #1}}
|
||||
\newcommand*{\subentrypositionstyle}[1]{{\fontsize{7pt}{1em}\bodyfont\scshape\color{gray} #1}}
|
||||
\newcommand*{\subentrydatestyle}[1]{{\fontsize{7pt}{1em}\bodyfontlight\slshape\color{gray} #1}}
|
||||
\newcommand*{\subentrytitlestyle}[1]{{\fontsize{8pt}{1em}\bodyfont\mdseries\color{graytext} #1}}
|
||||
\newcommand*{\subentrypositionstyle}[1]{{\fontsize{7pt}{1em}\bodyfont\scshape\color{graytext} #1}}
|
||||
\newcommand*{\subentrydatestyle}[1]{{\fontsize{7pt}{1em}\bodyfontlight\slshape\color{graytext} #1}}
|
||||
\newcommand*{\subentrylocationstyle}[1]{{\fontsize{7pt}{1em}\bodyfontlight\slshape\color{awesome} #1}}
|
||||
\newcommand*{\subdescriptionstyle}[1]{{\fontsize{8pt}{1em}\bodyfontlight\upshape\color{darkgray} #1}}
|
||||
\newcommand*{\subdescriptionstyle}[1]{{\fontsize{8pt}{1em}\bodyfontlight\upshape\color{text} #1}}
|
||||
|
||||
% For elements of honor
|
||||
\newcommand*{\honortitlestyle}[1]{{\fontsize{9pt}{1em}\bodyfont\color{gray} #1}}
|
||||
\newcommand*{\honorpositionstyle}[1]{{\fontsize{9pt}{1em}\bodyfont\bfseries\color{gray} #1}}
|
||||
\newcommand*{\honordatestyle}[1]{{\fontsize{9pt}{1em}\bodyfont\color{gray} #1}}
|
||||
\newcommand*{\honortitlestyle}[1]{{\fontsize{9pt}{1em}\bodyfont\color{graytext} #1}}
|
||||
\newcommand*{\honorpositionstyle}[1]{{\fontsize{9pt}{1em}\bodyfont\bfseries\color{darktext} #1}}
|
||||
\newcommand*{\honordatestyle}[1]{{\fontsize{9pt}{1em}\bodyfont\color{graytext} #1}}
|
||||
\newcommand*{\honorlocationstyle}[1]{{\fontsize{9pt}{1em}\bodyfontlight\slshape\color{awesome} #1}}
|
||||
|
||||
% For elements of skill
|
||||
\newcommand*{\skilltypestyle}[1]{{\fontsize{10pt}{1em}\bodyfont\bfseries\color{darktext} #1}}
|
||||
\newcommand*{\skillsetstyle}[1]{{\fontsize{9pt}{1em}\bodyfontlight\color{text} #1}}
|
||||
|
||||
|
||||
%-------------------------------------------------------------------------------
|
||||
% Commands for personal information
|
||||
@@ -312,11 +321,8 @@
|
||||
% Define a header for CV
|
||||
% Usage: \makecvheader
|
||||
\newcommand*{\makecvheader}{
|
||||
%\descriptionstyle\faPhone
|
||||
%\descriptionstyle\faQuoteLeft
|
||||
%\descriptionstyle\faQuoteRight
|
||||
%\descriptionstyle\faGroup
|
||||
%\descriptionstyle\faGraduationCap
|
||||
%\descriptionstyle\faFax
|
||||
%\\
|
||||
\begin{center}
|
||||
@@ -493,8 +499,22 @@
|
||||
\\
|
||||
}
|
||||
|
||||
% Define a line of cv information(language)
|
||||
%\newcommand*{\cvlanguage}[3]{\cvitemwithcomment{#1}{#2}{#3}}
|
||||
% Define an environment for cvskill
|
||||
\newenvironment{cvskills}{
|
||||
\begin{center}
|
||||
\setlength\tabcolsep{1ex}
|
||||
\setlength{\extrarowheight}{0pt}
|
||||
\begin{tabular*}{\textwidth}{@{\extracolsep{\fill}} r L{15.2cm}}
|
||||
}{
|
||||
\end{tabular*}
|
||||
\end{center}
|
||||
}
|
||||
% Define a line of cv information(skill)
|
||||
% Usage: \cvskill{<type>}{<skillset>}
|
||||
\newcommand*{\cvskill}[2]{
|
||||
\skilltypestyle{#1} & \skillsetstyle{#2}
|
||||
\\
|
||||
}
|
||||
|
||||
% Define an environment for cvitems(for cventry)
|
||||
\newenvironment{cvitems}{
|
||||
|
||||
Reference in New Issue
Block a user