diff options
author | Christophe ROGER <darwiin@users.noreply.github.com> | 2019-09-18 08:00:55 +1100 |
---|---|---|
committer | Christophe ROGER <darwiin@users.noreply.github.com> | 2019-09-18 08:00:55 +1100 |
commit | b05d8a965311c344acfbc1fa394de283578359f5 (patch) | |
tree | aa1e5713b67224042d15d7267ae2031982760261 /yaac-another-awesome-cv.cls | |
parent | c2014aa91ec2915d1beb52d5f09720e6b078a7b5 (diff) | |
download | cv-b05d8a965311c344acfbc1fa394de283578359f5.tar.gz cv-b05d8a965311c344acfbc1fa394de283578359f5.tar.bz2 cv-b05d8a965311c344acfbc1fa394de283578359f5.tar.xz cv-b05d8a965311c344acfbc1fa394de283578359f5.zip |
v2.2.0
[EVO] Add an optional command to change the left column size
[EVO] Update the readme.md file
Diffstat (limited to 'yaac-another-awesome-cv.cls')
-rwxr-xr-x | yaac-another-awesome-cv.cls | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/yaac-another-awesome-cv.cls b/yaac-another-awesome-cv.cls index 1ad960f..266c458 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/09/10 v2.1.0 'YAAC: Another Awesome CV' Class] +\ProvidesClass{yaac-another-awesome-cv}[2019/09/10 v2.2.0 'YAAC: Another Awesome CV' Class] \def\@@ptsize{10pt} @@ -171,10 +171,14 @@ %New length definition \newlength{\rightcolumnlength} -\setlength{\rightcolumnlength}{14.8cm} +\setlength{\rightcolumnlength}{15.3cm minus 1cm} -\newlength{\leftcolumn} -\setlength{\leftcolumn}{2.5cm} +\newlength{\leftcolumnlength} +\setlength{\leftcolumnlength}{2.5cm} + +% Override default left column length of (2.5cm) +% Usage: \setleftcolumnlength{<length>} +\newcommand{\setleftcolumnlength}[1]{\setlength{\leftcolumnlength}{#1}} % Font Awesome icons aliases \newcommand{\mailSymbol}{\faAt} @@ -382,7 +386,7 @@ } % Define a new column type for the scholarship environment -\newcolumntype{Y}{>{\raggedleft}p{\leftcolumn}} +\newcolumntype{Y}{>{\raggedleft}p{\leftcolumnlength}} % Define the 'scholarship' environment \newenvironment{scholarship}{% @@ -399,7 +403,7 @@ % Define the 'skills' environment \newenvironment{skills}{% - \begin{longtable}{R{\leftcolumn}p{\rightcolumnlength}} + \begin{longtable}{R{\leftcolumnlength}p{\rightcolumnlength}} }{% \end{longtable} } @@ -414,7 +418,7 @@ % Define the 'experiences' environment \newenvironment{experiences}{% - \begin{longtable}{R{\leftcolumn}|E} + \begin{longtable}{R{\leftcolumnlength}|E} }{% \end{longtable} } |