From 8786eb5b431c9987acb820525c7e04905344aa0c Mon Sep 17 00:00:00 2001
From: Christophe Roger <darwiinc@live.fr>
Date: Tue, 18 Oct 2016 07:20:08 +1100
Subject: Added macros and environnement to handle scolarship

---
 awesome-source-cv.cls | 13 ++++++++++++-
 1 file changed, 12 insertions(+), 1 deletion(-)

(limited to 'awesome-source-cv.cls')

diff --git a/awesome-source-cv.cls b/awesome-source-cv.cls
index 1abf5b4..b1e295f 100755
--- a/awesome-source-cv.cls
+++ b/awesome-source-cv.cls
@@ -227,6 +227,17 @@
 % Resume part title definition
 \newcommand\sectionTitle[2]{\section{\texorpdfstring{\color{accentcolor}#2\enspace #1}{#1}}}
 
+% Define the 'scolarship' environment
+\newenvironment{scolarship}{%
+  \begin{longtable}{R{\leftcolumn}p{\rightcolumnlength}}
+}{%
+  \end{longtable}
+}
+
+\newcommand\scolarshipentry[2]{
+  #1    &  #2 \\
+}
+
 % Define the 'skills' environment
 \newenvironment{skills}{%
   \begin{longtable}{R{\leftcolumn}p{\rightcolumnlength}}
@@ -239,7 +250,7 @@
 % \skill{<skill>}{<level>}
 \newcommand\skill[2]{
   \textsc{#1}    & \foreach \x in {1,...,5}{{\color{accentcolor!80} \ifnumgreater{\x}{#2}{\faCircleO}{\faCircle}}\enspace } \\
-  }
+}
 
 % Define the 'experiences' environment
 \newenvironment{experiences}{%
-- 
cgit v1.2.3


From 814751aacf40201773348f0c9980c6f5cc37f6f7 Mon Sep 17 00:00:00 2001
From: Christophe Roger <darwiinc@live.fr>
Date: Tue, 18 Oct 2016 22:54:11 +1100
Subject: Improved scolarship environnment

---
 awesome-source-cv.cls | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

(limited to 'awesome-source-cv.cls')

diff --git a/awesome-source-cv.cls b/awesome-source-cv.cls
index b1e295f..84dfb97 100755
--- a/awesome-source-cv.cls
+++ b/awesome-source-cv.cls
@@ -227,11 +227,13 @@
 % Resume part title definition
 \newcommand\sectionTitle[2]{\section{\texorpdfstring{\color{accentcolor}#2\enspace #1}{#1}}}
 
+\newcolumntype{D}{>{\raggedleft}p{\leftcolumn}}
+
 % Define the 'scolarship' environment
 \newenvironment{scolarship}{%
-  \begin{longtable}{R{\leftcolumn}p{\rightcolumnlength}}
+  \begin{tabular}{D p{\rightcolumnlength}}
 }{%
-  \end{longtable}
+  \end{tabular}
 }
 
 \newcommand\scolarshipentry[2]{
-- 
cgit v1.2.3

