summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristophe ROGER <darwiin@users.noreply.github.com>2018-08-01 19:15:19 +1100
committerChristophe ROGER <darwiin@users.noreply.github.com>2018-08-01 19:15:19 +1100
commit52d65b7d90ac06e8d486fde1225a3d8986d09b86 (patch)
tree15f2ee0e3129adfd9e73f24036c13cd6b4d76c18
parent30be269589d09b1a57d38a6465b37f7f77663eee (diff)
downloadcv-52d65b7d90ac06e8d486fde1225a3d8986d09b86.tar.gz
cv-52d65b7d90ac06e8d486fde1225a3d8986d09b86.tar.bz2
cv-52d65b7d90ac06e8d486fde1225a3d8986d09b86.tar.xz
cv-52d65b7d90ac06e8d486fde1225a3d8986d09b86.zip
[EVO] Only mail referee
-rwxr-xr-xexample/section_references.tex4
-rwxr-xr-xyaac-another-awesome-cv.cls11
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}%
}