From a7673f6cf45243dd0c2cfc60c5493aebd8c0806d Mon Sep 17 00:00:00 2001 From: Kirk North Date: Fri, 29 Jul 2016 17:21:14 -0400 Subject: [PATCH] ENH: add `cvtalks` environment I've added a `cvtalks` environment and associated \cvtalk entry, which takes as parameters \cvtalk{}{}{<location>}{<date>}. It borrows from the `cvhonors` environment, however it's two rows instead of one. I find that this is a better way of including presentations, speaking engagements, etc. than using the \cventries environment which @posquit0 does in his example CV. --- awesome-cv.cls | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/awesome-cv.cls b/awesome-cv.cls index d76bbaa..8f992f1 100644 --- a/awesome-cv.cls +++ b/awesome-cv.cls @@ -249,6 +249,12 @@ \newcommand*{\skilltypestyle}[1]{{\fontsize{10pt}{1em}\bodyfont\bfseries\color{darktext} #1}} \newcommand*{\skillsetstyle}[1]{{\fontsize{9pt}{1em}\bodyfontlight\color{text} #1}} +% For elements of talks, presentations, speaking engagements +\newcommand*{\talkvenuestyle}[1]{{\fontsize{9pt}{1em}\bodyfont\bfseries\color{darktext} #1}} +\newcommand*{\talktitlestyle}[1]{{\fontsize{9pt}{1em}\bodyfont\color{graytext} #1}} +\newcommand*{\talkdatestyle}[1]{{\fontsize{9pt}{1em}\bodyfont\color{graytext} #1}} +\newcommand*{\talklocationstyle}[1]{{\fontsize{9pt}{1em}\bodyfontlight\slshape\color{awesome} #1}} + % For elements of the cover letter \newcommand*{\lettersectionstyle}[1]{{\fontsize{14pt}{1em}\bodyfont\bfseries\color{text}\@sectioncolor #1}} \newcommand*{\recipientaddressstyle}[1]{{\fontsize{9pt}{1em}\bodyfont\scshape\color{graytext} #1}} @@ -619,6 +625,24 @@ \vspace{-4.0mm} } +% Define an environment for cvtalks +\newenvironment{cvtalks}{ + \begin{center} + \setlength\tabcolsep{0pt} + \setlength{\extrarowheight}{0pt} + \begin{tabular*}{\textwidth}{@{\extracolsep{\fill}} C{2.5cm} L{12.0cm} R{2.5cm}} +}{ + \end{tabular*} + \end{center} +} +% Define an entry for cvtalks (talk, presentation, speaking engagement) +% Usage: \cvtalk{<venue>}{<title>}{<location>}{<date>} +\newcommand*{\cvtalk}[4]{ + \talkdatestyle{#4} & \talkvenuestyle{#1} & \talklocationstyle{#3} \\ + & \talktitlestyle{#2} & \\ + \\ +} + %------------------------------------------------------------------------------- % Commands for elements of Cover Letter