From e140258764fd635f05077394b43dbbb5250ea885 Mon Sep 17 00:00:00 2001 From: Pavan Gupta Date: Mon, 3 Apr 2023 20:32:43 -0700 Subject: [PATCH] Remove extra space when "description" of /cventry is empty This simply checks if the description is empty and if it is, it renders nothing. --- awesome-cv.cls | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/awesome-cv.cls b/awesome-cv.cls index a375b2f..34b3fd3 100644 --- a/awesome-cv.cls +++ b/awesome-cv.cls @@ -649,7 +649,9 @@ {\entrypositionstyle{#1} & \entrydatestyle{#4} \\} {\entrytitlestyle{#2} & \entrylocationstyle{#3} \\ \entrypositionstyle{#1} & \entrydatestyle{#4} \\} - \multicolumn{2}{L{\textwidth}}{\descriptionstyle{#5}} + \ifstrempty{#5} + {} + {\multicolumn{2}{L{\textwidth}}{\descriptionstyle{#5}} \\} \end{tabular*}% }