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 --- awesome-source-cv.cls | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) (limited to 'awesome-source-cv.cls') 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.3