From c9a2dee89b0dc1a62a727be90fd9aa8769c69917 Mon Sep 17 00:00:00 2001 From: Christophe Roger Date: Tue, 25 Oct 2016 22:51:21 +1100 Subject: Updated README.md Cleaner cls file --- README.md | 30 +++++++++++++++++++++++++++++- awesome-source-cv.cls | 13 ++++++------- 2 files changed, 35 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 32e7775..bb8b268 100755 --- a/README.md +++ b/README.md @@ -21,18 +21,44 @@ You can edit online **Awesome Source Latex CV** on [Overleaf](https://www.overle ## How to use **Awesome Source CV** latex class +### Construct the header + ```latex % Define author's name % Usage: \name{}{} % Mandatory \name{Christophe}{ROGER} +% Define author's photo (optional) +% Usage \photo{}{} +\photo{2.5cm}{darwiin} + % Define author's tagline % Usage: \tagline{} % Mandatory \tagline{Chef de projet IT} ``` +```latex +% Render author's linked-in (optional) +% Usage: \linkedin{} +\linkedin{christopheroger} + +% Render author's viadeo(optional) +% Usage: \viadeo{} +\viadeo{christopheroger} + +% Render author's github (optional) +% Usage: \github{} +\github{darwiin} + +% Render author's email (optional) +% Usage: \email{} +\email{christophe.roger@mail.com} +``` + +The command above must be integrated in the `\socialinfo` wrapper + ```latex \socialinfo{ \linkedin{christopheroger} @@ -45,7 +71,9 @@ 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 +### 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}{}\\} -- cgit v1.2.1