From 52d65b7d90ac06e8d486fde1225a3d8986d09b86 Mon Sep 17 00:00:00 2001 From: Christophe ROGER Date: Wed, 1 Aug 2018 19:15:19 +1100 Subject: [EVO] Only mail referee --- example/section_references.tex | 4 +--- yaac-another-awesome-cv.cls | 11 +++++++++++ 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/example/section_references.tex b/example/section_references.tex index a51f1ad..3986022 100755 --- a/example/section_references.tex +++ b/example/section_references.tex @@ -19,11 +19,9 @@ {Night's Watch} {john.snow@nightwatch.org} {+687 987 654} - \referee + \refereeMailOnly {Géry Loutre} {Architecte logiciel} {Cafat} {ref1@cafat.nc} - {+687 987 654} - \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}% } -- cgit v1.2.1