diff --git a/awesome-cv.cls b/awesome-cv.cls index d1c1074..aca45ac 100644 --- a/awesome-cv.cls +++ b/awesome-cv.cls @@ -188,7 +188,7 @@ %------------------------------------------------------------------------------- % Configure styles for each CV elements % For fundamental structures -\newcommand*{\headerfirstnamestyle}[1]{{\fontsize{32pt}{1em}\headerfontlight\color{graytext} #1}} +\newcommand*{\headerfirstnamestyle}[1]{{\fontsize{32pt}{1em}\headerfontlight\color{awesome} #1}} \newcommand*{\headerlastnamestyle}[1]{{\fontsize{32pt}{1em}\headerfont\bfseries\color{text} #1}} \newcommand*{\headerpositionstyle}[1]{{\fontsize{7.6pt}{1em}\bodyfont\scshape\color{awesome} #1}} \newcommand*{\headeraddressstyle}[1]{{\fontsize{8pt}{1em}\headerfont\itshape\color{lighttext} #1}} @@ -202,7 +202,7 @@ % For elements of entry \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*{\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{text} #1}} @@ -584,23 +584,21 @@ \end{center} } % Define a subentry of cv information -% Usage: \cvsubentry{}{}{<date>}{<description>} -\newcommand*{\cvsubentry}[4]{% - \setlength\tabcolsep{0pt} +% Usage: \cvsubentry{<position>}{<date>}{<description>} + +\newcommand*{\cvsubentry}[3]{% + \vspace{-4.0mm} % AB Added + \setlength\tabcolsep{0pt} % was 0 \setlength{\extrarowheight}{0pt} \begin{tabular*}{\textwidth}{@{\extracolsep{\fill}} L{\textwidth - 4.5cm} R{4.5cm}} \setlength\leftskip{0.2cm} - \subentrytitlestyle{#2} & \ifthenelse{\equal{#1}{}} - {\subentrydatestyle{#3}}{} - \ifthenelse{\equal{#1}{}} - {} - {\subentrypositionstyle{#1} & \subentrydatestyle{#3} \\} - \ifthenelse{\equal{#4}{}} - {} - {\multicolumn{2}{L{17.0cm}}{\subdescriptionstyle{#4}} \\} + \subentrypositionstyle{#1} & \subentrydatestyle{#2} \\ + \multicolumn{2}{L{\textwidth}}{\subdescriptionstyle{#3}} + \end{tabular*} } + % Define an environment for cvhonor \newenvironment{cvhonors}{% \vspace{\acvSectionContentTopSkip} @@ -650,6 +648,19 @@ \vspace{-4.0mm} } +% Define an environment for subcvitems(for subcventry) +\newenvironment{subcvitems}{% + \vspace{-4.0mm} + \begin{justify} + \begin{itemize}[leftmargin=4ex, nosep, noitemsep] % was 2ex + \setlength{\parskip}{0pt} + \renewcommand{\labelitemi}{\bullet} +}{% + \end{itemize} + \end{justify} + \vspace{-4.0mm} +} + %------------------------------------------------------------------------------- % Commands for elements of Cover Letter