diff options
author | Christophe Roger <darwiinc@live.fr> | 2016-11-02 14:44:07 +1100 |
---|---|---|
committer | Christophe Roger <darwiinc@live.fr> | 2016-11-02 14:44:07 +1100 |
commit | 45d251f00fa7312f1c8286e10abcbd34a2862add (patch) | |
tree | 4b6c4163a44effd1c1739c11243ce80a8908c22a | |
parent | b7a1753a4dbf79a001f8601fc1b29bd7dbe3514a (diff) | |
parent | 79e68db599386b9ce534b52a895589dd94eaec17 (diff) | |
download | cv-45d251f00fa7312f1c8286e10abcbd34a2862add.tar.gz cv-45d251f00fa7312f1c8286e10abcbd34a2862add.tar.bz2 cv-45d251f00fa7312f1c8286e10abcbd34a2862add.tar.xz cv-45d251f00fa7312f1c8286e10abcbd34a2862add.zip |
Merge branch 'master' into local-github
-rwxr-xr-x | README.md | 44 | ||||
-rwxr-xr-x | awesome-source-cv.cls | 13 |
2 files changed, 47 insertions, 10 deletions
@@ -5,7 +5,7 @@ Awesome Source CV [![Example](https://img.shields.io/badge/Exemple-pdf-blue.svg) **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 : +More informations about the original Alessandro Plasmati template 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) @@ -17,22 +17,52 @@ Unlike _Alessandro Plasmati_ CV template, all layout stuff in **Awesome Source L ## Quick start -You can edit online **Awesome Source Latex CV** on [Overleaf](https://www.overleaf.com/latex/templates/awesome-source-cv/wrdjtkkytqcw). Feel free to use my [invite link](https://www.overleaf.com/signup?ref=54c221604cd6) if you want to create your account. +You can edit online **Awesome Source Latex CV** on [Overleaf](https://www.overleaf.com/latex/templates/awesome-source-cv/wrdjtkkytqcw). Feel free to use my [referal link](https://www.overleaf.com/signup?ref=54c221604cd6) if you want to create your account. ## How to use **Awesome Source CV** latex class +### Construct the header + +Outside of the `\socialinfo` wrapper you have to define the mandatory parameters `\name` and `\tagline`. + ```latex % Define author's name % Usage: \name{<firstname>}{<lastname>} % Mandatory \name{Christophe}{ROGER} +% Define author's photo (optional) +% Usage \photo{<diameter>}{<photo>} +\photo{2.5cm}{darwiin} + % Define author's tagline % Usage: \tagline{<tag line>} % Mandatory \tagline{Chef de projet IT} ``` +Most social network have their command to render a clickable link or a simple text entry. + +```latex +% Render author's linked-in (optional) +% Usage: \linkedin{<linked-in-nick>} +\linkedin{christopheroger} + +% Render author's viadeo(optional) +% Usage: \viadeo{<viadeo-nick>} +\viadeo{christopheroger} + +% Render author's github (optional) +% Usage: \github{<github-nick>} +\github{darwiin} + +% Render author's email (optional) +% Usage: \email{<email adress>} +\email{christophe.roger@mail.com} +``` + +Put these command in the `\socialinfo` wrapper. Feel free to add `\\` when you want to force a new line. + ```latex \socialinfo{ \linkedin{christopheroger} @@ -45,7 +75,15 @@ You can edit online **Awesome Source Latex CV** on [Overleaf](https://www.overle } ``` -To describe your experiences you have first to declare the **experiences** environment +Use the `\makecvheader`commabd to generate the header. + +```latex +\makecvheader +``` + +### Construct the _experiences_ section + +To describe your experiences you have first to declare the `experiences` environment ```latex % Begin a new experiences environment to use experience and consultantexperience macro diff --git a/awesome-source-cv.cls b/awesome-source-cv.cls index 93710df..3d08849 100755 --- a/awesome-source-cv.cls +++ b/awesome-source-cv.cls @@ -125,9 +125,6 @@ } %New length definition -\newlength{\datebox} -\settowidth{\datebox}{Décembre 2009} - \newlength{\rightcolumnlength} \setlength{\rightcolumnlength}{14.8cm} @@ -245,11 +242,11 @@ \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}} +\newcolumntype{Y}{>{\raggedleft}p{\leftcolumn}} % Define the 'scholarship' environment \newenvironment{scholarship}{% - \begin{tabular}{D p{\rightcolumnlength}} + \begin{tabular}{Y p{\rightcolumnlength}} }{% \end{tabular} } @@ -273,9 +270,11 @@ \textsc{#1} & \foreach \x in {1,...,5}{{\color{accentcolor!80} \ifnumgreater{\x}{#2}{\faCircleO}{\faCircle}}\enspace } \\ } +\newcolumntype{E}{>{\raggedright\arraybackslash}p{\rightcolumnlength}} + % Define the 'experiences' environment \newenvironment{experiences}{% - \begin{longtable}{R{\leftcolumn}|p{\rightcolumnlength}} + \begin{longtable}{R{\leftcolumn}|E} }{% \end{longtable} } @@ -311,7 +310,7 @@ & \begin{minipage}[t]{\rightcolumnlength} #8 \end{minipage} \\ - & \footnotesize{\foreach \n in {#9}{\cvtag{\n}} } \\ + & \footnotesize{\foreach \n in {#9}{\cvtag{\n}}} \\ } \newcommand\emptySeparator{\multicolumn{2}{c}{}\\} |