diff --git a/fonts/SourceSansPro-Black.otf b/fonts/SourceSansPro-Black.otf new file mode 100755 index 0000000..0c25f3d Binary files /dev/null and b/fonts/SourceSansPro-Black.otf differ diff --git a/fonts/SourceSansPro-BlackIt.otf b/fonts/SourceSansPro-BlackIt.otf new file mode 100755 index 0000000..da3504c Binary files /dev/null and b/fonts/SourceSansPro-BlackIt.otf differ diff --git a/fonts/SourceSansPro-Bold.otf b/fonts/SourceSansPro-Bold.otf new file mode 100755 index 0000000..98dbee7 Binary files /dev/null and b/fonts/SourceSansPro-Bold.otf differ diff --git a/fonts/SourceSansPro-BoldIt.otf b/fonts/SourceSansPro-BoldIt.otf new file mode 100755 index 0000000..6600c86 Binary files /dev/null and b/fonts/SourceSansPro-BoldIt.otf differ diff --git a/fonts/SourceSansPro-ExtraLight.otf b/fonts/SourceSansPro-ExtraLight.otf new file mode 100755 index 0000000..f885ce7 Binary files /dev/null and b/fonts/SourceSansPro-ExtraLight.otf differ diff --git a/fonts/SourceSansPro-ExtraLightIt.otf b/fonts/SourceSansPro-ExtraLightIt.otf new file mode 100755 index 0000000..f932024 Binary files /dev/null and b/fonts/SourceSansPro-ExtraLightIt.otf differ diff --git a/fonts/SourceSansPro-It.otf b/fonts/SourceSansPro-It.otf new file mode 100755 index 0000000..2d627d9 Binary files /dev/null and b/fonts/SourceSansPro-It.otf differ diff --git a/fonts/SourceSansPro-Light.otf b/fonts/SourceSansPro-Light.otf new file mode 100755 index 0000000..159979f Binary files /dev/null and b/fonts/SourceSansPro-Light.otf differ diff --git a/fonts/SourceSansPro-LightIt.otf b/fonts/SourceSansPro-LightIt.otf new file mode 100755 index 0000000..e3d49b5 Binary files /dev/null and b/fonts/SourceSansPro-LightIt.otf differ diff --git a/fonts/SourceSansPro-Regular.otf b/fonts/SourceSansPro-Regular.otf new file mode 100755 index 0000000..bdcfb27 Binary files /dev/null and b/fonts/SourceSansPro-Regular.otf differ diff --git a/fonts/SourceSansPro-Semibold.otf b/fonts/SourceSansPro-Semibold.otf new file mode 100755 index 0000000..fffdbaf Binary files /dev/null and b/fonts/SourceSansPro-Semibold.otf differ diff --git a/fonts/SourceSansPro-SemiboldIt.otf b/fonts/SourceSansPro-SemiboldIt.otf new file mode 100755 index 0000000..e90515b Binary files /dev/null and b/fonts/SourceSansPro-SemiboldIt.otf differ diff --git a/yaac-another-awesome-cv.cls b/yaac-another-awesome-cv.cls new file mode 100755 index 0000000..a711e4d --- /dev/null +++ b/yaac-another-awesome-cv.cls @@ -0,0 +1,541 @@ +%% Copyright 2016 Christophe Roger +% +% Author: +% Christophe Roger (Darwiin) +% +% This work may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.3c +% of this license or (at your option) any later version. +% The latest version of this license is in +% http://www.latex-project.org/lppl.txt +% and version 1.3 or later is part of all distributions of LaTeX +% version 2005/12/01 or later. +% +% This work has the LPPL maintenance status `maintained'. +% +% The Current Maintainer of this work is M. C. Roger. +% +% This work consists of the files awesome-source-cv.cls + +\ProvidesClass{yaac-another-awesome-cv}[2020/03/24 v2.2.1 'YAAC: Another Awesome CV' Class] + +\def\@@ptsize{10pt} + +\DeclareOption{10pt}{\def\@@ptsize{10pt}} +\DeclareOption{11pt}{\def\@@ptsize{11pt}} +\DeclareOption{12pt}{\def\@@ptsize{12pt}} + +\ProcessOptions\relax + +\LoadClass[a4paper,\@@ptsize]{article} + +\newif\if@showLinks \@showLinksfalse +\newif\if@isCompact \@isCompactfalse + +\DeclareOption{green}{ + \def\@green{green} +} + +\DeclareOption{red}{ + \def\@red{red} +} + +\DeclareOption{indigo}{ + \def\@indigo{indigo} +} +\DeclareOption{orange}{ + \def\@orange{orange} +} + +\DeclareOption{monochrome}{ + \def\@monochrome{monochrome} +} + +\DeclareOption{localFont}{ + \def\@local{local} +} + +\DeclareOption{alternative}{ + \def\@alternative{alternate} +} + +\DeclareOption{showLinks}{ \@showLinkstrue} +\DeclareOption{compact}{ \@isCompacttrue} + +\ProcessOptions + +% Dependences +%A Few Useful Packages +\RequirePackage[english,french]{babel} +\RequirePackage[utf8]{luainputenc} +\RequirePackage{fontspec} % for loading fonts +\RequirePackage{url,parskip} % other packages for formatting +\RequirePackage[usenames,dvipsnames]{xcolor} +\RequirePackage{fullpage} +\RequirePackage[margin=1.5cm]{geometry} +\RequirePackage[fixed]{fontawesome5} +\RequirePackage{hyperref} +\RequirePackage{titlesec} +\RequirePackage{array} +\RequirePackage{enumitem} +\RequirePackage{longtable} +\RequirePackage{etoolbox} +\RequirePackage{tikz} +\RequirePackage[skins]{tcolorbox} +\RequirePackage{fancyhdr} +\RequirePackage{ifthen} + + +\DeclareUnicodeCharacter{00E9}{\'{e}} +% Define default accent colors +\definecolor{basecolor}{HTML}{000066} %BLUE + +\ifundef{\@green} { + \ifundef{\@red} { + \ifundef{\@indigo}{ + \ifundef{\@orange} { + \ifundef{\@monochrome} {} + { \definecolor{basecolor}{HTML}{000000}} + } + { \definecolor{basecolor}{HTML}{e68a00} } + } + { \definecolor{basecolor}{rgb}{0.2, 0.07, 0.48} } + } + { \definecolor{basecolor}{HTML}{b30000} } %RED +} +{ \definecolor{basecolor}{rgb}{0.0, 0.62, 0.38} } + +\definecolor{darkGrey}{HTML}{989898} + +\colorlet{linkcolor}{basecolor} +\colorlet{accentcolor}{linkcolor!90} +\colorlet{symbolcolor}{linkcolor!85} + +% Setup hyperref package, and colours for links +%\definecolor{linkcolour}{rgb}{0,0.2,0.6} + +\if@showLinks + \hypersetup{% + breaklinks + }% +\else + \hypersetup{% + pdfborder = {0 0 0}, + breaklinks + }% +\fi + +% Setup fancyhdr package +\fancyhf{} +\fancyhfoffset{0em} +% Remove head rule +\renewcommand{\headrulewidth}{0pt} +%\fancyfoot[C]{\thepage} +\pagestyle{fancy} + +%\pagestyle{empty} % non-numbered pages +%\font\fb=''[cmr10]'' % for use with \LaTeX command + +% Setup CV sections +\titleformat{\section}{\Large\raggedright}{}{0em}{}[\titlerule] +\titlespacing{\section}{0pt}{2pt}{2pt} + +% Configure list +\setlist[itemize,1]{label=\faAngleRight, nosep, leftmargin=2em} +\setlist[itemize,2]{label=\faAngleRight, nosep, leftmargin=1.5em} + +% Setup Array : new column type +\newcolumntype{R}[1]{>{\hfill}m{#1}} + +%Italian hyphenation for the word: ''corporations'' +\hyphenation{im-pre-se} + +% Setup fonts +\defaultfontfeatures{Mapping=tex-text} +% + +% Define font to use according to localFont option +\ifundef{\@local} +{ + %\setmainfont[BoldFont = Helvetica Neue, ItalicFont=Helvetica Neue Thin Italic ,SmallCapsFont = Helvetica Neue Light]{Helvetica Neue Thin} + \setmainfont{Source Sans Pro Light}[ + BoldFont = SourceSansPro-Regular, + ItalicFont= Source Sans Pro Light Italic] +} +{ + \setmainfont{SourceSansPro-Light}[ + Path = fonts/, + BoldFont = SourceSansPro-Regular, + ItalicFont = SourceSansPro-LightIt] +} + +%New length definition +\newlength{\fulllength} +\setlength{\fulllength}{17.8cm} + +\newlength{\leftcolumnlength} +\setlength{\leftcolumnlength}{2.5cm} + +\newlength{\rightcolumnlength} +%\setlength{\rightcolumnlength}{15.3cm minus 1cm} +%\setlength{\rightcolumnlength}{\dimexpr(\fulllength-\leftcolumnlength)\relax} +\setlength{\rightcolumnlength}{\dimexpr(\fulllength-\leftcolumnlength)\relax} + +% Override default left column length of (2.5cm) +% Usage: \setleftcolumnlength{} +\newcommand{\setleftcolumnlength}[1]{ + \setlength{\leftcolumnlength}{#1} + \setlength{\rightcolumnlength}{\dimexpr(\fulllength-\leftcolumnlength)\relax} +} + +% Font Awesome icons aliases +\newcommand{\mailSymbol}{\faAt} +\newcommand{\locationSymbol}{\faMapMarker*} +\newcommand{\infoSymbol}{\faInfo} +\newcommand{\linkedinSymbol}{\faLinkedinIn} +\newcommand{\viadeoSymbol}{\faViadeo} +\newcommand{\mobileSymbol}{\faMobile*} +\newcommand{\githubSymbol}{\faGithub} +\newcommand{\stackoverflowSymbol}{\faStackOverflow} +\newcommand{\stackexchangeSymbol}{\faStackExchange} +\newcommand{\mediumSymbol}{\faMedium} +\newcommand{\bitbucketSymbol}{\faBitbucket} +\newcommand{\websiteSymbol}{\faLink} + + +\newcommand\link[2]{\color{linkcolor}\href{#1}{#2}\color{Black} } +\newcommand\important[1]{\textbf #1} + +% Create a tag +% Usage: \cvtag{} +\newcommand{\cvtag}[1]{% + \tikz[baseline]\node[anchor=base,draw=darkGrey!70,rounded corners=0.5ex,inner xsep=1ex,inner ysep =0.55ex,text height=1.3ex,text depth=.25ex]{#1}; +} + +% Render author's name +% Usage: \user{}{} +\newcommand\user[2]{\color{accentcolor}{\LARGE #1 \textsc{\textbf{#2}}}\color{Black}} + +% Render a text with its symbol +% Usage; \socialtext{}{