From c7b31ecf10afbd67c50539bed5f834463d66c456 Mon Sep 17 00:00:00 2001 From: gtmnayan <50981692+gtm-nayan@users.noreply.github.com> Date: Fri, 29 Apr 2022 08:20:01 +0545 Subject: [PATCH] Omit comma if honortitle is empty --- awesome-cv.cls | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/awesome-cv.cls b/awesome-cv.cls index f2e717a..9b49823 100644 --- a/awesome-cv.cls +++ b/awesome-cv.cls @@ -692,7 +692,7 @@ % Define a line of cv information(honor, award or something else) % Usage: \cvhonor{}{}{<location>}{<date>} \newcommand*{\cvhonor}[4]{% - \honordatestyle{#4} & \honorpositionstyle{#1}, \honortitlestyle{#2} & \honorlocationstyle{#3} \\ + \honordatestyle{#4} & \honorpositionstyle{#1}\ifthenelse{\equal{#2}{}}{}{,} \honortitlestyle{#2} & \honorlocationstyle{#3} \\ } % Define an environment for cvskill