From 4f484bc8a72b7d5ed651df23a61c5b8fb1fb1f0e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johannes=20B=C3=B6ttcher?= Date: Mon, 29 Feb 2016 18:56:28 +0100 Subject: [PATCH] adressing tabularwidth issue --- awesome-cv.cls | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) 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)