summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristophe Roger <darwiinc@live.fr>2016-09-15 13:16:12 +1100
committerChristophe Roger <darwiinc@live.fr>2016-09-15 13:16:12 +1100
commit4b84adbef227e8ba87b9cf3d71b218069b1d5433 (patch)
treef661bb877a107a8db69d93a5caba9846e340ec08
parentce121cdd4cdfa38d47458c5a784aa3992768b1fb (diff)
downloadcv-4b84adbef227e8ba87b9cf3d71b218069b1d5433.tar.gz
cv-4b84adbef227e8ba87b9cf3d71b218069b1d5433.tar.bz2
cv-4b84adbef227e8ba87b9cf3d71b218069b1d5433.tar.xz
cv-4b84adbef227e8ba87b9cf3d71b218069b1d5433.zip
Add var for color
Change default font
-rwxr-xr-xREADME.md11
-rwxr-xr-xdarwiin-cv.cls20
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{<firstanme>}{<lastname>}
-\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{<icon>}{<label>}
-\newcommand{\socialtext}[2]{\mbox{\textcolor{Blue}{#1}\hspace{0.5em}#2\hspace{1em}}}
+\newcommand{\socialtext}[2]{\mbox{\textcolor{accent}{#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{\textcolor{accent}{#1}\hspace{0.5em}\href{#2}{#3}\hspace{1em}}}
% Define author's name
% Usage: \name{<firstname>}{<lastname>}
@@ -105,11 +110,13 @@
% Usage: \email{<email adress>}
\newcommand*{\email}[1]{\sociallink{\faAt}{mailto:#1}{#1}}
+% Render author's mobile phone (optional)
+% Usage: \smartphone{<mobile phone number>}
\newcommand*\smartphone[1]{\socialtext{\faMobilePhone}{#1}}
\newcommand\resumetitle[1]{
\par{
- \bigskip\center{\Large \color{Blue}#1\color{Black}}\par
+ \bigskip\center{\Large \color{accent}#1\color{Black}}\par
}
\bigskip
}
@@ -125,8 +132,9 @@
}
%Resume part title definition
-\newcommand\sectionTitle[2]{\section{\texorpdfstring{\color{Blue}#2\enspace #1}{#1}}}
+\newcommand\sectionTitle[2]{\section{\texorpdfstring{\color{accent}#2\enspace #1}{#1}}}
+% Define the 'experiences' environment
\newenvironment{experiences}{%
\begin{longtable}{R{\leftcolumn}|p{\rightcolumnlength}}
}{%