Making the description an optional argument

This commit is contained in:
jdalrymple 2017-04-10 16:18:02 -04:00 committed by GitHub
parent 9f1a8635ca
commit 7ababeb422

View file

@ -614,11 +614,11 @@
\end{tabular*} \end{tabular*}
\end{center} \end{center}
} }
% 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>}{<description>}{<location>}{<date>} % Usage: \cvhonor[<description>]{<position>}{<title>}{<location>}{<date>}
\newcommand*{\cvhonor}[5]{% \newcommand*{\cvhonor}[5][]{
\honordatestyle{#5} & \honorpositionstyle{#1}, \honortitlestyle{#2} & \honorlocationstyle{#4} \cr & \honordescriptionstyle{#3} \honordatestyle{#5} & \honorpositionstyle{#2}, \honortitlestyle{#3} & \honorlocationstyle{#4} \cr & \honordescriptionstyle{#1}\\
\\
} }
% Define an environment for cvskill % Define an environment for cvskill