From 4b84adbef227e8ba87b9cf3d71b218069b1d5433 Mon Sep 17 00:00:00 2001 From: Christophe Roger Date: Thu, 15 Sep 2016 13:16:12 +1100 Subject: Add var for color Change default font --- README.md | 11 ++++++++++- darwiin-cv.cls | 20 ++++++++++++++------ 2 files changed, 24 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index f71e31e..80323f0 100755 --- a/README.md +++ b/README.md @@ -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 diff --git a/darwiin-cv.cls b/darwiin-cv.cls index 17b57c9..bb655b7 100755 --- a/darwiin-cv.cls +++ b/darwiin-cv.cls @@ -18,6 +18,10 @@ \RequirePackage{enumitem} \RequirePackage{longtable} +\definecolor{myBlue}{HTML}{191970} + +\colorlet{accent}{myBlue} + % Setup hyperref package, and colours for links \definecolor{linkcolour}{rgb}{0,0.2,0.6} \hypersetup{colorlinks,breaklinks,urlcolor=linkcolour, linkcolor=linkcolour} @@ -40,7 +44,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} @@ -60,15 +65,15 @@ % Render author's name % Usage: \user{}{} -\newcommand\user[2]{\color{Blue}{\LARGE #1 #2}\color{Black}} % Username +\newcommand\user[2]{\color{accent}{\LARGE #1 \textbf{#2}}\color{Black}} % Username % Render a text with its symbol % Usage; \socialtext{}{