%% PACKAGES %% \RequirePackage[english]{babel} % multilingual support \RequirePackage[utf8]{inputenc} % encoding \RequirePackage{graphicx} \RequirePackage{tikz} \RequirePackage{fontawesome} \RequirePackage{multicol} % Set the default font \RequirePackage{tgpagella} % set the page layout \RequirePackage{geometry} \geometry{ a4paper, left=20mm, %right= %bottom= top=15mm} % to write a short phrase on the document \usepackage{verse} \newcommand{\attrib}[1]{% \nopagebreak{\raggedleft\footnotesize #1\par}} \renewcommand{\poemtitlefont}{\normalfont\large\itshape\centering} % empty the headers, footers, pagenumbers… %\pagestyle{empty} % Custom sectioning with secsty \RequirePackage{sectsty} % For links \RequirePackage[citecolor=blue, urlcolor=blue, colorlinks, linkcolor=black]{hyperref} \sectionfont{% \large % make sections smaller \fontfamily{qag}\selectfont % change font family \sectionrule{0pt}{0pt}{-5pt}{0.7pt} % insert a thin rule } %% BIBLIOGRAPHY FOR PAPERS %% \RequirePackage[style=numeric-comp,% sorting=ydnt,% maxbibnames=3,% minbibnames=3,% maxcitenames=1,% mincitenames=1,% isbn=false,% url=false,% doi=false,% eprint=false,% related=false]{biblatex} \renewbibmacro{in:}{} % then remove these two properties to avoid printing the "visited on" string on the URL \AtEveryBibitem{ \clearfield{urlyear} \clearfield{urlmonth} } %% MACROS %% % size of the boxes used to align text \newlength{\spacebox} \settowidth{\spacebox}{12345678912345} % vertical space separator between entries \newcommand{\sepspace}{\vspace*{1.8em}} % name \newcommand{\name}[1]{ \Huge % font size \fontfamily{phv}\selectfont % font family % print name centered and bold \begin{center} \textbf{#1} \end{center}\par % back to normal size and font \normalsize\normalfont} % motto \newcommand{\motto}[1]{ \large % font size \fontfamily{phv}\selectfont % font family % print motto centered and slanted \begin{center} \textsl{#1}\end{center}\par % back to normal size and font \normalsize \normalfont} % picture \newcommand{\avatar}[1]{ \begin{tikzpicture}[baseline=(ola.center),inner sep=0pt] \clip (0,0) circle (2cm) node (ola) {\includegraphics[width=4cm]{#1}}; \end{tikzpicture} } % personal information \newcommand{\info}[2]{ % set specific indentation for personal information \noindent\hangindent=2em\hangafter=0 % create a box to align two pieces of text \parbox{\spacebox}{% \textsl{#1}} % slanted entry name #2 \par} % entry value % skill \newcommand{\skill}[2]{ % set specific indentation for personal information \noindent\hangindent=1em\hangafter=0 % create a box to align two pieces of text \parbox{2.5\spacebox}{% three times larger box \textsc{#1}} % small caps entry name #2 \par} % entry value % specific skill \newcommand{\sskill}[2]{ % set specific indentation for personal information \noindent\hangindent=1em\hangafter=0 % create a box to align two pieces of text \parbox{2\spacebox}{% three times larger box \textsc{#1}} % small caps entry name \linebreak[4] \parbox{0.5\spacebox}{#2} \par \vspace{1em}} % entry value % language level \newcommand{\lang}[3]{ % set specific indentation for personal information \noindent\hangindent=2em\hangafter=0 % create a box to align two pieces of text \parbox{\spacebox}{% \textbf{#1}} % bold font entry name \parbox{\spacebox}{#2} #3 \par} % entry value % education entry \newcommand{\education}[4]{ % name of the studies \noindent \textbf{#1} % at the right the duration \hfill \framebox{% duration inside a frame box \parbox{7em}{% \centering\textbf{#2}}} \par % new paragraph with the school in italics \vspace{1em} \noindent\hangindent=2em\hangafter=0 \faMapPin \quad \textit{#3} \par % description with no hanging and in smaller text \vspace*{0.5em} \noindent\hangindent=2em\hangafter=0 \faQuoteLeft \quad \small #4 % back to normal size \normalsize \par} % work experience \newcommand{\work}[4]{ % name of the work \noindent \textbf{#1} % at the right the duration \hfill \framebox{% duration inside a frame box \parbox{7em}{% \centering\textbf{#2}}} \par % new paragraph with the school in italics \vspace{1em} \noindent\hangindent=2em\hangafter=0 \faMapPin \quad \textit{#3} \par % description with no hanging and in smaller text \vspace*{0.5em} \noindent\hangindent=2em\hangafter=0 \faBriefcase \quad \small #4 % back to normal size \normalsize \par} % grants and fellowships \newcommand{\grant}[4]{ % name of the work \noindent \textbf{#1} % at the right the duration \hfill \framebox{% duration inside a frame box \parbox{7em}{% \centering\textbf{#2}}} \par % new paragraph with the school in italics \vspace{1em} \noindent\hangindent=2em\hangafter=0 \faUniversity \quad \textit{#3} \par % description with no hanging and in smaller text \vspace*{0.5em} \noindent\hangindent=2em\hangafter=0 \faCheckSquareO \quad \small #4 % back to normal size \normalsize \par} % teaching experience \newcommand{\teaching}[4]{ % name of the work \noindent \textbf{#1} % at the right the duration \hfill \framebox{% duration inside a frame box \parbox{7em}{% \centering\textbf{#2}}} \par % new paragraph with the school in italics \vspace{1em} \noindent\hangindent=2em\hangafter=0 \faGraduationCap \quad \textit{#3} \par % description with no hanging and in smaller text \vspace*{0.5em} \noindent\hangindent=2em\hangafter=0 \faHourglassEnd \quad \small #4 % back to normal size \normalsize \par} % students supervised \newcommand{\student}[4]{ % name of the work \noindent \textbf{#1} % at the right the duration \hfill \framebox{% duration inside a frame box \parbox{7em}{% \centering\textbf{#2}}} \par % new paragraph with the school in italics \vspace{1em} \noindent\hangindent=2em\hangafter=0 \faUniversity \quad \textit{#3} \par % description with no hanging and in smaller text \vspace*{0.5em} \noindent\hangindent=2em\hangafter=0 \faCheckSquareO \quad \small #4 % back to normal size \normalsize \par} % awards obtained \newcommand{\award}[4]{ % name of the work \noindent \textbf{#1} % at the right the duration \hfill \framebox{% duration inside a frame box \parbox{7em}{% \centering\textbf{#2}}} \par % new paragraph with the school in italics \vspace{1em} \noindent\hangindent=2em\hangafter=0 \faTrophy \quad \textit{#3} \par % description with no hanging and in smaller text \vspace*{0.5em} \noindent\hangindent=2em\hangafter=0 \faQuoteLeft \quad \small #4 % back to normal size \normalsize \par} % participation in conferences \newcommand{\conf}[4]{ % name of the work \noindent \textbf{#1} % at the right the duration \hfill \framebox{% duration inside a frame box \parbox{7em}{% \centering\textbf{#2}}} \par % new paragraph with the school in italics \vspace{1em} \noindent\hangindent=2em\hangafter=0 \faUsers \quad \textit{#3} \par % description with no hanging and in smaller text \vspace*{0.5em} \noindent\hangindent=2em\hangafter=0 \faQuoteLeft \quad \small #4 % back to normal size \normalsize \par}