diff options
Diffstat (limited to 'yaac-another-awesome-cv')
-rw-r--r-- | yaac-another-awesome-cv/yaac-another-awesome-cv.cls | 21 |
1 files changed, 18 insertions, 3 deletions
diff --git a/yaac-another-awesome-cv/yaac-another-awesome-cv.cls b/yaac-another-awesome-cv/yaac-another-awesome-cv.cls index 379959b..6d47c5f 100644 --- a/yaac-another-awesome-cv/yaac-another-awesome-cv.cls +++ b/yaac-another-awesome-cv/yaac-another-awesome-cv.cls @@ -228,7 +228,7 @@ \newcommand{\settopleftcolumnlength}[1]{ \setlength{\topleftcolumnlength}{#1} - \setlength{\toprightcolumnlength}{\dimexpr(\fulllength-\leftcolumnlength)\relax} + \setlength{\toprightcolumnlength}{\dimexpr(\fulllength-\topleftcolumnlength)\relax} } @@ -553,7 +553,7 @@ % Define the 'projects' environment -\newenvironment{projects}{% +\newenvironment{projets}{% \begin{longtable}{l} }{% \end{longtable} @@ -566,7 +566,7 @@ % {<link1> <link2>} % {<Project description>} % {<techno1>,<techno2>} -\newcommand\project[5]{ +\newcommand\projet[5]{ \begin{minipage}[t]{\dimexpr(\linewidth) - 1.5em} \textbf{\textsc{#1}} \hfill \textsc{#2}\smallskip\\ #3\\ @@ -803,6 +803,21 @@ \newcommand\job[6]{\noalign{\hypertarget{#2}{}} \event{#1}{\hljob{#3} at\ifempty{#5}\urlref{#4}{#6}\else \urlref{#4}{#6}: #5\fi}} \newcommand\degree[4]{\noalign{\hypertarget{#2}{}} \event{#1}{\hldegree{#3} #4}} +\newenvironment{projects}{% + \renewcommand{\arraystretch}{1.0}% + \begin{longtable}{L | R}% +}{% + \end{longtable}% + \renewcommand{\arraystretch}{1.0}% +} + +\newcommand\project[3]{\end{projects}\vspace{-1.5em}\begin{projects}\event{\textbf{#1}}{ + \textbf{\makefirstuc{#3}} +}} +\newcommand\action[3]{ + \faAngleRight & #3 \\ +} + \newcommand\excofa[5]{\noalign{\hypertarget{#2}{}} \event{#1}{ \ifempty{#3}\urlref{\hlproj{#2}}{#4}\else\urlref{\hlproj{#2}}{#4}: #3\fi \ifemptyelse{#5}{}{ \emph{(#5)}} %\ifemptyelse{#3}{}{: #3}%\ifemptyelse{#5}{}{ \emph{(#5)}} |