diff options
author | Christophe Roger <darwiinc@live.fr> | 2016-09-29 18:25:51 +1100 |
---|---|---|
committer | Christophe Roger <darwiinc@live.fr> | 2016-09-29 18:25:51 +1100 |
commit | ec6efcf92736d28dfb1a531010a957b10062deb0 (patch) | |
tree | bcb817352f035563948f8686ffefa19c6ce2ba55 | |
parent | 54dbbd28b2b52015afc3e7ac8fbc9b4764818c49 (diff) | |
download | cv-ec6efcf92736d28dfb1a531010a957b10062deb0.tar.gz cv-ec6efcf92736d28dfb1a531010a957b10062deb0.tar.bz2 cv-ec6efcf92736d28dfb1a531010a957b10062deb0.tar.xz cv-ec6efcf92736d28dfb1a531010a957b10062deb0.zip |
Style renaming source-awesome-cv.cls -> awesome-source-cv.cls
Local font used
-rwxr-xr-x | README.md | 9 | ||||
-rwxr-xr-x | awesome-source-cv.cls (renamed from source-awesome-cv.cls) | 24 | ||||
-rwxr-xr-x | cv.tex | 14 | ||||
-rwxr-xr-x | fonts/SourceSansPro-Black.otf | bin | 0 -> 234176 bytes | |||
-rwxr-xr-x | fonts/SourceSansPro-BlackIt.otf | bin | 0 -> 81120 bytes | |||
-rwxr-xr-x | fonts/SourceSansPro-Bold.otf | bin | 0 -> 235128 bytes | |||
-rwxr-xr-x | fonts/SourceSansPro-BoldIt.otf | bin | 0 -> 80392 bytes | |||
-rwxr-xr-x | fonts/SourceSansPro-ExtraLight.otf | bin | 0 -> 221580 bytes | |||
-rwxr-xr-x | fonts/SourceSansPro-ExtraLightIt.otf | bin | 0 -> 76400 bytes | |||
-rwxr-xr-x | fonts/SourceSansPro-It.otf | bin | 0 -> 79724 bytes | |||
-rwxr-xr-x | fonts/SourceSansPro-Light.otf | bin | 0 -> 226032 bytes | |||
-rwxr-xr-x | fonts/SourceSansPro-LightIt.otf | bin | 0 -> 77816 bytes | |||
-rwxr-xr-x | fonts/SourceSansPro-Regular.otf | bin | 0 -> 229588 bytes | |||
-rwxr-xr-x | fonts/SourceSansPro-Semibold.otf | bin | 0 -> 232680 bytes | |||
-rwxr-xr-x | fonts/SourceSansPro-SemiboldIt.otf | bin | 0 -> 80316 bytes |
15 files changed, 27 insertions, 20 deletions
@@ -1,17 +1,16 @@ -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. +Latex CV based on CV template created by Alessandro Plasmati. The original templates use _XeLaTeX_ engine and _Fontin_ font. 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. +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](http://fontawesome.io/)_ icons. -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. +I've chosen to cut my resume in a couple of smaller files and to create a class file to make the main latex source code more readable. ```latex % Define author's name diff --git a/source-awesome-cv.cls b/awesome-source-cv.cls index 6f22817..b0f12cc 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,18 +8,22 @@ \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}} @@ -68,7 +72,11 @@ % 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} +\setmainfont{SourceSansPro-Light}[ + Path = fonts/, + BoldFont = SourceSansPro-Semibold, + ItalicFont = SourceSansPro-LightIt, + SmallCapsFont = SourceSansPro-Regular] %New length definition \newlength{\datebox} @@ -1,6 +1,6 @@ % !TEX TS-program = xelatex
-\documentclass{source-awesome-cv}
+\documentclass{awesome-source-cv}
\name{Christophe}{ROGER}
@@ -21,11 +21,11 @@ %--------------------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_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 Binary files differnew file mode 100755 index 0000000..0c25f3d --- /dev/null +++ b/fonts/SourceSansPro-Black.otf diff --git a/fonts/SourceSansPro-BlackIt.otf b/fonts/SourceSansPro-BlackIt.otf Binary files differnew file mode 100755 index 0000000..da3504c --- /dev/null +++ b/fonts/SourceSansPro-BlackIt.otf diff --git a/fonts/SourceSansPro-Bold.otf b/fonts/SourceSansPro-Bold.otf Binary files differnew file mode 100755 index 0000000..98dbee7 --- /dev/null +++ b/fonts/SourceSansPro-Bold.otf diff --git a/fonts/SourceSansPro-BoldIt.otf b/fonts/SourceSansPro-BoldIt.otf Binary files differnew file mode 100755 index 0000000..6600c86 --- /dev/null +++ b/fonts/SourceSansPro-BoldIt.otf diff --git a/fonts/SourceSansPro-ExtraLight.otf b/fonts/SourceSansPro-ExtraLight.otf Binary files differnew file mode 100755 index 0000000..f885ce7 --- /dev/null +++ b/fonts/SourceSansPro-ExtraLight.otf diff --git a/fonts/SourceSansPro-ExtraLightIt.otf b/fonts/SourceSansPro-ExtraLightIt.otf Binary files differnew file mode 100755 index 0000000..f932024 --- /dev/null +++ b/fonts/SourceSansPro-ExtraLightIt.otf diff --git a/fonts/SourceSansPro-It.otf b/fonts/SourceSansPro-It.otf Binary files differnew file mode 100755 index 0000000..2d627d9 --- /dev/null +++ b/fonts/SourceSansPro-It.otf diff --git a/fonts/SourceSansPro-Light.otf b/fonts/SourceSansPro-Light.otf Binary files differnew file mode 100755 index 0000000..159979f --- /dev/null +++ b/fonts/SourceSansPro-Light.otf diff --git a/fonts/SourceSansPro-LightIt.otf b/fonts/SourceSansPro-LightIt.otf Binary files differnew file mode 100755 index 0000000..e3d49b5 --- /dev/null +++ b/fonts/SourceSansPro-LightIt.otf diff --git a/fonts/SourceSansPro-Regular.otf b/fonts/SourceSansPro-Regular.otf Binary files differnew file mode 100755 index 0000000..bdcfb27 --- /dev/null +++ b/fonts/SourceSansPro-Regular.otf diff --git a/fonts/SourceSansPro-Semibold.otf b/fonts/SourceSansPro-Semibold.otf Binary files differnew file mode 100755 index 0000000..fffdbaf --- /dev/null +++ b/fonts/SourceSansPro-Semibold.otf diff --git a/fonts/SourceSansPro-SemiboldIt.otf b/fonts/SourceSansPro-SemiboldIt.otf Binary files differnew file mode 100755 index 0000000..e90515b --- /dev/null +++ b/fonts/SourceSansPro-SemiboldIt.otf |