From f263ff14b59dd06a62874f653af0f78e867187c3 Mon Sep 17 00:00:00 2001 From: Fa773N M0nK Date: Sun, 4 Dec 2016 18:05:10 +0530 Subject: [PATCH] cvhonor: Comma is added only if #2 is not empty --- awesome-cv.cls | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/awesome-cv.cls b/awesome-cv.cls index 2ea5b78..b5f761b 100644 --- a/awesome-cv.cls +++ b/awesome-cv.cls @@ -616,7 +616,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{\isempty{#2}}{}{,} \honortitlestyle{#2} & \honorlocationstyle{#3} \\ } % Define an environment for cvskill