summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristophe ROGER <darwiin@users.noreply.github.com>2019-09-10 08:52:42 +1100
committerChristophe ROGER <darwiin@users.noreply.github.com>2019-09-10 08:52:42 +1100
commit023e0ba0b3fe5e1065a5022340b7ed04f3de8063 (patch)
treea8c938e9cf57a5bea02f9d827c0ba1e31756715e
parent1a2b75c5a506ab7d227654269c9cce9399183e22 (diff)
downloadcv-023e0ba0b3fe5e1065a5022340b7ed04f3de8063.tar.gz
cv-023e0ba0b3fe5e1065a5022340b7ed04f3de8063.tar.bz2
cv-023e0ba0b3fe5e1065a5022340b7ed04f3de8063.tar.xz
cv-023e0ba0b3fe5e1065a5022340b7ed04f3de8063.zip
v2.1.0
[EVO] Add a compact option to reduce spaces in experience section
-rwxr-xr-xyaac-another-awesome-cv.cls12
1 files changed, 10 insertions, 2 deletions
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}{%