Add languages to the template

This commit is contained in:
coolneng 2021-02-19 23:46:58 +01:00
parent a9cb826177
commit f0f7258494
Signed by: coolneng
GPG Key ID: 9893DA236405AF57
1 changed files with 19 additions and 3 deletions

View File

@ -1,7 +1,7 @@
\documentclass[12pt,letterpaper]{moderncv} \documentclass[12pt,letterpaper]{moderncv}
\usepackage{fontspec} \usepackage{fontspec}
\usepackage[inline]{enumitem} \usepackage{fontawesome5}
%% ModernCV themes %% ModernCV themes
\moderncvstyle{fancy} \moderncvstyle{fancy}
@ -11,12 +11,20 @@
\usepackage[utf8]{inputenc} \usepackage[utf8]{inputenc}
\usepackage[scale=0.75,right=.45in,left=.45in,top=.4in,bottom=.4in]{geometry} \usepackage[scale=0.75,right=.45in,left=.45in,top=.4in,bottom=.4in]{geometry}
% Change email icon
\providecommand*{\emailsymbol}{}
\renewcommand*{\emailsymbol}{{\small\faEnvelope}~}
% Workaround to show gitlab icon in social
\providecommand*{\gitlabsocialsymbol}{}
\renewcommand*{\gitlabsocialsymbol}{{\small\faGitlab}~}
%% Personal data %% Personal data
\firstname{$name$} \firstname{$name$}
\familyname{$lastname$} \familyname{$lastname$}
\title{$about$} \title{$about$}
\email{\mbox{$email$}} \email{$email$}
\social[gitlab]{$gitlab$} \social[gitlab][gitlab.com/$gitlab$]{$gitlab$}
\photo[64pt][0.4pt]{assets/photo.png} \photo[64pt][0.4pt]{assets/photo.png}
\setlength{\hintscolumnwidth}{1.7in} \setlength{\hintscolumnwidth}{1.7in}
@ -79,5 +87,13 @@ $endfor$
\item{$projects$} \item{$projects$}
$endfor$ $endfor$
\end{tightitems}} \end{tightitems}}
\ifthenelse{\equal{$lang$}{en}}
{\section{Languages}}
{\section{Idiomas}}
$for(languages)$
\cvlanguage{$languages.language$}{
$languages.proficiency$
}{}
$endfor$
\end{document} \end{document}