From c1bcbd1681824fcc29bd8322e005c7e3d9ac50ff Mon Sep 17 00:00:00 2001 From: Grigory Starinkin Date: Sun, 14 Jan 2018 22:33:22 +0000 Subject: [PATCH] add cv simple entry, which doesn't require cv items for education section that reduced vspace --- awesome-cv.cls | 14 ++++++++++++++ src/cv/education.tex | 3 +-- 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/awesome-cv.cls b/awesome-cv.cls index fcd04d4..e27f618 100644 --- a/awesome-cv.cls +++ b/awesome-cv.cls @@ -579,6 +579,20 @@ \end{tabular*}% } +% Define an entry of cv information +% Usage: \cvsentry{}{}{<location>}{<date>} +\newcommand*{\cvsentry}[4]{% + \vspace{-2.0mm} + \setlength\tabcolsep{0pt} + \setlength{\extrarowheight}{0pt} + \begin{tabular*}{\textwidth}{@{\extracolsep{\fill}} L{\textwidth - 4.5cm} R{4.5cm}} + \ifempty{#2#3} + {\entrypositionstyle{#1} & \entrydatestyle{#4} \\} + {\entrytitlestyle{#2} & \entrylocationstyle{#3} \\ + \entrypositionstyle{#1} & \entrydatestyle{#4} \\} + \end{tabular*}% +} + % Define an environment for cvsubentry \newenvironment{cvsubentries}{% \begin{center} diff --git a/src/cv/education.tex b/src/cv/education.tex index e262f67..9121eea 100644 --- a/src/cv/education.tex +++ b/src/cv/education.tex @@ -10,12 +10,11 @@ \begin{cventries} %--------------------------------------------------------- - \cventry + \cvsentry {Master in applied mathematics} % Degree {Kuban State University (KubSU)} % Institution {Krasnodar, Russia} % Location {Aug. 2006 - Aug. 2011} % Date(s) - {} %--------------------------------------------------------- \end{cventries}