From 7ababeb422913f9f8c4e57ef8da42e8fc63dac85 Mon Sep 17 00:00:00 2001 From: jdalrymple Date: Mon, 10 Apr 2017 16:18:02 -0400 Subject: [PATCH] Making the description an optional argument --- awesome-cv.cls | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/awesome-cv.cls b/awesome-cv.cls index f720361..ef2e69d 100644 --- a/awesome-cv.cls +++ b/awesome-cv.cls @@ -614,11 +614,11 @@ \end{tabular*} \end{center} } + % Define a line of cv information(honor, award or something else) -% Usage: \cvhonor{}{}{<description>}{<location>}{<date>} -\newcommand*{\cvhonor}[5]{% - \honordatestyle{#5} & \honorpositionstyle{#1}, \honortitlestyle{#2} & \honorlocationstyle{#4} \cr & \honordescriptionstyle{#3} - \\ +% Usage: \cvhonor[<description>]{<position>}{<title>}{<location>}{<date>} +\newcommand*{\cvhonor}[5][]{ + \honordatestyle{#5} & \honorpositionstyle{#2}, \honortitlestyle{#3} & \honorlocationstyle{#4} \cr & \honordescriptionstyle{#1}\\ } % Define an environment for cvskill