add cv simple entry, which doesn't require cv items

for education section that reduced vspace
This commit is contained in:
Grigory Starinkin 2018-01-14 22:33:22 +00:00
parent e367850607
commit c1bcbd1681
No known key found for this signature in database
GPG key ID: 6A32D1F8AB4C166A
2 changed files with 15 additions and 2 deletions

View file

@ -579,6 +579,20 @@
\end{tabular*}% \end{tabular*}%
} }
% Define an entry of cv information
% Usage: \cvsentry{<position>}{<title>}{<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 % Define an environment for cvsubentry
\newenvironment{cvsubentries}{% \newenvironment{cvsubentries}{%
\begin{center} \begin{center}

View file

@ -10,12 +10,11 @@
\begin{cventries} \begin{cventries}
%--------------------------------------------------------- %---------------------------------------------------------
\cventry \cvsentry
{Master in applied mathematics} % Degree {Master in applied mathematics} % Degree
{Kuban State University (KubSU)} % Institution {Kuban State University (KubSU)} % Institution
{Krasnodar, Russia} % Location {Krasnodar, Russia} % Location
{Aug. 2006 - Aug. 2011} % Date(s) {Aug. 2006 - Aug. 2011} % Date(s)
{}
%--------------------------------------------------------- %---------------------------------------------------------
\end{cventries} \end{cventries}