From ed8e25ea9dbf2b9b209c5a3ce5e6c7ae990fe0af Mon Sep 17 00:00:00 2001 From: jdalrymple Date: Mon, 10 Apr 2017 13:57:50 -0400 Subject: [PATCH] Update awesome-cv.cls Adding honor description options --- awesome-cv.cls | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/awesome-cv.cls b/awesome-cv.cls index d1c1074..c6b7dee 100644 --- a/awesome-cv.cls +++ b/awesome-cv.cls @@ -215,6 +215,7 @@ % For elements of honor \newcommand*{\honortitlestyle}[1]{{\fontsize{9pt}{1em}\bodyfont\color{graytext} #1}} +\newcommand*{\honordescriptionstyle}[1]{{\fontsize{9pt}{1em}\bodyfontlight\color{graytext} #1}} \newcommand*{\honorpositionstyle}[1]{{\fontsize{9pt}{1em}\bodyfont\bfseries\color{darktext} #1}} \newcommand*{\honordatestyle}[1]{{\fontsize{9pt}{1em}\bodyfont\color{graytext} #1}} \newcommand*{\honorlocationstyle}[1]{{\fontsize{9pt}{1em}\bodyfontlight\slshape\color{awesome} #1}} @@ -614,9 +615,10 @@ \end{center} } % 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} \\ +% Usage: \cvhonor{<position>}{<title>}{<description>}{<location>}{<date>} +\newcommand*{\cvhonor}[5]{% + \honordatestyle{#5} & \honorpositionstyle{#1}, \honortitlestyle{#2} & \honorlocationstyle{#4} && \honordescriptionstyle{#3} + \\ } % Define an environment for cvskill