summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristophe Roger <darwiinc@live.fr>2016-10-23 13:35:34 +1100
committerChristophe Roger <darwiinc@live.fr>2016-10-23 13:35:34 +1100
commit55eb91b49ee5b204f8dff9df5c446fc0c6edbca5 (patch)
treeaa9d666cd38dc91777be3710d270958c45fed7c8
parent345cc79abbbe1f71dcff2d6250c3f637447001b2 (diff)
downloadcv-55eb91b49ee5b204f8dff9df5c446fc0c6edbca5.tar.gz
cv-55eb91b49ee5b204f8dff9df5c446fc0c6edbca5.tar.bz2
cv-55eb91b49ee5b204f8dff9df5c446fc0c6edbca5.tar.xz
cv-55eb91b49ee5b204f8dff9df5c446fc0c6edbca5.zip
Awesome Source CV Style 1.4
New command photo to add photo to your resume
-rwxr-xr-xawesome-source-cv.cls48
-rwxr-xr-xcv.tex1
-rw-r--r--darwiin.pngbin0 -> 12121 bytes
-rwxr-xr-xsection_competences.tex2
-rwxr-xr-xsection_scolarite.tex12
5 files changed, 39 insertions, 24 deletions
diff --git a/awesome-source-cv.cls b/awesome-source-cv.cls
index e5a7e98..93710df 100755
--- a/awesome-source-cv.cls
+++ b/awesome-source-cv.cls
@@ -1,7 +1,7 @@
%% Copyright 2016 Christophe Roger
%
% Author:
-%Christophe Roger
+% Christophe Roger
%
% This work may be distributed and/or modified under the
% conditions of the LaTeX Project Public License, either version 1.3c
@@ -17,9 +17,9 @@
%
% This work consists of the files awesome-source-cv.cls
-\ProvidesClass{awesome-source-cv}[2016/10/14 v1.3 Awesome Source CV Class]
+\ProvidesClass{awesome-source-cv}[2016/10/23 v1.4 Awesome Source CV Class]
-\LoadClass[11pt,a4paper]{article}
+\LoadClass[a4paper]{article}
\DeclareOption{green}{
\def\@green{green}
@@ -39,6 +39,7 @@
\DeclareOption{localFont}{
\def\@local{local}
}
+
\ProcessOptions
% Dependences
@@ -59,6 +60,7 @@
\RequirePackage{etoolbox}
\RequirePackage{tikz}
\RequirePackage{pgffor}
+\RequirePackage[skins]{tcolorbox}
% Define default accent colors
\definecolor{basecolor}{HTML}{000066} %BLUE
@@ -144,18 +146,12 @@
\newcommand\link[2]{\color{linkcolor}\href{#1}{#2}\color{Black} }
\newcommand\important[1]{\textbf #1}
-% Create tag
+% Create a tag
+% Usage: \cvtag{<tag label>}
\newcommand{\cvtag}[1]{%
\tikz[baseline]\node[anchor=base,draw=darkGrey!70,rounded corners=0.5ex,inner xsep=1ex,inner ysep =0.55ex,text height=1.3ex,text depth=.25ex]{#1};
}
-% Create skill level
-%\newcommand{\cvskill}[2]{%
-%\textcolor{accentcolor}{\textbf{#1}}\hfill
-%\foreach \x in {1,...,5}{%
-% \space{\color{accentcolor} \ifnumgreater{\x}{#2}{\faCircleThin}{\faCircle}}}\par%
-%}
-
% Render author's name
% Usage: \user{<firstanme>}{<lastname>}
\newcommand\user[2]{\color{accentcolor}{\LARGE #1 \textbf{#2}}\color{Black}} % Username
@@ -183,6 +179,10 @@
% Usage: \tagline{<tag line>}
\newcommand*{\tagline}[1]{\def\@tagline{#1}}
+% Define author's photo
+% Usage \photo{<diameter>}{<photo>}
+\newcommand{\photo}[2]{\def\@photo{#2}\def\@photodiameter{#1}}
+
% Render author's address
% Usage: \address{<address>}
\newcommand*{\address}[1]{\socialtext{\locationSymbol}{#1}}
@@ -211,6 +211,7 @@
% Usage: \smartphone{<mobile phone number>}
\newcommand*\smartphone[1]{\socialtext{\mobileSymbol}{#1}}
+% Render author's tagline
\newcommand\resumetitle[1]{
\par{
\bigskip\center{\Large \color{accentcolor}\textsc{#1}\color{Black}}\par
@@ -223,25 +224,39 @@
% Render CV header
% Needs \@firstname, \@lastname and \@tagline to be defined
-\newcommand{\makecvheader}{
+\newcommand*{\makecvheader}{
+ \ifundef{\@photodiameter}{
+ \begin{minipage}{\linewidth}
+ }{
+ \begin{minipage}{\dimexpr\linewidth-\@photodiameter-2em}
+ }
\user{\@firstname}{\@lastname}\\
\small{\@socialinfo}
+ \end{minipage}
+ \ifdef{\@photodiameter}{
+ \begin{minipage}{\@photodiameter}
+ \tikz\path[fill overzoom image={\@photo}]circle[radius=0.5\linewidth];
+ \end{minipage}
+ }{}
\resumetitle{\@tagline}
}
% Resume part title definition
\newcommand\sectionTitle[2]{\section{\texorpdfstring{\color{accentcolor}#2\enspace #1}{#1}}}
+% Define a new column type for the scholarship environment
\newcolumntype{D}{>{\raggedleft}p{\leftcolumn}}
-% Define the 'scolarship' environment
-\newenvironment{scolarship}{%
+% Define the 'scholarship' environment
+\newenvironment{scholarship}{%
\begin{tabular}{D p{\rightcolumnlength}}
}{%
\end{tabular}
}
-\newcommand\scolarshipentry[2]{
+% Render a scholarshipentry in the scolarship environment
+% Usage: \scholarshipentry{<date>}{<description>}
+\newcommand\scholarshipentry[2]{
#1 & #2 \\
}
@@ -253,8 +268,7 @@
}
% Render a skill in the skills environment
-% Usage:
-% \skill{<skill>}{<level>}
+% Usage: \skill{<skill>}{<level>}
\newcommand\skill[2]{
\textsc{#1} & \foreach \x in {1,...,5}{{\color{accentcolor!80} \ifnumgreater{\x}{#2}{\faCircleO}{\faCircle}}\enspace } \\
}
diff --git a/cv.tex b/cv.tex
index 62c872c..3d49177 100755
--- a/cv.tex
+++ b/cv.tex
@@ -14,6 +14,7 @@
\name{Christophe}{ROGER}
\tagline{Chef de projet IT}
+\photo{2.5cm}{darwiin}
\socialinfo{
\linkedin{christopheroger}
\viadeo{christopheroger}
diff --git a/darwiin.png b/darwiin.png
new file mode 100644
index 0000000..22ae9ab
--- /dev/null
+++ b/darwiin.png
Binary files differ
diff --git a/section_competences.tex b/section_competences.tex
index 9a5f242..281634d 100755
--- a/section_competences.tex
+++ b/section_competences.tex
@@ -13,7 +13,7 @@
\sectionTitle{Compétences}{\faTasks}
\renewcommand{\arraystretch}{1.1}
- \begin{tabular}{>{\small}r>{\small}p{13cm}}
+ \begin{tabular}{>{}r>{}p{13cm}}
\textsc{Langages de programmation:} & \textbf{Java} (\textbf{JEE}, \textbf{JSE}, JME, Java Card Platform), Microsoft .Net (\textbf{C\#},asp.net)\\
\textsc{Programmation web:} & ZK, JSP, JSF, JBoss RichFaces, Javascript, jQuery, AngularJS, Bootstrap, LESS, CSS\\
\textsc{Bases de données:} & \textbf{IBM DB2}, Oracle Database, Microsoft SQL Server, MySQL, PostgreSQL \\
diff --git a/section_scolarite.tex b/section_scolarite.tex
index f2e14c8..e5051d0 100755
--- a/section_scolarite.tex
+++ b/section_scolarite.tex
@@ -12,13 +12,13 @@
%Section: Scholarships and additional info
\sectionTitle{Formation}{\faMortarBoard}
-\begin{scolarship}
- \scolarshipentry{2007}
+\begin{scholarship}
+ \scholarshipentry{2007}
{Master STIC Professionel filière MBDS de l'Université de Nice Sophia Antipolis (Master Informatique spécialité Multimédia, Base de Données et intégration de Systèmes)}
- \scolarshipentry{2005}
+ \scholarshipentry{2005}
{Licence Sciences et Technologies, Mention Informatique, de l'Université de Nouvelle-Calédonie}
- \scolarshipentry{2004}
+ \scholarshipentry{2004}
{BTS Informatique de Gestion option administrateurs de réseaux}
- \scolarshipentry{2000}
+ \scholarshipentry{2000}
{Baccalauréat Scientifique option Mathématiques}
-\end{scolarship} \ No newline at end of file
+\end{scholarship} \ No newline at end of file