Omit comma if honortitle is empty

This commit is contained in:
gtmnayan 2022-04-29 08:20:01 +05:45 committed by GitHub
parent 1a5691e63f
commit c7b31ecf10
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -692,7 +692,7 @@
% Define a line of cv information(honor, award or something else) % Define a line of cv information(honor, award or something else)
% Usage: \cvhonor{<position>}{<title>}{<location>}{<date>} % Usage: \cvhonor{<position>}{<title>}{<location>}{<date>}
\newcommand*{\cvhonor}[4]{% \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 % Define an environment for cvskill