From dac2344440a9639cfb25cc34c0fc800a5c31658a Mon Sep 17 00:00:00 2001 From: Muhammad Furqan Date: Wed, 13 Sep 2023 16:13:25 +0500 Subject: [PATCH 1/2] Fix overflow of cvskill text into the margins Signed-off-by: Muhammad Furqan --- awesome-cv.cls | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/awesome-cv.cls b/awesome-cv.cls index da3d76229..ee2bd4c1a 100644 --- a/awesome-cv.cls +++ b/awesome-cv.cls @@ -725,7 +725,7 @@ \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{2.15cm} L{\textwidth - 2.5cm}} }{% \end{tabular*} \end{center} From 5bd8ce5d0f18ac434c8b27d427944a05e3d48943 Mon Sep 17 00:00:00 2001 From: Muhammad Furqan Date: Wed, 13 Sep 2023 16:37:25 +0500 Subject: [PATCH 2/2] Fix multi-line CVSkills Changes tabular alignment from middle to top This fixes the alinment issue when CVSkills overflow one line Has no impact on rest of the CV's alignment Signed-off-by: Muhammad Furqan --- awesome-cv.cls | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/awesome-cv.cls b/awesome-cv.cls index ee2bd4c1a..d4753175a 100644 --- a/awesome-cv.cls +++ b/awesome-cv.cls @@ -426,9 +426,9 @@ % Commands for utilities %------------------------------------------------------------------------------- % Use to align an element of tabular table -\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{L}[1]{>{\raggedright\let\newline\\\arraybackslash\hspace{0pt}}p{#1}} +\newcolumntype{C}[1]{>{\centering\let\newline\\\arraybackslash\hspace{0pt}}p{#1}} +\newcolumntype{R}[1]{>{\raggedleft\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@}