From 023e0ba0b3fe5e1065a5022340b7ed04f3de8063 Mon Sep 17 00:00:00 2001
From: Christophe ROGER <darwiin@users.noreply.github.com>
Date: Tue, 10 Sep 2019 08:52:42 +1100
Subject: v2.1.0 [EVO] Add a compact option to reduce spaces in experience
 section

---
 yaac-another-awesome-cv.cls | 12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)

(limited to 'yaac-another-awesome-cv.cls')

diff --git a/yaac-another-awesome-cv.cls b/yaac-another-awesome-cv.cls
index e002a33..e2ab894 100755
--- a/yaac-another-awesome-cv.cls
+++ b/yaac-another-awesome-cv.cls
@@ -17,7 +17,7 @@
 %
 % This work consists of the files awesome-source-cv.cls
 
-\ProvidesClass{yaac-another-awesome-cv}[2019/06/18  v2.0.0 'YAAC: Another Awesome CV' Class]
+\ProvidesClass{yaac-another-awesome-cv}[2019/09/10  v2.1.0 'YAAC: Another Awesome CV' Class]
 
 \def\@@ptsize{10pt}
 
@@ -30,6 +30,7 @@
 \LoadClass[a4paper,\@@ptsize]{article}
 
 \newif\if@showLinks   \@showLinksfalse
+\newif\if@isCompact   \@isCompactfalse
 
 \DeclareOption{green}{
   \def\@green{green}
@@ -59,6 +60,7 @@
 }
 
 \DeclareOption{showLinks}{ \@showLinkstrue}
+\DeclareOption{compact}{ \@isCompacttrue}
 
 \ProcessOptions
 
@@ -451,7 +453,13 @@
                  & \footnotesize{\foreach \n in {#9}{\cvtag{\n}}} 	\\
   }
 
-\newcommand\emptySeparator{\multicolumn{2}{c}{}\\}
+\if@isCompact
+  \newcommand\emptySeparator{\multicolumn{2}{c}{}\\[-0.6em]}
+\else
+  \newcommand\emptySeparator{\multicolumn{2}{c}{}\\}
+\fi
+
+
 
 % Define the 'projects' environment
 \newenvironment{projects}{%
-- 
cgit v1.2.3

