commit 329e677a1ccffe3335a0958883bad24ad0e2f363 Author: Paul Lesur Date: Fri Aug 23 14:57:44 2019 +0200 Truncate yo diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..0990269 --- /dev/null +++ b/.gitignore @@ -0,0 +1,8 @@ +cv.synctex.gz +cv.log +cv.out +cv.aux +cv.blg +cv.bbl +cv.bcf +cv.run.xml diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..223210a --- /dev/null +++ b/LICENSE @@ -0,0 +1,8 @@ +Copyright (C) 2017, Marvin Frommhold (this fork) +Copyright (C) 2012, Adrien Friggeri (origin) + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/Lato-Hairline.ttf b/Lato-Hairline.ttf new file mode 100644 index 0000000..288be29 Binary files /dev/null and b/Lato-Hairline.ttf differ diff --git a/Lato-Light.ttf b/Lato-Light.ttf new file mode 100644 index 0000000..a958067 Binary files /dev/null and b/Lato-Light.ttf differ diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..6de7e1d --- /dev/null +++ b/Makefile @@ -0,0 +1,27 @@ +.DEFAULT_GOAL := default + +# default goal +default: pdf clean + +## Create PDF +pdf: + xelatex cv + biber cv + xelatex cv + +## Cleanup build files +clean: + rm -rf cv.log cv.out cv.aux cv.blg cv.bbl cv.bcf cv.run.xml + +## Show this help screen +help: + @printf "Available targets\n\n" + @awk '/^[a-zA-Z\-\_0-9]+:/ { \ + helpMessage = match(lastLine, /^## (.*)/); \ + if (helpMessage) { \ + helpCommand = substr($$1, 0, index($$1, ":")-1); \ + helpMessage = substr(lastLine, RSTART + 3, RLENGTH); \ + printf "%-30s %s\n", helpCommand, helpMessage; \ + } \ + } \ + { lastLine = $$0 }' $(MAKEFILE_LIST) diff --git a/README.md b/README.md new file mode 100644 index 0000000..a7340de --- /dev/null +++ b/README.md @@ -0,0 +1,28 @@ +# About + +Fork of the ShareLateX version of the [Friggeri CV](https://www.sharelatex.com/templates/cv-or-resume/fancy-cv) from Adrien Friggeri changed to render in A4 paper format. There is also a new option `nocolors` to disable use of colors in section headers. + +![](samples/cv.png?raw=true) + +## Usage + +Run `make pdf` to create the PDF (`cv.pdf`). +See `make help` for an overview of available targets. + +This template needs the following dependencies installed: + +* TikZ (header) +* XeTex and fontspec (custom fonts) +* biblatex/biber (publications) +* textpos (aside) + +## Options + +* `print`: renders in black and white, and reverts the header to dark on light +* `nocolors`: no colors in section headers (but still use dark header) + +![](samples/cv_nocolors.png?raw=true) + +## License + +[MIT License](https://opensource.org/licenses/MIT), Copyright (C) 2017, Marvin Frommhold diff --git a/bibliography.bib b/bibliography.bib new file mode 100644 index 0000000..7cc134b --- /dev/null +++ b/bibliography.bib @@ -0,0 +1,239 @@ +%% This document is a bibtex export of HAL publication +%% Date of the export : 02/05/2012 +%% Criteria : Author : 'friggeri' + +%% +%% inria-00490195, version 2 +%% http://hal.inria.fr/inria-00490195 +%% + +@article{friggeri:2011:inria-00490195:2, + AUTHOR = {Friggeri, Adrien and Chelius, Guillaume and Fleury, Eric and Fraboulet, Antoine and Mentr{\'e}, France and Lucet, Jean-Christophe}, + TITLE = {{Reconstructing Social Interactions Using an unreliable Wireless Sensor Network}}, + JOURNAL = {{Computer Communications}}, + PUBLISHER = {Elsevier}, + VOLUME = {34}, + NUMBER = {5}, + PAGES = {609--618}, + YEAR = {2011}, + MONTH = Apr, + KEYWORDS = {complex networks; interaction networks; wireless sensor networks; medical applications}, + DOI = {10.1016/j.comcom.2010.06.005}, + URL = {http://hal.inria.fr/inria-00490195} +} +%% inria-00597448, version 1 +%% http://hal.inria.fr/inria-00597448 +%% + +@article{friggeri:2011:inria-00597448:1, + AUTHOR = {Friggeri, Adrien and Cointet, Jean-Philippe and Latapy, Matthieu, Matthieu}, + TITLE = {{A Real-World Spreading Experiment in the Blogosphere}}, + JOURNAL = {{Complex Systems}}, + PUBLISHER = {Complex Systems Publications, Inc.}, + VOLUME = {19}, + NUMBER = {3}, + YEAR = {2011}, + URL = {http://hal.inria.fr/inria-00597448} +} +%% inria-00475921, version 1 +%% http://hal.inria.fr/inria-00475921 +%% + +@inproceedings{friggeri:2010:inria-00475921:1, + AUTHOR = {Friggeri, Adrien and Chelius, Guillaume}, + TITLE = {{Biais dans les mesures obtenues par un r{\'e}seau de capteurs sans fil}}, + BOOKTITLE = {{12{\`e}mes Rencontres Francophones sur les Aspects Algorithmiques de T{\'e}l{\'e}communications (AlgoTel)}}, + YEAR = {2010}, + EDITOR = {Maria Gradinariu Potop-Butucaru and Herv{\'e} Rivano}, + KEYWORDS = {france}, + ADDRESS = {Belle Dune, France}, + MONTH = Jun, + URL = {http://hal.inria.fr/inria-00475921} +} +%% inria-00587942, version 1 +%% http://hal.inria.fr/inria-00587942 +%% + +@inproceedings{friggeri:2011:inria-00587942:1, + AUTHOR = {Friggeri, Adrien and Chelius, Guillaume and Fleury, Eric}, + TITLE = {{Communaut{\'e}s : Arr{\^e}tons de ne compter que les ar{\^e}tes}}, + BOOKTITLE = {{13es Rencontres Francophones sur les Aspects Algorithmiques de T{\'e}l{\'e}communications (AlgoTel)}}, + YEAR = {2011}, + EDITOR = {Ducourthial, Bertrand and Felber, Pascal}, + MONTH = Jun, + KEYWORDS = {france}, + ADDRESS = {Cap Est{\'e}rel, France}, + URL = {http://hal.inria.fr/inria-00587942} +} +%% inria-00597446, version 1 +%% http://hal.inria.fr/inria-00597446 +%% + +@inproceedings{friggeri:2011:inria-00597446:1, + AUTHOR = {Friggeri, Adrien and Chelius, Guillaume and Fleury, Eric}, + TITLE = {{Fellows: Crowd-sourcing the evaluation of an overlapping community model based on the cohesion measure}}, + BOOKTITLE = {{Interdisciplinary Workshop on Information and Decision in Social Networks}}, + YEAR = {2011}, + MONTH = May, + NOTE = {31 accept{\'e}/140 soumis +250 participants}, + ADDRESS = {Cambridge, {\'E}tats-Unis}, + URL = {http://hal.inria.fr/inria-00597446} +} +%% inria-00597447, version 1 +%% http://hal.inria.fr/inria-00597447 +%% + +@inproceedings{friggeri:2011:inria-00597447:1, + AUTHOR = {Friggeri, Adrien and Chelius, Guillaume and Fleury, Eric}, + TITLE = {{Egomunities, Exploring Socially Cohesive Person-based Communities}}, + BOOKTITLE = {{NetSci 2011 The International School and Conference on Network Science}}, + YEAR = {2011}, + MONTH = Jun, + ADDRESS = {Budapest, Hongrie}, + URL = {http://hal.inria.fr/inria-00597447} +} +%% inria-00619092, version 1 +%% http://hal.inria.fr/inria-00619092 +%% + +@inproceedings{friggeri:2011:inria-00619092:1, + AUTHOR = {Friggeri, Adrien and Chelius, Guillaume and Fleury, Eric}, + TITLE = {{Triangles to Capture Social Cohesion}}, + BOOKTITLE = {{Third IEEE International Conference on Social Computing}}, + YEAR = {2011}, + MONTH = Sep, + ADDRESS = {Cambridge, {\'E}tats-Unis}, + URL = {http://hal.inria.fr/inria-00619092} +} +%% inria-00626064, version 1 +%% http://hal.inria.fr/inria-00626064 +%% + +@inproceedings{friggeri:2011:inria-00626064:1, + AUTHOR = {Friggeri, Adrien and Chelius, Guillaume and Fleury, Eric}, + TITLE = {{Fellows: Crowd-sourcing the evaluation of an overlapping community model based on the cohesion measure}}, + BOOKTITLE = {{Complex Dynamics of Human Interactions}}, + YEAR = {2011}, + MONTH = Sep, + ADDRESS = {Vienna, Autriche}, + URL = {http://hal.inria.fr/inria-00626064} +} +%% inria-00507447, version 1 +%% http://hal.inria.fr/inria-00507447 +%% + +@inproceedings{lucet:2010:inria-00507447:1, + AUTHOR = {Lucet, Jean-Christophe and Chelius, Guillaume and Laouenan, C{\'e}dric and Friggeri, Adrien and Veziris, N. and Lepelletier, D. and Abiteboul, D. and Bouvet, Elisabeth and Fleury, Eric and Mentr{\'e}, France}, + TITLE = {{Electronic Sensors for Measuring Interactions between Healthcare Workers (HCWs) and Patients (Pts): the Case of Tuberculosis (TB)}}, + YEAR = {2010}, + MONTH = Sep, + BOOKTITLE = {{2010 Interscience Conference on Antimicrobial Agents and Chemotherapy}}, + ORGANIZATION = {American Society for Microbiology}, + ADDRESS = {Boston, {\'E}tats-Unis}, + URL = {http://hal.inria.fr/inria-00507447} +} +%% inria-00630363, version 1 +%% http://hal.inria.fr/inria-00630363 +%% + +@inproceedings{friggeri:2011:inria-00630363:1, + AUTHOR = {Friggeri, Adrien and Chelius, Guillaume and Fleury, Eric}, + TITLE = {{Trouver des communaut{\'e}s socialement coh{\'e}sives est NP-dur}}, + YEAR = {2011}, + MONTH = Oct, + KEYWORDS={france}, + BOOKTITLE = {{13emes journ{\'e}es Graphes et Algorithmes}}, + ADDRESS = {Lyon, France}, + URL = {http://hal.inria.fr/inria-00630363} +} +%% inria-00605673, version 1 +%% http://hal.inria.fr/inria-00605673 +%% + +@misc{friggeri:2011:inria-00605673:1, + AUTHOR = {Friggeri, Adrien and Fleury, Eric}, + TITLE = {{Des triangles pour mesurer la coh{\'e}sion sociale : Fellows, une exp{\'e}rimentation sur Facebook}}, + YEAR = {2011}, + MONTH = Jun, + KEYWORDS = {france}, + NOTE = {S{\'e}minaire w2s @ La Cantine}, + URL = {http://hal.inria.fr/inria-00605673} +} +%% hal-00692548, version 1 +%% http://hal.inria.fr/hal-00692548 +%% + +@techreport{friggeri:2012:hal-00692548:1, + AUTHOR = {Friggeri, Adrien and Fleury, Eric}, + TITLE = {{Finding cohesive communities with C³}}, + TYPE = {Rapport de recherche}, + YEAR = {2012}, + MONTH = Apr, + INSTITUTION = {INRIA}, + NUMBER = {RR-7947}, + URL = {http://hal.inria.fr/hal-00692548} +} +%% inria-00565336, version 2 +%% http://hal.inria.fr/inria-00565336 +%% + +@techreport{friggeri:2011:inria-00565336:2, + AUTHOR = {Friggeri, Adrien and Chelius, Guillaume and Fleury, Eric}, + TITLE = {{Egomunities, Exploring Socially Cohesive Person-based Communities}}, + TYPE = {Rapport de recherche}, + YEAR = {2011}, + MONTH = Feb, + KEYWORDS = {social networks, complex networks, real-world graphs, community detection, overlapping communities, data mining, modelisation}, + INSTITUTION = {INRIA}, + NUMBER = {RR-7535}, + URL = {http://hal.inria.fr/inria-00565336} +} +%% inria-00608889, version 1 +%% http://hal.inria.fr/inria-00608889 +%% + +@techreport{friggeri:2011:inria-00608889:1, + AUTHOR = {Friggeri, Adrien and Chelius, Guillaume and Fleury, Eric}, + TITLE = {{Triangles to Capture Social Cohesion}}, + TYPE = {Rapport de recherche}, + YEAR = {2011}, + MONTH = Jul, + INSTITUTION = {INRIA}, + NUMBER = {RR-7686}, + URL = {http://hal.inria.fr/inria-00608889} +} +%% inria-00621065, version 2 +%% http://hal.inria.fr/inria-00621065 +%% + +@techreport{friggeri:2011:inria-00621065:2, + AUTHOR = {Friggeri, Adrien and Fleury, Eric}, + TITLE = {{Maximizing the Cohesion is NP-hard}}, + TYPE = {Rapport de recherche}, + YEAR = {2011}, + MONTH = Sep, + INSTITUTION = {INRIA}, + NUMBER = {RR-7734}, + URL = {http://hal.inria.fr/inria-00621065} +} + +@article{Lucet:2012gl, +author = {Lucet, Jean-Christophe and Laouenan, Cédric and Chelius, Guillaume and Veziris, Nicolas and Lepelletier, Didier and Friggeri, Adrien and Abiteboul, Dominique and Bouvet, Elisabeth and Mentré, France and Fleury, Eric}, +title = {{Electronic Sensors for Assessing Interactions between Healthcare Workers and Patients under Airborne Precautions}}, +journal = {PLoS ONE}, +year = {2012}, +volume = {7}, +number = {5}, +pages = {e37893}, +month = may +} + +@book{allsopp07, +author = {John Allsop}, +title = {Microformats: Empowering Your Markup for Web 2.0}, +isbn = {1-59059-814-8}, +publisher = {Publisher}, +address = {London}, +month = mar, +year = {2007}, +} \ No newline at end of file diff --git a/cv.pdf b/cv.pdf new file mode 100644 index 0000000..b951cc8 Binary files /dev/null and b/cv.pdf differ diff --git a/cv.tex b/cv.tex new file mode 100644 index 0000000..2a94516 --- /dev/null +++ b/cv.tex @@ -0,0 +1,232 @@ +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% Friggeri Resume/CV for A4 paper format +% XeLaTeX Template +% Version 1.1 +% +% A4 version author: +% Marvin Frommhold (depressiverobot.com) +% https://github.com/depressiveRobot/friggeri-cv-a4 +% +% Original author: +% Adrien Friggeri (adrien@friggeri.net) +% https://github.com/afriggeri/CV +% +% License: +% CC BY-NC-SA 3.0 (http://creativecommons.org/licenses/by-nc-sa/3.0/) +% +% Important notes: +% This template needs to be compiled with XeLaTeX and the bibliography, if used, +% needs to be compiled with biber rather than bibtex. +% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +% Options +% 'print': remove colors from this template for printing +% 'nocolors' to disable colors in section headers +\documentclass[]{friggeri-cv-a4} + +\addbibresource{bibliography.bib} % Specify the bibliography file to include publications + +\begin{document} + +\header{john}{smith}{junior business analyst} % Your name and current job title/field + +%---------------------------------------------------------------------------------------- +% SIDEBAR SECTION +%---------------------------------------------------------------------------------------- + +\begin{aside} % In the aside, each new line forces a line break +\section{contact} +123 Broadway +City, State 12345 +Country +~ ++0 (000) 111 1111 ++0 (000) 111 1112 +~ +\href{mailto:john@smith.com}{john@smith.com} +\href{http://www.smith.com}{http://www.smith.com} +\href{http://facebook.com/johnsmith}{fb://jsmith} +\section{languages} +english mother tongue +spanish \& italian fluency +\section{programming} +{\color{red} $\varheartsuit$} JavaScript +Python, C++, PHP +CSS3 \& HTML5 +\end{aside} + +%---------------------------------------------------------------------------------------- +% EDUCATION SECTION +%---------------------------------------------------------------------------------------- + +\section{education} + +\begin{entrylist} + +%------------------------------------------------ + +\entry +{2011--2012} +{Masters {\normalfont of Commerce}} +{The University of California, Berkeley} +{\emph{Money Is The Root Of All Evil -- Or Is It?} \\ This thesis explored the idea that money has been the cause of untold anguish and suffering in the world. I found that it has, in fact, not.} + +%------------------------------------------------ + +\entry +{2007--2008} +{Bachelor {\normalfont of Business Studies}} +{The University of California, Berkeley} +{Specialization in Commerce} + +%------------------------------------------------ + +\end{entrylist} + +%---------------------------------------------------------------------------------------- +% WORK EXPERIENCE SECTION +%---------------------------------------------------------------------------------------- + +\section{experience} + +\subsection{Full Time} + +\begin{entrylist} + +%------------------------------------------------ + +\entry +{2012--Now} +{LEHMAN BROTHERS} +{Los Angeles, California} +{\emph{1\textsuperscript{st} Year Analyst} \\ +Developed spreadsheets for risk analysis on exotic derivatives on a wide array of commodities (ags, oils, precious and base metals), managed blotter and secondary trades on structured notes, liaised with Middle Office, Sales and Structuring for bookkeeping. \\ +Detailed achievements: +\begin{itemize} +\item Learned how to make amazing coffee +\item Finally determined the reason for \textsc{PC LOAD LETTER}: +\begin{itemize} +\item Paper jam +\item Software issues: +\begin{itemize} +\item Word not sending the correct data to printer +\item Windows trying to print in letter format +\end{itemize} +\item Coffee spilled inside printer +\end{itemize} +\item Broke the office record for number of kitten pictures in cubicle +\item Learned how to make more amazing coffee on a new machine +\end{itemize}} + +%------------------------------------------------ + +\end{entrylist} + +\subsection{Part Time} + +\begin{entrylist} + +\entry +{2010--2011} +{LEHMAN BROTHERS} +{London, United Kingdom} +{\emph{Summer Intern} \\ +Received pre-placed offer from the Exotics Trading Desk as a result of very positive reviews. Rated "truly distinctive" for Analytical Skills and Teamwork.} + +%------------------------------------------------ + +\entry +{2008-2009} +{Buy More} +{Burbank, California} +{\emph{Computer Repair Specialist} \\ +Worked in the Nerd Herd and helped to solve computer problems by asking customers to turn their computers off and on again.} + +%------------------------------------------------ + +\end{entrylist} + +%---------------------------------------------------------------------------------------- +% AWARDS SECTION +%---------------------------------------------------------------------------------------- + +\section{awards} + +\begin{entrylist} + +%------------------------------------------------ + +\entry +{2011} +{Postgraduate Scholarship} +{School of Business, The University of California} +{Awarded to the top student in their final year of a Bachelors degree. Mastered the art of filing accurate TPS reports.} + +%------------------------------------------------ + +\end{entrylist} + +%---------------------------------------------------------------------------------------- +% COMMUNICATION SKILLS SECTION +%---------------------------------------------------------------------------------------- + +\section{communication skills} + +\begin{entrylist} + +%------------------------------------------------ + +\entry +{2011} +{Oral Presentation} +{California Business Conference} +{Presented the research I conducted for my Masters of Commerce degree.} + +%------------------------------------------------ + +\entry +{2010} +{Poster} +{Annual Business Conference, Oregon} +{As part of the course work for BUS320, I created a poster analyzing several local businesses and presented this at a conference.} + +%------------------------------------------------ + +\end{entrylist} + +%---------------------------------------------------------------------------------------- +% INTERESTS SECTION +%---------------------------------------------------------------------------------------- + +\section{interests} + +\textbf{professional:} data analysis, company profiling, risk analysis, economics, web design, web app creation, software design, marketing \textbf{personal:} piano, chess, cooking, dancing, running + +%---------------------------------------------------------------------------------------- +% PUBLICATIONS SECTION +%---------------------------------------------------------------------------------------- + +\section{publications} + +\printbibsection{article}{article in peer-reviewed journal} % Print all articles from the bibliography + +\printbibsection{book}{books} % Print all books from the bibliography + +\begin{refsection} % This is a custom heading for those references marked as "inproceedings" but not containing "keyword=france" +\nocite{*} +\printbibliography[type=inproceedings, title={international peer-reviewed conferences/proceedings}, notkeyword={france}, heading=bibheading] +\end{refsection} + +\begin{refsection} % This is a custom heading for those references marked as "inproceedings" and containing "keyword=france" +\nocite{*} +\printbibliography[type=inproceedings, title={local peer-reviewed conferences/proceedings}, keyword={france}, heading=bibheading] +\end{refsection} + +\printbibsection{misc}{other publications} % Print all miscellaneous entries from the bibliography + +\printbibsection{report}{research reports} % Print all research reports from the bibliography + +%---------------------------------------------------------------------------------------- + +\end{document} diff --git a/friggeri-cv-a4.cls b/friggeri-cv-a4.cls new file mode 100644 index 0000000..194d782 --- /dev/null +++ b/friggeri-cv-a4.cls @@ -0,0 +1,361 @@ +\ProvidesClass{friggeri-cv-a4}[2015/10/22 CV class] +\NeedsTeXFormat{LaTeX2e} + +\DeclareOption{nocolors}{\def\@cv@nocolors{}} +\DeclareOption{print}{\def\@cv@print{}} +\DeclareOption*{% + \PassOptionsToClass{\CurrentOption}{article}% +} +\ProcessOptions\relax +\LoadClass{article} + +% set A4 paper format +\setlength\paperheight {297mm} +\setlength\paperwidth {210mm} + +\ProcessOptions + +%%%%%%%%%% +% Colors % +%%%%%%%%%% + +\RequirePackage{xcolor} + +\definecolor{white}{RGB}{255,255,255} + +\definecolor{darkgray}{HTML}{333333} +\definecolor{gray}{HTML}{4D4D4D} +\definecolor{lightgray}{HTML}{999999} + +\definecolor{green}{HTML}{C2E15F} +\definecolor{orange}{HTML}{FDA333} +\definecolor{purple}{HTML}{D3A4F9} +\definecolor{red}{HTML}{FB4485} +\definecolor{blue}{HTML}{6CE0F1} + +\ifdefined\@cv@print + \colorlet{green}{gray} + \colorlet{orange}{gray} + \colorlet{purple}{gray} + \colorlet{brown}{gray} + \colorlet{red}{gray} + \colorlet{blue}{gray} + \colorlet{fillheader}{white} + \colorlet{header}{gray} +\else + \colorlet{fillheader}{gray} + \colorlet{header}{white} +\fi +\colorlet{textcolor}{gray} +\colorlet{headercolor}{gray} + +\ifdefined\@cv@nocolors + \colorlet{green}{gray} + \colorlet{rdfgreen}{gray} + \colorlet{orange}{gray} + \colorlet{rdforange}{gray} + \colorlet{purple}{gray} + \colorlet{rdfpurple}{gray} + \colorlet{brown}{gray} + \colorlet{red}{gray} + \colorlet{blue}{gray} +\fi + +%%%%%%%%% +% Fonts % +%%%%%%%%% + +\RequirePackage[quiet]{fontspec} +\RequirePackage{unicode-math} + +\newfontfamily\bodyfont +[BoldFont=texgyreheros-bold.otf, +ItalicFont=texgyreheros-italic.otf, +BoldItalicFont=texgyreheros-bolditalic.otf] +{texgyreheros-regular.otf} +\newfontfamily\thinfont[]{Lato-Light.ttf} +\newfontfamily\headingfont[]{texgyreheros-bold.otf} + +\defaultfontfeatures{Mapping=tex-text} +\setmainfont +[Mapping=tex-text, Color=textcolor, +BoldFont=texgyreheros-bold.otf, +ItalicFont=texgyreheros-italic.otf, +BoldItalicFont=texgyreheros-bolditalic.otf +] +{texgyreheros-regular.otf} + +\setmathfont{texgyreheros-regular.otf} +%%% + +%%%%%%%%%% +% Header % +%%%%%%%%%% + +\RequirePackage{tikz} + +\newcommand{\rolefont}{% + \fontsize{14pt}{24pt}\selectfont% + \thinfont% + \color{white}% +} + +\newcommand{\header}[3]{% + \begin{tikzpicture}[remember picture,overlay] + \node [rectangle, fill=fillheader, anchor=north, minimum width=\paperwidth, minimum height=4cm] (box) at (current page.north){}; + \node [anchor=center] (name) at (box) {% + \fontsize{40pt}{72pt}\color{header}% + {\thinfont #1}{\bodyfont #2} + }; + \node [anchor=north] at (name.south) {% + \fontsize{14pt}{24pt}\color{header}% + \thinfont #3% + }; + \end{tikzpicture} + \vspace{2.5cm} + \vspace{-2\parskip} +} + + +%%%%%%%%%%%%% +% Structure % +%%%%%%%%%%%%% +\RequirePackage{parskip} + +\newcounter{colorCounter} +\def\@sectioncolor#1#2#3{% + {% + \color{% + \ifcase\value{colorCounter}% + blue\or% + red\or% + orange\or% + green\or% + purple\or% + brown\else% + headercolor\fi% + } #1#2#3% + }% + \stepcounter{colorCounter}% +} + +\renewcommand{\section}[1]{ + \par\vspace{\parskip} + {% + \LARGE\headingfont\color{headercolor}% + \@sectioncolor #1% + } + \par\vspace{\parskip} +} + +\renewcommand{\subsection}[1]{ + \par\vspace{.5\parskip}% + {\Large\headingfont\color{headercolor} #1} + \par\vspace{.25\parskip}% +} + +\renewcommand{\subsubsection}[2]{ + \par\vspace{.5\parskip}% + {\Large\headingfont\color{headercolor} #2} + \par\vspace{.25\parskip}% +} + +\pagestyle{empty} + + +%%%%%%%%%%%%%%%%%%%% +% List environment % +%%%%%%%%%%%%%%%%%%%% + +\setlength{\tabcolsep}{0pt} +\newenvironment{entrylist}{% + \begin{tabular*}{\textwidth}{@{\extracolsep{\fill}}ll} +}{% + \end{tabular*} +} +\renewcommand{\bfseries}{\headingfont\color{headercolor}} +\newcommand{\entry}[4]{% + \parbox[t]{2cm}{#1}&\parbox[t]{11.3cm}{% + \textbf{#2}% + \hfill% + {\footnotesize\addfontfeature{Color=lightgray} #3}\\% + #4\vspace{\parsep}% + }\\} + + +%%%%%%%%%%%%%% +% Side block % +%%%%%%%%%%%%%% + +\RequirePackage[absolute,overlay]{textpos} +\setlength{\TPHorizModule}{1cm} +\setlength{\TPVertModule}{1cm} +\newenvironment{aside}{% + \let\oldsection\section + \renewcommand{\section}[1]{ + \par\vspace{\baselineskip}{\Large\headingfont\color{headercolor} ##1} + } + \begin{textblock}{3.6}(1.5, 4.33) + \begin{flushright} + \obeycr +}{% + \restorecr + \end{flushright} + \end{textblock} + \let\section\oldsection +} + +%%%%%%%%%%%%%%%% +% Bibliography % +%%%%%%%%%%%%%%%% + +\RequirePackage[backend=biber, style=verbose, maxnames=99, sorting=ydnt]{biblatex} + +\DeclareFieldFormat[article]{title}{#1\par} +\DeclareFieldFormat[book]{title}{#1\par} +\DeclareFieldFormat[inproceedings]{title}{#1\par} +\DeclareFieldFormat[misc]{title}{#1\par} +\DeclareFieldFormat[report]{title}{#1\par} + +\DeclareBibliographyDriver{article}{% + \printfield{title}% + \newblock% + \printnames{author}% + \par% + \newblock% + {% + \footnotesize\addfontfeature{Color=lightgray}\itshape% + \usebibmacro{journal+issuetitle}% + \setunit{\space}% + \printfield{pages}% + \newunit% + \printlist{publisher}% + \setunit*{\addcomma\space}% + \printfield{year}% + \newunit% + } + \par\vspace{0.3\baselineskip} +} + +\DeclareBibliographyDriver{book}{% + \printfield{title}% + \newblock% + \printnames{author}% + \par% + \newblock% + {% + \footnotesize\addfontfeature{Color=lightgray}\itshape% + \printlist{publisher}% + \setunit*{\addcomma\space}% + \printfield{note}% + \setunit*{\addcomma\space}% + \printfield{year}% + \setunit{\addcomma\space}% + \printlist{location}% + \newunit% + } + \par\vspace{0.3\baselineskip} +} + + +\DeclareBibliographyDriver{inproceedings}{% + \printfield{title}% + \newblock% + \printnames{author}% + \par% + \newblock% + {% + \footnotesize\addfontfeature{Color=lightgray}% + \printfield{booktitle}% + \setunit{\addcomma\space}% + \printfield{year}% + \setunit{\addcomma\space}% + \printlist{location}% + \newunit% + } + \par\vspace{0.3\baselineskip} +} + +\DeclareBibliographyDriver{misc}{% + \printfield{title}% + \newblock% + \printnames{author}% + \par% + \newblock% + {% + \footnotesize\addfontfeature{Color=lightgray}\itshape% + \printfield{booktitle}% + \setunit*{\addcomma\space}% + \printfield{note}% + \setunit*{\addcomma\space}% + \printfield{year}% + \setunit{\addcomma\space}% + \printlist{location}% + \newunit% + } + \par\vspace{0.3\baselineskip} +} + +\DeclareBibliographyDriver{report}{% + \printfield{title}% + \newblock% + \printnames{author}% + \par% + \newblock% + {% + \footnotesize\addfontfeature{Color=lightgray}\itshape% + \printfield{type}% + \setunit{\space}% + \printfield{number}% + \setunit{\addcomma\space}% + \printfield{year}% + \newunit% + } + \par\vspace{0.3\baselineskip} +} + +\DeclareNameFormat{author}{% + \small\addfontfeature{Color=lightgray}% + \nameparts{#1}\ifblank{\namepartgiven}{}{\namepartgiven\space}\namepartfamily% + \ifthenelse{\value{listcount}<\value{liststop}} + {\addcomma\space} + {}% +} + +\defbibheading{bibheading}[\bibname]{% + \subsubsection*{#1} + \markboth{#1}{#1} +} + +\newcommand{\printbibsection}[2]{ + \begin{refsection} + \newrefcontext[sorting=chronological]% + \nocite{*} + \printbibliography[type={#1}, title={#2}, heading=bibheading] + \end{refsection} +} + +\DeclareSortingScheme{chronological}{ + \sort[direction=descending]{\field{year}} + \sort[direction=descending]{\field{month}} +} + + + +%%%%%%%%%%%%%%%% +% Other tweaks % +%%%%%%%%%%%%%%%% + +\RequirePackage[left=6.1cm,top=2cm,right=2.5cm,bottom=2.5cm,nohead,nofoot]{geometry} +\RequirePackage{hyperref} +\hypersetup{ + colorlinks=false, + linkcolor=red, + citecolor=red, + filecolor=red, + urlcolor = red} + +% A fix for \href{}{} colors not working with fontspec +\makeatletter +\def\HyColor@@@@UseColor#1\@nil{\addfontfeatures{Color=#1}} +\makeatother diff --git a/samples/cv.png b/samples/cv.png new file mode 100644 index 0000000..277af67 Binary files /dev/null and b/samples/cv.png differ diff --git a/samples/cv_nocolors.png b/samples/cv_nocolors.png new file mode 100644 index 0000000..71bd598 Binary files /dev/null and b/samples/cv_nocolors.png differ diff --git a/texgyreheros-bold.otf b/texgyreheros-bold.otf new file mode 100644 index 0000000..4c94009 Binary files /dev/null and b/texgyreheros-bold.otf differ diff --git a/texgyreheros-bolditalic.otf b/texgyreheros-bolditalic.otf new file mode 100644 index 0000000..2f4e007 Binary files /dev/null and b/texgyreheros-bolditalic.otf differ diff --git a/texgyreheros-italic.otf b/texgyreheros-italic.otf new file mode 100644 index 0000000..bd5bdfe Binary files /dev/null and b/texgyreheros-italic.otf differ diff --git a/texgyreheros-regular.otf b/texgyreheros-regular.otf new file mode 100644 index 0000000..cf83f01 Binary files /dev/null and b/texgyreheros-regular.otf differ