summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xexample/section_references.tex3
-rwxr-xr-xyaac-another-awesome-cv.cls11
2 files changed, 12 insertions, 2 deletions
diff --git a/example/section_references.tex b/example/section_references.tex
index 6848745..b780797 100755
--- a/example/section_references.tex
+++ b/example/section_references.tex
@@ -19,10 +19,9 @@
{IBM}
{nicolas.comete@fr.ibm.com}
{+33 6 75 00 98 56}
- \referee
+ \refereeMailOnly
{Géry Loutre}
{Ingénieur en développement Senior}
{Vlocity}
{gery.loutre@gmail.com}
- {}
\end{referees} \ No newline at end of file
diff --git a/yaac-another-awesome-cv.cls b/yaac-another-awesome-cv.cls
index 6a752a7..d4b957c 100755
--- a/yaac-another-awesome-cv.cls
+++ b/yaac-another-awesome-cv.cls
@@ -456,5 +456,16 @@
\quad \faPhone & #5 \\
\end{tabular}
\end{minipage}%
+ }
+
+\newcommand*\refereeMailOnly[4]{
+ \hspace{1em}
+ \begin{minipage}[t]{\dimexpr(\linewidth/3) - 3em}
+ \begin{tabular}{>{}l >{}l}
+ \multicolumn{2}{l}{\textbf{#1}}\\
+ \multicolumn{2}{l}{\emph{#2}, \textsc{#3}}\\
+ \quad \mailSymbol & \href{mailto:#4}{#4} \\
+ \end{tabular}
+ \end{minipage}%
}