diff options
-rwxr-xr-x | README.md | 11 | ||||
-rwxr-xr-x | cv.tex | 5 | ||||
-rwxr-xr-x | section_references.tex | 2 | ||||
-rwxr-xr-x | simple-awesome-cv.cls (renamed from darwiin-cv.cls) | 95 |
4 files changed, 89 insertions, 24 deletions
@@ -22,7 +22,16 @@ I've chosen to cut my resume in a couple of smaller files and to add some macro \email{mail@dummy-mail.com} ``` -The experices section has to follow this template: +To describe your experiences you have first to declare the _experiences_ environment + +```latex +% Begin a new experiences environment to use experience and consultantexperience macro +\begin{experiences} + +% Here's go your experiences + +\end{experiences} +``` ```latex % Begin a new experiences environment to use experience and consultantexperience macro @@ -1,9 +1,10 @@ % !TEX TS-program = xelatex
-\documentclass{darwiin-cv}
+\documentclass{simple-awesome-cv}
\name{Christophe}{ROGER}
+\tagline{Chef de projet IT}
\socialinfo{
\linkedin{christopheroger}
\viadeo{christopheroger}
@@ -18,8 +19,6 @@ \makecvheader
-\resumetitle{Architecte logiciel | Développeur/Concepteur JEE}
-
%--------------------SECTIONS-----------------------------------
\input{section_headline}
\input{section_competences} % Section compétence
diff --git a/section_references.tex b/section_references.tex index ed74731..9a8bf91 100755 --- a/section_references.tex +++ b/section_references.tex @@ -6,5 +6,5 @@ \multicolumn{2}{l}{\textsc{Géry Loutre}, \emph{Architecte applicatif et logiciel}, CAFAT} & \multicolumn{2}{l}{\textsc{Nicolas Comète}, \emph{IT Architect}, IBM } \\ \quad \faMobilePhone & +687 935 339 & \quad \faMobilePhone & +33 6 75 00 98 56\\ \quad \faPhone & +687 255 904 & \quad \faPhone& +33 4 92 11 40 77\\ - \quad \faAt & \href{mailto:gloutre@cafat.nc}{gloutre@cafat.nc} & \quad \faAt & \href{mailto:nicolas.comete@fr.ibm.com}{nicolas.comete@fr.ibm.com}\\ + \quad \mailSymbol & \href{mailto:gloutre@cafat.nc}{gloutre@cafat.nc} & \quad \mailSymbol & \href{mailto:nicolas.comete@fr.ibm.com}{nicolas.comete@fr.ibm.com}\\ \end{tabular}
\ No newline at end of file diff --git a/darwiin-cv.cls b/simple-awesome-cv.cls index 17b57c9..0048b23 100755 --- a/darwiin-cv.cls +++ b/simple-awesome-cv.cls @@ -1,7 +1,32 @@ -\ProvidesClass{darwiin-cv}[2015/10/04 v1.1 Christophe ROGER CV Class] +\ProvidesClass{simple-awesome-cv}[2016/09/20 v1.2 Simple Awesome CV Class] \LoadClass[11pt,a4paper]{article} +\newcommand{\setColors}[3] { + \newcommand{\accentColor}{\color{#1}} + \newcommand{\linkColor}{\color{#1}} + \newcommand{\symbolcolor}{\textcolor{#1}} +} + +\setColors{Blue}{Blue}{Blue} + +\DeclareOption{green}{ + \renewcommand{\accentColor}{\color{Green}} + \renewcommand{\linkColor}{\color{Green}} + \renewcommand{\symbolcolor}{\textcolor{Green}} +} +\DeclareOption{red}{ + \renewcommand{\accentColor}{\color{Red}} + \renewcommand{\linkColor}{\color{Red}} + \renewcommand{\symbolcolor}{\textcolor{Red}} +} +\DeclareOption{myBlue}{ + \renewcommand{\accentColor}{\color{myBlue}} + \renewcommand{\linkColor}{\color{myBlue}} + \renewcommand{\symbolcolor}{\textcolor{myBlue}} +} +\ProcessOptions + % Dependences %A Few Useful Packages \RequirePackage[frenchb]{babel} @@ -18,9 +43,11 @@ \RequirePackage{enumitem} \RequirePackage{longtable} +\definecolor{myBlue}{HTML}{FF9B1C} + % Setup hyperref package, and colours for links \definecolor{linkcolour}{rgb}{0,0.2,0.6} -\hypersetup{colorlinks,breaklinks,urlcolor=linkcolour, linkcolor=linkcolour} +\hypersetup{breaklinks} \pagestyle{empty} % non-numbered pages \font\fb=''[cmr10]'' % for use with \LaTeX command @@ -40,7 +67,8 @@ % Setup fonts \defaultfontfeatures{Mapping=tex-text} -\setmainfont[BoldFont = Helvetica Neue, ItalicFont=Helvetica Neue Thin Italic ,SmallCapsFont = Helvetica Neue Light]{Helvetica Neue Thin} +%\setmainfont[BoldFont = Helvetica Neue, ItalicFont=Helvetica Neue Thin Italic ,SmallCapsFont = Helvetica Neue Light]{Helvetica Neue Thin} +\setmainfont[BoldFont = Source Sans Pro Semibold, ItalicFont=Source Sans Pro Light Italic,SmallCapsFont = Source Sans Pro]{Source Sans Pro Light} %New length definition \newlength{\datebox} @@ -53,22 +81,29 @@ \setlength{\leftcolumn}{2.5cm} % Macros -\newcommand{\el}{\enspace \faAngleRight \enspace} % Custom itemize to use with array -\newcommand\link[2]{\href{#1}{#2} \faLink } +\newcommand{\mailSymbol}{\faAt} +\newcommand{\locationSymbol}{\faMapMarker} +\newcommand{\infoSymbol}{\faInfo} +\newcommand{\linkedinSymbol}{\faLinkedin} +\newcommand{\viadeoSymbol}{\faViadeo} +\newcommand{\mobileSymbol}{\faMobilePhone} +\newcommand{\githubSymbol}{\faGithub} + +\newcommand\link[2]{\linkColor\href{#1}{#2}\color{Black} } \newcommand\important[1]{\textbf #1} % Render author's name % Usage: \user{<firstanme>}{<lastname>} -\newcommand\user[2]{\color{Blue}{\LARGE #1 #2}\color{Black}} % Username +\newcommand\user[2]{\accentColor{\LARGE #1 \textbf{#2}}\color{Black}} % Username % Render a text with its symbol % Usage; \socialtext{<icon>}{<label>} -\newcommand{\socialtext}[2]{\mbox{\textcolor{Blue}{#1}\hspace{0.5em}#2\hspace{1em}}} +\newcommand{\socialtext}[2]{\mbox{\symbolcolor{#1}\hspace{0.5em}#2\hspace{1em}}} % Render a link with its symbol % Usage; \sociallink{<icon>}{<label>} -\newcommand{\sociallink}[3]{\mbox{\textcolor{Blue}{#1}\hspace{0.5em}\href{#2}{#3}\hspace{1em}}} +\newcommand{\sociallink}[3]{\mbox{\symbolcolor{#1}\hspace{0.5em}\link{#2}{#3}\hspace{1em}}} % Define author's name % Usage: \name{<firstname>}{<lastname>} @@ -81,35 +116,41 @@ \newcommand*{\familyname}[1]{\def\@lastname{#1}} \def\@familyname{\@lastname} +% Define author's tagline +% Usage: \tagline{<tag line>} +\newcommand*{\tagline}[1]{\def\@tagline{#1}} + % Render author's address % Usage: \address{<address>} -\newcommand*{\address}[1]{\socialtext{\faMapMarker}{#1}} +\newcommand*{\address}[1]{\socialtext{\locationSymbol}{#1}} % Render author's infos % Usage: \infos{<infos>} -\newcommand*{\infos}[1]{\socialtext{\faInfo}{#1}} +\newcommand*{\infos}[1]{\socialtext{\infoSymbol}{#1}} % Render author's linked-in (optional) % Usage: \linkedin{<linked-in-nick>} -\newcommand*{\linkedin}[1]{\sociallink{\faLinkedin}{http://www.linkedin.com/in/#1/fr}{linkedin.com/in/#1}} +\newcommand*{\linkedin}[1]{\sociallink{\linkedinSymbol}{http://www.linkedin.com/in/#1/fr}{linkedin.com/in/#1}} % Render author's viadeo(optional) % Usage: \viadeo{<viadeo-nick>} -\newcommand*{\viadeo}[1]{\sociallink{\faViadeo}{http://www.viadeo.com/fr/profile/#1}{viadeo.com/fr/profile/#1}} +\newcommand*{\viadeo}[1]{\sociallink{\viadeoSymbol}{http://www.viadeo.com/fr/profile/#1}{viadeo.com/fr/profile/#1}} % Render author's github (optional) % Usage: \github{<github-nick>} -\newcommand*{\github}[1]{\sociallink{\faGithub}{https://www.github.com/#1}{github.com/#1}} % Github icon + URL +\newcommand*{\github}[1]{\sociallink{\githubSymbol}{https://www.github.com/#1}{github.com/#1}} % Github icon + URL % Render author's email (optional) % Usage: \email{<email adress>} -\newcommand*{\email}[1]{\sociallink{\faAt}{mailto:#1}{#1}} +\newcommand*{\email}[1]{\sociallink{\mailSymbol}{mailto:#1}{#1}} -\newcommand*\smartphone[1]{\socialtext{\faMobilePhone}{#1}} +% Render author's mobile phone (optional) +% Usage: \smartphone{<mobile phone number>} +\newcommand*\smartphone[1]{\socialtext{\mobileSymbol}{#1}} \newcommand\resumetitle[1]{ \par{ - \bigskip\center{\Large \color{Blue}#1\color{Black}}\par + \bigskip\center{\Large \accentColor#1\color{Black}}\par } \bigskip } @@ -118,21 +159,29 @@ \newcommand{\socialinfo}[1]{\def\@socialinfo{#1}} % Render CV header -% Needs \firstname and \lastname to be defined +% Needs \@firstname, \@lastname and \@tagline to be defined \newcommand{\makecvheader}{ \user{\@firstname}{\@lastname}\\ \small{\@socialinfo} + \resumetitle{\@tagline} } %Resume part title definition -\newcommand\sectionTitle[2]{\section{\texorpdfstring{\color{Blue}#2\enspace #1}{#1}}} +\newcommand\sectionTitle[2]{\section{\texorpdfstring{\accentColor#2\enspace #1}{#1}}} +% Define the 'experiences' environment \newenvironment{experiences}{% \begin{longtable}{R{\leftcolumn}|p{\rightcolumnlength}} }{% \end{longtable} } - +% Render an experience in the experiences environment +% Usage: +% {<End date>} {<Title>}{<Enterprise>}{<Country>} +% {<Start date} { +% <Experience description (Could be a list)> +% } +% {<Technology list>} \newcommand\experience[7]{ \textsc{#1} & \textsc{#2, #3, #4} \\ \textsc{#5} & \begin{minipage}[t]{\rightcolumnlength} @@ -141,6 +190,14 @@ & \footnotesize{\emph{Technologies utilisées:} #7 } \\ } +% Render a consultant experience in the experiences environment +% Usage: +% {<End date>} {<Consultant title>}{<Consulting Enterprise>}{<Country>} +% {<Start date} {<Client title>}{<Client business unit>} +% { +% <Experience description (Could be a list)> +% } +% {<Technology list>} \newcommand\consultantexperience[9]{ \textsc{#1} & \textsc{#2, #3, #4} \\ \textsc{#5} & \emph{#6} pour #7 \\ |