summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xREADME.md19
-rwxr-xr-xawesome-source-cv.cls (renamed from source-awesome-cv.cls)46
-rwxr-xr-xcv.tex23
-rwxr-xr-xfonts/SourceSansPro-Black.otfbin0 -> 234176 bytes
-rwxr-xr-xfonts/SourceSansPro-BlackIt.otfbin0 -> 81120 bytes
-rwxr-xr-xfonts/SourceSansPro-Bold.otfbin0 -> 235128 bytes
-rwxr-xr-xfonts/SourceSansPro-BoldIt.otfbin0 -> 80392 bytes
-rwxr-xr-xfonts/SourceSansPro-ExtraLight.otfbin0 -> 221580 bytes
-rwxr-xr-xfonts/SourceSansPro-ExtraLightIt.otfbin0 -> 76400 bytes
-rwxr-xr-xfonts/SourceSansPro-It.otfbin0 -> 79724 bytes
-rwxr-xr-xfonts/SourceSansPro-Light.otfbin0 -> 226032 bytes
-rwxr-xr-xfonts/SourceSansPro-LightIt.otfbin0 -> 77816 bytes
-rwxr-xr-xfonts/SourceSansPro-Regular.otfbin0 -> 229588 bytes
-rwxr-xr-xfonts/SourceSansPro-Semibold.otfbin0 -> 232680 bytes
-rwxr-xr-xfonts/SourceSansPro-SemiboldIt.otfbin0 -> 80316 bytes
15 files changed, 55 insertions, 33 deletions
diff --git a/README.md b/README.md
index b95b3c0..77d831f 100755
--- a/README.md
+++ b/README.md
@@ -1,17 +1,21 @@
-Source Awesome CV [![Example](https://img.shields.io/badge/Exemple-pdf-blue.svg)](https://raw.githubusercontent.com/posquit0/Awesome-CV/master/examples/resume.pdf)
+Awesome Source CV [![Example](https://img.shields.io/badge/Exemple-pdf-blue.svg)](https://raw.githubusercontent.com/posquit0/Awesome-CV/master/examples/resume.pdf)
=================
-Latex CV based on CV template created by Alessandro Plasmati. The original templates utilizes _XeLaTeX_ engine and _Fontin_ font.
-More informations can be found here :
+## About
+
+**Awesome Source Latex CV** is based on a CV template created by Alessandro Plasmati. The original template use _XeLaTeX_ engine and _[Fontin Sans](http://www.exljbris.com/fontinsans.html)_ font.
+
+Original Alessandro Plasmati template and more informations can be found here :
- [ Scribd ](http://fr.scribd.com/doc/16335667/Writing-your-Professional-CV-with-LaTeX)
- [ LaTeX Templates ](http://www.latextemplates.com/template/plasmati-graduate-cv)
- [ ShareLatex ](https://www.sharelatex.com/templates/cv-or-resume/professional-cv)
-I choose to move _Personal data_ on top of the page just before the professional title. I've also replaced default font by _[Source Sans Pro Font](https://github.com/adobe-fonts/source-sans-pro)_
-and included _Font Awesome_ items.
+**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 are used to highlight important elements.
-I've chosen to cut my resume in a couple of smaller files and to add some macro to make the main latex source code more readable.
+Unlike _Alessandro Plasmati_ CV template, all layout stuff in **Awesome Source Latex CV** has moved in the Latex class file _awesome-source-cv.cls_.
+
+## How to use **Awesome Source CV** latex class
```latex
% Define author's name
@@ -25,7 +29,6 @@ I've chosen to cut my resume in a couple of smaller files and to add some macro
\tagline{Chef de projet IT}
```
-
```latex
\socialinfo{
\linkedin{christopheroger}
@@ -34,7 +37,7 @@ I've chosen to cut my resume in a couple of smaller files and to add some macro
\smartphone{+687 123 456}
\email{christophe.roger@mail.com}\\
\address{2 Rue du quartier, 98765 Ville, Pays}\\
- \infos{Né le 23 septembre 1982 (33 ans) à Nouméa, Nouvelle-Calédonie}
+ \infos{Né le 23 septembre 1982 (34 ans) à Nouméa, Nouvelle-Calédonie}
}
```
diff --git a/source-awesome-cv.cls b/awesome-source-cv.cls
index 6f22817..4a3a913 100755
--- a/source-awesome-cv.cls
+++ b/awesome-source-cv.cls
@@ -1,4 +1,4 @@
-\ProvidesClass{source-awesome-cv}[2016/09/20 v1.2 Source Awesome CV Class]
+\ProvidesClass{awesome-source-cv}[2016/09/20 v1.2 Awesome Source CV Class]
\LoadClass[11pt,a4paper]{article}
@@ -8,23 +8,31 @@
\newcommand{\symbolcolor}{\textcolor{#1}}
}
+\newcommand{\resetColors}[3] {
+ \renewcommand{\accentColor}{\color{#1}}
+ \renewcommand{\linkColor}{\color{#1}}
+ \renewcommand{\symbolcolor}{\textcolor{#1}}
+}
+
\setColors{Blue}{Blue}{Blue}
\DeclareOption{green}{
- \renewcommand{\accentColor}{\color{PineGreen}}
- \renewcommand{\linkColor}{\color{PineGreen}}
- \renewcommand{\symbolcolor}{\textcolor{PineGreen}}
+ \resetColors{PineGreen}{PineGreen}{PineGreen}
}
+
\DeclareOption{red}{
- \renewcommand{\accentColor}{\color{Red}}
- \renewcommand{\linkColor}{\color{Red}}
- \renewcommand{\symbolcolor}{\textcolor{Red}}
+ \resetColors{Red}{Red}{Red}
}
+
\DeclareOption{myBlue}{
\renewcommand{\accentColor}{\color{myBlue}}
\renewcommand{\linkColor}{\color{myBlue}}
\renewcommand{\symbolcolor}{\textcolor{myBlue}}
}
+
+\DeclareOption{localFont}{
+ \def\@local{local}
+}
\ProcessOptions
% Dependences
@@ -42,6 +50,7 @@
\RequirePackage{array}
\RequirePackage{enumitem}
\RequirePackage{longtable}
+\RequirePackage{xifthen}
\definecolor{myBlue}{HTML}{FF9B1C}
@@ -67,8 +76,21 @@
% Setup fonts
\defaultfontfeatures{Mapping=tex-text}
-%\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}
+%
+
+% Define font to use according to localFont option
+\ifthenelse{\isundefined{\@local}}
+{
+ %\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}
+}
+{
+ \setmainfont{SourceSansPro-Light}[
+ Path = fonts/,
+ BoldFont = SourceSansPro-Semibold,
+ ItalicFont = SourceSansPro-LightIt,
+ SmallCapsFont = SourceSansPro-Regular]
+}
%New length definition
\newlength{\datebox}
@@ -80,8 +102,7 @@
\newlength{\leftcolumn}
\setlength{\leftcolumn}{2.5cm}
-% Macros
-
+% Font Awesome icons aliases
\newcommand{\mailSymbol}{\faAt}
\newcommand{\locationSymbol}{\faMapMarker}
\newcommand{\infoSymbol}{\faInfo}
@@ -166,7 +187,7 @@
\resumetitle{\@tagline}
}
-%Resume part title definition
+% Resume part title definition
\newcommand\sectionTitle[2]{\section{\texorpdfstring{\accentColor#2\enspace #1}{#1}}}
% Define the 'experiences' environment
@@ -175,6 +196,7 @@
}{%
\end{longtable}
}
+
% Render an experience in the experiences environment
% Usage:
% {<End date>} {<Title>}{<Enterprise>}{<Country>}
diff --git a/cv.tex b/cv.tex
index 2c5115d..bab00b3 100755
--- a/cv.tex
+++ b/cv.tex
@@ -1,7 +1,5 @@
% !TEX TS-program = xelatex
-
-\documentclass{source-awesome-cv}
-
+\documentclass[localFont]{awesome-source-cv}
\name{Christophe}{ROGER}
\tagline{Chef de projet IT}
@@ -14,18 +12,17 @@
\address{2 Rue Henri Lafleur, 98835 Dumbéa, Nouvelle-Calédonie}\\
\infos{Né le 23 septembre 1982 (33 ans) à Nouméa, Nouvelle-Calédonie}
}
-%------------------------------------------
+
\begin{document}
-\makecvheader
+ \makecvheader
-%--------------------SECTIONS-----------------------------------
-\input{section_headline}
-\input{section_competences} % Section compétence
-\input{section_experience_short} % Section expérience
-\input{section_langues} % Section langues
-\input{section_scolarite} % Section scholarité
-%\input{section_interets} % Section intérêts
-\input{section_references} % Section références
+ \input{section_headline}
+ \input{section_competences} % Section compétence
+ \input{section_experience_short} % Section expérience
+ \input{section_langues} % Section langues
+ \input{section_scolarite} % Section scholarité
+ %\input{section_interets} % Section intérêts
+ \input{section_references} % Section références
\end{document} \ No newline at end of file
diff --git a/fonts/SourceSansPro-Black.otf b/fonts/SourceSansPro-Black.otf
new file mode 100755
index 0000000..0c25f3d
--- /dev/null
+++ b/fonts/SourceSansPro-Black.otf
Binary files differ
diff --git a/fonts/SourceSansPro-BlackIt.otf b/fonts/SourceSansPro-BlackIt.otf
new file mode 100755
index 0000000..da3504c
--- /dev/null
+++ b/fonts/SourceSansPro-BlackIt.otf
Binary files differ
diff --git a/fonts/SourceSansPro-Bold.otf b/fonts/SourceSansPro-Bold.otf
new file mode 100755
index 0000000..98dbee7
--- /dev/null
+++ b/fonts/SourceSansPro-Bold.otf
Binary files differ
diff --git a/fonts/SourceSansPro-BoldIt.otf b/fonts/SourceSansPro-BoldIt.otf
new file mode 100755
index 0000000..6600c86
--- /dev/null
+++ b/fonts/SourceSansPro-BoldIt.otf
Binary files differ
diff --git a/fonts/SourceSansPro-ExtraLight.otf b/fonts/SourceSansPro-ExtraLight.otf
new file mode 100755
index 0000000..f885ce7
--- /dev/null
+++ b/fonts/SourceSansPro-ExtraLight.otf
Binary files differ
diff --git a/fonts/SourceSansPro-ExtraLightIt.otf b/fonts/SourceSansPro-ExtraLightIt.otf
new file mode 100755
index 0000000..f932024
--- /dev/null
+++ b/fonts/SourceSansPro-ExtraLightIt.otf
Binary files differ
diff --git a/fonts/SourceSansPro-It.otf b/fonts/SourceSansPro-It.otf
new file mode 100755
index 0000000..2d627d9
--- /dev/null
+++ b/fonts/SourceSansPro-It.otf
Binary files differ
diff --git a/fonts/SourceSansPro-Light.otf b/fonts/SourceSansPro-Light.otf
new file mode 100755
index 0000000..159979f
--- /dev/null
+++ b/fonts/SourceSansPro-Light.otf
Binary files differ
diff --git a/fonts/SourceSansPro-LightIt.otf b/fonts/SourceSansPro-LightIt.otf
new file mode 100755
index 0000000..e3d49b5
--- /dev/null
+++ b/fonts/SourceSansPro-LightIt.otf
Binary files differ
diff --git a/fonts/SourceSansPro-Regular.otf b/fonts/SourceSansPro-Regular.otf
new file mode 100755
index 0000000..bdcfb27
--- /dev/null
+++ b/fonts/SourceSansPro-Regular.otf
Binary files differ
diff --git a/fonts/SourceSansPro-Semibold.otf b/fonts/SourceSansPro-Semibold.otf
new file mode 100755
index 0000000..fffdbaf
--- /dev/null
+++ b/fonts/SourceSansPro-Semibold.otf
Binary files differ
diff --git a/fonts/SourceSansPro-SemiboldIt.otf b/fonts/SourceSansPro-SemiboldIt.otf
new file mode 100755
index 0000000..e90515b
--- /dev/null
+++ b/fonts/SourceSansPro-SemiboldIt.otf
Binary files differ