Skip to content

Commit

Permalink
Add comma after position if title is not empty
Browse files Browse the repository at this point in the history
Make comma conditional that are used after position in cvhonor.
Use it if the title is not empty.
  • Loading branch information
randomnoise committed Jul 27, 2023
1 parent 72a3501 commit 7f075d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion awesome-cv.cls
Original file line number Diff line number Diff line change
Expand Up @@ -692,7 +692,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}\ifempty{#2}{}{,} \honortitlestyle{#2} & \honorlocationstyle{#3} \\
}

% Define an environment for cvskill
Expand Down

0 comments on commit 7f075d5

Please sign in to comment.