Skip to content

Commit

Permalink
Merge branch 'master' into local-github
Browse files Browse the repository at this point in the history
  • Loading branch information
Christophe Roger committed Oct 23, 2016
2 parents 1f99c12 + 55eb91b commit 44b5429
Show file tree
Hide file tree
Showing 5 changed files with 39 additions and 24 deletions.
48 changes: 31 additions & 17 deletions awesome-source-cv.cls
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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}
Expand All @@ -39,6 +39,7 @@
\DeclareOption{localFont}{
\def\@local{local}
}

\ProcessOptions

% Dependences
Expand All @@ -59,6 +60,7 @@
\RequirePackage{etoolbox}
\RequirePackage{tikz}
\RequirePackage{pgffor}
\RequirePackage[skins]{tcolorbox}

% Define default accent colors
\definecolor{basecolor}{HTML}{000066} %BLUE
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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}}
Expand Down Expand Up @@ -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
Expand All @@ -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 \\
}

Expand All @@ -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 } \\
}
Expand Down
1 change: 1 addition & 0 deletions cv.tex
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@

\name{Christophe}{ROGER}
\tagline{Chef de projet IT}
\photo{2.5cm}{darwiin}
\socialinfo{
\linkedin{christopheroger}
\viadeo{christopheroger}
Expand Down
Binary file added darwiin.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion section_competences.tex
Original file line number Diff line number Diff line change
Expand Up @@ -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 \\
Expand Down
12 changes: 6 additions & 6 deletions section_scolarite.tex
Original file line number Diff line number Diff line change
Expand Up @@ -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}
\end{scholarship}

0 comments on commit 44b5429

Please sign in to comment.