summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xREADME.md30
-rwxr-xr-xawesome-source-cv.cls13
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,12 +21,18 @@ 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{<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
@@ -34,6 +40,26 @@ You can edit online **Awesome Source Latex CV** on [Overleaf](https://www.overle
```
```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}
+```
+
+The command above must be integrated in the `\socialinfo` wrapper
+
+```latex
\socialinfo{
\linkedin{christopheroger}
\viadeo{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}{}\\}