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}