cvhonor: Comma is added only if #2 is not empty

This commit is contained in:
Fa773N M0nK 2016-12-04 18:05:10 +05:30 committed by GitHub
parent 0ad94fe74e
commit f263ff14b5

View file

@ -616,7 +616,7 @@
% Define a line of cv information(honor, award or something else)
% Usage: \cvhonor{<position>}{<title>}{<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