From 4b55638cc3ed732d42901d3ce52de8ccd2b2132d Mon Sep 17 00:00:00 2001 From: randomnoise Date: Thu, 27 Jul 2023 12:03:31 +0300 Subject: [PATCH] Add comma after position if title is not empty Make comma conditional that are used after position in cvhonor. Use it if the title 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 0bc3b45..a375b2f 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}\ifempty{#2}{}{,} \honortitlestyle{#2} & \honorlocationstyle{#3} \\ } % Define an environment for cvskill