Initial commit

This commit is contained in:
coolneng 2019-06-27 20:14:41 +02:00
commit 64a3b1b7c9
5 changed files with 204 additions and 0 deletions

BIN
CV-Amin-Kasrou-Aouam.pdf Normal file

Binary file not shown.

10
Makefile Normal file
View File

@ -0,0 +1,10 @@
TEX = pandoc
src = details.yml
FLAGS = --pdf-engine xelatex --template template.tex
CV-Amin-Kasrou-Aouam.pdf : $(src)
$(TEX) $(src) -o $@ $(FLAGS)
.PHONY: clean
clean :
rm output.pdf

45
details.yml Normal file
View File

@ -0,0 +1,45 @@
---
# Personal details
name: Amin Kasrou Aouam
address:
- C/Alcalde Manuel Olivencia nº 3 Portal 2 - 3ºB
- 51001 ceuta
- España
phone: "+34 658591161"
email: akasroua@gmail.com
gitlab: gitlab.com/akasroua
# Sections
intro: ""
education:
- year: 2017--
subject: Ingeniería Informática
institute: Universidad de Granada
city: Ceuta
skills:
- C++, Java
- \LaTeX\, Git
- Linux, FreeBSD
languages:
- language: Español
proficiency: Nativo
- language: Franceś
proficiency: Nativo
- language: Darija
proficiency: Nativo
- language: Inglés
proficiency: Avanzado
# Settings
mainfont: EB Garamond
fontsize: 11pt
lang: es-ES
geometry: a4paper, left=35mm, right=35mm, top=33mm, bottom=17mm
---

BIN
photo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 159 KiB

149
template.tex Normal file
View File

@ -0,0 +1,149 @@
%!TEX TS-program = xelatex
%!TEX encoding = UTF-8 Unicode
\documentclass[$fontsize$, a4paper]{article}
% LAYOUT
%--------------------------------
% Margins
\usepackage{geometry}
\geometry{$geometry$}
% Do not indent paragraphs
\setlength\parindent{0in}
% Enable multicolumns
\usepackage{multicol}
\setlength{\columnsep}{-3.5cm}
% Uncomment to suppress page numbers
\pagenumbering{gobble}
% LANGUAGE
%--------------------------------
% Set the main language
$if(lang)$
\usepackage{polyglossia}
\setmainlanguage{$lang$}
$endif$
% TYPOGRAPHY
%--------------------------------
\usepackage{fontspec}
\usepackage{xunicode}
\usepackage{xltxtra}
\usepackage{fontawesome}
% converts LaTeX specials (quotes, dashes etc.) to Unicode
\defaultfontfeatures{Mapping=tex-text}
\setromanfont [Ligatures={Common}, Numbers={OldStyle}]{$mainfont$}
% Cool ampersand
\newcommand{\amper}{{\fontspec[Scale=.95]{$mainfont$}\selectfont\itshape\&}}
% MARGIN NOTES
%--------------------------------
\usepackage{marginnote}
\newcommand{\note}[1]{\marginnote{\scriptsize #1}}
\renewcommand*{\raggedleftmarginnote}{}
\setlength{\marginparsep}{7pt}
\reversemarginpar
% HEADINGS
%--------------------------------
\usepackage{sectsty}
\usepackage[normalem]{ulem}
\sectionfont{\rmfamily\mdseries}
\subsectionfont{\rmfamily\mdseries\scshape\normalsize}
\subsubsectionfont{\rmfamily\bfseries\upshape\normalsize}
% PROFILE PICTURE
%--------------------------------
\usepackage{graphicx}
% PDF SETUP
%--------------------------------
\usepackage{hyperref}
\hypersetup
{
pdfauthor={$name$},
pdfsubject={$name$'s CV},
pdftitle={$name$'s CV},
colorlinks, breaklinks, xetex, bookmarks,
filecolor=black,
urlcolor=[rgb]{0.117,0.682,0.858},
linkcolor=[rgb]{0.117,0.682,0.858},
linkcolor=[rgb]{0.117,0.682,0.858},
citecolor=[rgb]{0.117,0.682,0.858}
}
% DOCUMENT
%--------------------------------
\begin{document}
\hfill \includegraphics[width = 70pt]{./photo.png}
{\LARGE $name$}\\[.2cm]
$if(urls)$
\begin{multicols}{2}
$endif$
$for(address)$
$address$\\
$endfor$
\vspace{-10pt}
\faPhone \hspace{2 mm} $phone$\\
\faEnvelope \hspace{2 mm} \href{mailto:$email$}{$email$}\\
$if(urls)$
\columnbreak
$for(urls)$
\href{https://$urls$}{$urls$}\\
$endfor$
\end{multicols}
$endif$
\vspace{30pt}
$if(intro)$
$intro$
$endif$
\subsection*{Areas of Interest}
$if(skills)$
\begin{itemize}
$for(skills)$
\item $skills$
$endfor$
\end{itemize}
$endif$
% \vfill
\vspace{25pt}
\section*{Experiencia Laboral}
\noindent
$for(experience)$
\note{$experience.years$}\textsc{$experience.employer$}\\
\emph{$experience.job$}\\
$experience.city$\\[.2cm]
$endfor$
$if(education)$
\section*{Educación}
\noindent
$for(education)$
\note{$education.year$}\textbf{$education.subject$}$if(education.degree)$, $education.degree$$endif$\\
\emph{$education.institute$}$if(education.city)$, $education.city$$endif$\\[.2cm]
$endfor$
$endif$
$if(languages)$
\section*{Idiomas}
$for(languages)$
\emph{$languages.language$} ($languages.proficiency$)\\
$endfor$
$endif$
\end{document}