diff options
author | Christophe ROGER <darwiin@users.noreply.github.com> | 2019-09-10 09:23:05 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-10 09:23:05 +1100 |
commit | c2014aa91ec2915d1beb52d5f09720e6b078a7b5 (patch) | |
tree | 7990704629b2d1b7035cda607707b96629389c7a /yaac-another-awesome-cv.cls | |
parent | 1a2b75c5a506ab7d227654269c9cce9399183e22 (diff) | |
parent | 442bca4efda3ecafd7f5f2f1e1e780cb1ce48f7e (diff) | |
download | cv-c2014aa91ec2915d1beb52d5f09720e6b078a7b5.tar.gz cv-c2014aa91ec2915d1beb52d5f09720e6b078a7b5.tar.bz2 cv-c2014aa91ec2915d1beb52d5f09720e6b078a7b5.tar.xz cv-c2014aa91ec2915d1beb52d5f09720e6b078a7b5.zip |
Merge pull request #43 from darwiin/evo-reducing-entries-spaces
Reduce vertical spacing in the experience section
Fixes #40
Diffstat (limited to 'yaac-another-awesome-cv.cls')
-rwxr-xr-x | yaac-another-awesome-cv.cls | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/yaac-another-awesome-cv.cls b/yaac-another-awesome-cv.cls index e002a33..1ad960f 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,14 @@ & \footnotesize{\foreach \n in {#9}{\cvtag{\n}}} \\ } -\newcommand\emptySeparator{\multicolumn{2}{c}{}\\} +% Define the empty separator macro with different spacing according to document class option 'compact' +\if@isCompact + \newcommand\emptySeparator{\multicolumn{2}{c}{}\\[-0.6em]} +\else + \newcommand\emptySeparator{\multicolumn{2}{c}{}\\} +\fi + + % Define the 'projects' environment \newenvironment{projects}{% |