From 1f1f645dffc5c966e84888a266605dc9e71afe52 Mon Sep 17 00:00:00 2001
From: "Suren A. Chilingaryan" <csa@suren.me>
Date: Thu, 11 Mar 2021 23:20:38 +0100
Subject: Industrial CV

---
 yaac-another-awesome-cv/yaac-another-awesome-cv.cls | 21 ++++++++++++++++++---
 1 file changed, 18 insertions(+), 3 deletions(-)

(limited to 'yaac-another-awesome-cv/yaac-another-awesome-cv.cls')

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)}}
-- 
cgit v1.2.3

