From cd8d43aedad3d014f7e79439d9934fa6f3577590 Mon Sep 17 00:00:00 2001 From: Callum Dempsey Leach Date: Sun, 31 Dec 2017 15:49:54 +0000 Subject: [PATCH] Changed cvskill env left-column to vertical top --- awesome-cv.cls | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/awesome-cv.cls b/awesome-cv.cls index d1c1074..87972cc 100644 --- a/awesome-cv.cls +++ b/awesome-cv.cls @@ -387,6 +387,7 @@ \newcolumntype{L}[1]{>{\raggedright\let\newline\\\arraybackslash\hspace{0pt}}m{#1}} \newcolumntype{C}[1]{>{\centering\let\newline\\\arraybackslash\hspace{0pt}}m{#1}} \newcolumntype{R}[1]{>{\raggedleft\let\newline\\\arraybackslash\hspace{0pt}}m{#1}} +\newcolumntype{K}[1]{>{\raggedright\let\newline\\\arraybackslash\hspace{0pt}}p{#1}} % Use to draw horizontal line with specific thickness \def\vhrulefill#1{\leavevmode\leaders\hrule\@height#1\hfill \kern\z@} @@ -620,23 +621,21 @@ } % Define an environment for cvskill -\newenvironment{cvskills}{% - \vspace{\acvSectionContentTopSkip} - \vspace{-2.0mm} +\newenvironment{cvskills}{ \begin{center} \setlength\tabcolsep{1ex} \setlength{\extrarowheight}{0pt} - \begin{tabular*}{\textwidth}{@{\extracolsep{\fill}} r L{\textwidth * \real{0.9}}} -}{% + \begin{tabular*}{\textwidth}{@{\extracolsep{\fill}} r K{13.2cm}} +}{ \end{tabular*} \end{center} } % Define a line of cv information(skill) % Usage: \cvskill{}{} -\newcommand*{\cvskill}[2]{% - \skilltypestyle{#1} & \skillsetstyle{#2} \\ +\newcommand*{\cvskill}[2]{ + \skilltypestyle{#1} & \skillsetstyle{#2} + \\ } - % Define an environment for cvitems(for cventry) \newenvironment{cvitems}{% \vspace{-4.0mm}