From d68b41b12a68638f49652e9cc0590f1a5308f0a6 Mon Sep 17 00:00:00 2001 From: Christophe Roger Date: Sun, 19 Nov 2017 09:56:07 +1100 Subject: Update README --- README.md | 20 +- example/cv.tex | 6 +- example/yaac-another-awesome-cv.cls | 1 + example/yaac.cls | 1 - yaac-another-awesome-cv.cls | 354 ++++++++++++++++++++++++++++++++++++ yaac.cls | 354 ------------------------------------ 6 files changed, 368 insertions(+), 368 deletions(-) create mode 120000 example/yaac-another-awesome-cv.cls delete mode 120000 example/yaac.cls create mode 100755 yaac-another-awesome-cv.cls delete mode 100755 yaac.cls diff --git a/README.md b/README.md index 93b7482..e90d3f2 100755 --- a/README.md +++ b/README.md @@ -1,9 +1,9 @@ -YAAC: Another Awesome CV [![CircleCI](https://circleci.com/gh/darwiin/yaac-another-awesome-cv.svg?style=svg)](https://circleci.com/gh/darwiin/yaac-another-awesome-cv) [![Example](https://img.shields.io/badge/Exemple-pdf-blue.svg)](https://github.com/darwiin/awesome-neue-latex-cv/releases/download/v1.6.1/cv.pdf) +YAAC: Another Awesome CV [![CircleCI](https://circleci.com/gh/darwiin/yaac-another-awesome-cv.svg?style=svg)](https://circleci.com/gh/darwiin/yaac-another-awesome-cv) [![Example](https://img.shields.io/badge/Exemple-pdf-blue.svg)](https://github.com/darwiin/yaac-another-awesome-cv/releases/download/v1.7.0/cv.pdf) ================= ## Quick start -You can edit online **YAAC** template on [Overleaf](https://www.overleaf.com/latex/templates/awesome-source-cv/wrdjtkkytqcw). Feel free to use my [referal link](https://www.overleaf.com/signup?ref=54c221604cd6) if you want to create your account. +You can edit online **YAAC: Another Awesome CV** template on [Overleaf](https://www.overleaf.com/latex/templates/awesome-source-cv/wrdjtkkytqcw). Feel free to use my [referal link](https://www.overleaf.com/signup?ref=54c221604cd6) if you want to create your account. ## About @@ -11,7 +11,7 @@ You can edit online **YAAC** template on [Overleaf](https://www.overleaf.com/lat **Personal data** has moved on top of the first page just before the position and _[Fontin Sans](http://www.exljbris.com/fontinsans.html)_ font has been replaced by _[Source Sans Pro Font](https://github.com/adobe-fonts/source-sans-pro)_ from Adobe. _[Font Awesome](http://fontawesome.io/)_ icons highlight important elements. -Unlike _Alessandro Plasmati_ CV template, all layout stuff in **Awesome Source Latex CV** has moved in the Latex class file _awesome-source-cv.cls_ to imptove source code readability. +Unlike _Alessandro Plasmati_ CV template, all layout stuff in **YAAC: Another Awesome CV** has moved in the Latex class file _yaac-another-awesome-cv.cls_ to improve source code readability and style reusability. More informations about the original Alessandro Plasmati template can be found here : @@ -19,24 +19,24 @@ More informations about the original Alessandro Plasmati template can be found h - [ LaTeX Templates ](http://www.latextemplates.com/template/plasmati-graduate-cv) - [ ShareLatex ](https://www.sharelatex.com/templates/cv-or-resume/professional-cv) -## How to use **Awesome Source CV** latex class +## How to use **YAAC: Another Awesome CV** latex class -### Use the **Awesome Source CV** options +### Use the **YAAC: Another Awesome CV** options When declaring the `\documentclass` you can use option(s) to customize your CV rendering. ```latex % Used with no option, the template will use the 'traditional' % header layout your system fonts and the default color scheme ie. blue -\documentclass{awesome-source-cv} +\documentclass{yaac-another-awesome-cv} % Used with localFont option the template will use the 'traditional' % header layout, fonts included in the fonts directory and the default color scheme -\documentclass[localFont]{awesome-source-cv} +\documentclass[localFont]{yaac-another-awesome-cv} % Used with localFont option, the template will use the 'alternative' % header layout, your system fonts and the default color scheme -\documentclass[alternative]{awesome-source-cv} +\documentclass[alternative]{yaac-another-awesome-cv} ``` @@ -90,7 +90,7 @@ Put these command in the `\socialinfo` wrapper. Feel free to add `\\` when you w \smartphone{+687 123 456} \email{christophe.roger@mail.com}\\ \address{2 Rue du quartier, 98765 Ville, Pays}\\ - \infos{Né le 23 septembre 1982 (34 ans) à Nouméa, Nouvelle-Calédonie} + \infos{Né le 23 septembre 1982 (35 ans) à Nouméa, Nouvelle-Calédonie} } ``` @@ -188,6 +188,6 @@ The _scolarship_ section ise the **scolarship** environment. ## License -Latex class file _awesome-source-cv.cls_ is published under the term of the [LPPL Version 1.3c](https://www.latex-project.org/lppl.txt). +Latex class file _yaac-another-awesome-cv_ is published under the term of the [LPPL Version 1.3c](https://www.latex-project.org/lppl.txt). All content files are published under the term of the [CC BY-SA 4.0 License](https://creativecommons.org/licenses/by-sa/4.0/legalcode). \ No newline at end of file diff --git a/example/cv.tex b/example/cv.tex index 644f488..8b336c1 100755 --- a/example/cv.tex +++ b/example/cv.tex @@ -10,7 +10,7 @@ % Template license: % CC BY-SA 4.0 (https://creativecommons.org/licenses/by-sa/4.0/) -\documentclass[localFont,alternative]{yaac} +\documentclass[localFont,alternative]{yaac-another-awesome-cv} \name{Christophe}{ROGER} \tagline{Architecte Logiciel | Développeur/Concepteur Java/JEE} @@ -18,8 +18,8 @@ \socialinfo{ \linkedin{christopheroger} \github{darwiin}\\ - \smartphone{+687 831 831} - \email{christophe.roger@gmail.com}\\ + \smartphone{+687 123 456} + \email{christophe.roger@mail.com}\\ \address{2 Rue du quartier, 98765 Ville, Pays}\\ \infos{Né le 23 septembre 1982 (35 ans) à Nouméa, Nouvelle-Calédonie} } diff --git a/example/yaac-another-awesome-cv.cls b/example/yaac-another-awesome-cv.cls new file mode 120000 index 0000000..47c3c89 --- /dev/null +++ b/example/yaac-another-awesome-cv.cls @@ -0,0 +1 @@ +../yaac-another-awesome-cv.cls \ No newline at end of file diff --git a/example/yaac.cls b/example/yaac.cls deleted file mode 120000 index 7ea33aa..0000000 --- a/example/yaac.cls +++ /dev/null @@ -1 +0,0 @@ -../yaac.cls \ No newline at end of file diff --git a/yaac-another-awesome-cv.cls b/yaac-another-awesome-cv.cls new file mode 100755 index 0000000..330605f --- /dev/null +++ b/yaac-another-awesome-cv.cls @@ -0,0 +1,354 @@ +%% 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}[2017/11/17 v1.7.0 'YAAC: Another Awesome CV' Class] + +\LoadClass[a4paper]{article} + +\DeclareOption{green}{ + \def\@green{green} +} + +\DeclareOption{red}{ + \def\@red{red} +} + +\DeclareOption{indigo}{ + \def\@indigo{indigo} +} +\DeclareOption{orange}{ + \def\@orange{orange} +} + +\DeclareOption{localFont}{ + \def\@local{local} +} + +\DeclareOption{alternative}{ + \def\@alternative{alternate} +} + +\ProcessOptions + +% Dependences +%A Few Useful Packages +\RequirePackage[frenchb]{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{fontawesome} +\RequirePackage{hyperref} +\RequirePackage{titlesec} +\RequirePackage{array} +\RequirePackage{enumitem} +\RequirePackage{longtable} +\RequirePackage{etoolbox} +\RequirePackage{tikz} +\RequirePackage[skins]{tcolorbox} + + +\DeclareUnicodeCharacter{00E9}{\'{e}} +% Define default accent colors +\definecolor{basecolor}{HTML}{000066} %BLUE + +\ifundef{\@green} { + \ifundef{\@red} { + \ifundef{\@indigo}{ + \ifundef{\@orange} {} + { \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} +\hypersetup{breaklinks} + +\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} + +% 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 = Source Sans Pro Semibold, + ItalicFont= Source Sans Pro Light Italic, + SmallCapsFont = Source Sans Pro] +} +{ + \setmainfont{SourceSansPro-Light}[ + Path = fonts/, + BoldFont = SourceSansPro-Semibold, + ItalicFont = SourceSansPro-LightIt, + SmallCapsFont = SourceSansPro-Regular] +} + +%New length definition +\newlength{\rightcolumnlength} +\setlength{\rightcolumnlength}{14.8cm} + +\newlength{\leftcolumn} +\setlength{\leftcolumn}{2.5cm} + +% Font Awesome icons aliases +\newcommand{\mailSymbol}{\faAt} +\newcommand{\locationSymbol}{\faMapMarker} +\newcommand{\infoSymbol}{\faInfo} +\newcommand{\linkedinSymbol}{\faLinkedin} +\newcommand{\viadeoSymbol}{\faViadeo} +\newcommand{\mobileSymbol}{\faMobilePhone} +\newcommand{\githubSymbol}{\faGithub} + +\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 \textbf{#2}}\color{Black}} + +% Render a text with its symbol +% Usage; \socialtext{}{