summaryrefslogtreecommitdiffstats
path: root/yaac-another-awesome-cv.cls
diff options
context:
space:
mode:
authorChristophe ROGER <darwiin@users.noreply.github.com>2018-07-10 06:30:41 +1100
committerChristophe ROGER <darwiin@users.noreply.github.com>2018-07-10 06:30:41 +1100
commit78bb6843c3761582c5916649091a1c8dea8198c9 (patch)
treeda36a9ae7d34485bfbef6f668545905badb32da2 /yaac-another-awesome-cv.cls
parent1e60dd98d01b14bf39689b0e44336675f1d5a303 (diff)
downloadcv-78bb6843c3761582c5916649091a1c8dea8198c9.tar.gz
cv-78bb6843c3761582c5916649091a1c8dea8198c9.tar.bz2
cv-78bb6843c3761582c5916649091a1c8dea8198c9.tar.xz
cv-78bb6843c3761582c5916649091a1c8dea8198c9.zip
[EVO] Project macros
[EVO] Example content
Diffstat (limited to 'yaac-another-awesome-cv.cls')
-rwxr-xr-xyaac-another-awesome-cv.cls26
1 files changed, 26 insertions, 0 deletions
diff --git a/yaac-another-awesome-cv.cls b/yaac-another-awesome-cv.cls
index dfd3690..0786614 100755
--- a/yaac-another-awesome-cv.cls
+++ b/yaac-another-awesome-cv.cls
@@ -131,6 +131,7 @@
% Configure list
\setlist[itemize,1]{label=\faAngleRight, nosep, leftmargin=2em}
+\setlist[itemize,2]{label=\faAngleRight, nosep, leftmargin=1.5em}
% Setup Array : new column type
\newcolumntype{R}[1]{>{\hfill}m{#1}}
@@ -237,6 +238,10 @@
% Usage: \email{<email adress>}
\newcommand*{\email}[1]{\sociallink{\mailSymbol}{mailto:#1}{#1}}
+% Render a website link (optional)
+% Usage: \email{<email adress>}
+\newcommand*{\website}[2]{\sociallink{\faExternalLink}{#1}{#2}}
+
% Render author's mobile phone (optional)
% Usage: \smartphone{<mobile phone number>}
\newcommand*\smartphone[1]{\socialtext{\mobileSymbol}{#1}}
@@ -399,6 +404,27 @@
\newcommand\emptySeparator{\multicolumn{2}{c}{}\\}
+% Define the 'experiences' environment
+\newenvironment{projects}{%
+ \begin{longtable}{l}
+}{%
+ \end{longtable}
+}
+
+\newcommand\project[5]{
+
+ \begin{minipage}[t]{\dimexpr(\linewidth) - 3em}
+ \textbf{\textsc{#1}} \thinspace \textsc{(#2)} \thinspace \hrulefill \\
+ ~#3\\
+ #4\\
+ ~\footnotesize{\foreach \n in {#5}{\cvtag{\n}}} \\
+ \end{minipage}
+
+ \\*
+
+ }
+
+
\newcommand*\twocolumnsection[2]{
\begin{minipage}[t]{\dimexpr(\linewidth/2) - 3em}
#1