diff options
author | Christophe ROGER <darwiin@users.noreply.github.com> | 2020-03-24 18:30:46 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-24 18:30:46 +1100 |
commit | fb7f19ec0832bafb95fd2b4ed46aa7f17d67b1b6 (patch) | |
tree | 6957451ba7d335cf3fd9fbbc0e71bc9d6bd3da97 /yaac-another-awesome-cv.cls | |
parent | a3b1fa69749a350721df02d72a65372788a254d3 (diff) | |
parent | 5357f896798ece6b61daf906524af44fcd913ba5 (diff) | |
download | cv-fb7f19ec0832bafb95fd2b4ed46aa7f17d67b1b6.tar.gz cv-fb7f19ec0832bafb95fd2b4ed46aa7f17d67b1b6.tar.bz2 cv-fb7f19ec0832bafb95fd2b4ed46aa7f17d67b1b6.tar.xz cv-fb7f19ec0832bafb95fd2b4ed46aa7f17d67b1b6.zip |
Merge pull request #49 from darwiin/evo-left-column-width
Evo left column width. Solves #37
Diffstat (limited to 'yaac-another-awesome-cv.cls')
-rwxr-xr-x | yaac-another-awesome-cv.cls | 18 |
1 files changed, 13 insertions, 5 deletions
diff --git a/yaac-another-awesome-cv.cls b/yaac-another-awesome-cv.cls index 266c458..a711e4d 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.2.0 'YAAC: Another Awesome CV' Class] +\ProvidesClass{yaac-another-awesome-cv}[2020/03/24 v2.2.1 'YAAC: Another Awesome CV' Class] \def\@@ptsize{10pt} @@ -170,15 +170,23 @@ } %New length definition -\newlength{\rightcolumnlength} -\setlength{\rightcolumnlength}{15.3cm minus 1cm} +\newlength{\fulllength} +\setlength{\fulllength}{17.8cm} \newlength{\leftcolumnlength} \setlength{\leftcolumnlength}{2.5cm} +\newlength{\rightcolumnlength} +%\setlength{\rightcolumnlength}{15.3cm minus 1cm} +%\setlength{\rightcolumnlength}{\dimexpr(\fulllength-\leftcolumnlength)\relax} +\setlength{\rightcolumnlength}{\dimexpr(\fulllength-\leftcolumnlength)\relax} + % Override default left column length of (2.5cm) % Usage: \setleftcolumnlength{<length>} -\newcommand{\setleftcolumnlength}[1]{\setlength{\leftcolumnlength}{#1}} +\newcommand{\setleftcolumnlength}[1]{ + \setlength{\leftcolumnlength}{#1} + \setlength{\rightcolumnlength}{\dimexpr(\fulllength-\leftcolumnlength)\relax} +} % Font Awesome icons aliases \newcommand{\mailSymbol}{\faAt} @@ -451,7 +459,7 @@ \newcommand\consultantexperience[9]{ \textbf{#1} & \textbf{#2, \textsc{#3}, #4} \\* \textbf{#5} & \emph{#6} pour \textsc{#7} \\* - & \begin{minipage}[t]{\rightcolumnlength} + & \begin{minipage}[t]{\rightcolumnlength} #8 \end{minipage} \\* & \footnotesize{\foreach \n in {#9}{\cvtag{\n}}} \\ |