diff --git a/awesome-cv.cls b/awesome-cv.cls index d76bbaa..d7ee87d 100644 --- a/awesome-cv.cls +++ b/awesome-cv.cls @@ -47,7 +47,7 @@ % 3rd party packages %------------------------------------------------------------------------------- % Needed to make fixed length table -\RequirePackage{array} +\RequirePackage{tabularx} % Needed to handle list environment \RequirePackage{enumitem} % Needed to handle text alignment @@ -592,18 +592,16 @@ \newenvironment{cvskills}{% \vspace{\acvSectionContentTopSkip} \vspace{-2.0mm} - \begin{center} \setlength\tabcolsep{1ex} \setlength{\extrarowheight}{0pt} - \begin{tabular*}{\textwidth}{@{\extracolsep{\fill}} r L{\textwidth * \real{0.9}}} + \tabularx{\textwidth}{rX} }{% - \end{tabular*} - \end{center} + \endtabularx } % Define a line of cv information(skill) % Usage: \cvskill{}{} \newcommand*{\cvskill}[2]{% - \skilltypestyle{#1} & \skillsetstyle{#2} \\ + \skilltypestyle{#1} & \leavevmode\skillsetstyle{#2} \\ } % Define an environment for cvitems(for cventry)