diff options
Diffstat (limited to 'cv-style.cls')
-rw-r--r-- | cv-style.cls | 19 |
1 files changed, 15 insertions, 4 deletions
diff --git a/cv-style.cls b/cv-style.cls index 855d9c3..9c58df1 100644 --- a/cv-style.cls +++ b/cv-style.cls @@ -54,7 +54,6 @@ \RequirePackage[quiet]{fontspec} \RequirePackage[none]{hyphenat} -% \RequirePackage[math-style=TeX,vargreek-shape=unicode]{unicode-math} \RequirePackage[math-style=TeX]{unicode-math} \newfontfamily\bodyfont{Roboto-Regular}[Path=fonts/] @@ -176,13 +175,26 @@ \textbf{#2}% \hfill% {\footnotesize\addfontfeature{Color=lightgray} #3}\\% - #4\vspace{\parsep}% + #4\vspace{2\parsep}% }\\} %---------------------------------------------------------------------------------------- +% Photo % +%---------------------------------------------------------------------------------------- + +\RequirePackage{graphicx} + +\newcommand{\photo}[1]{% + \vspace{0.5cm} + \includegraphics[width=3cm]{#1}% +} + +%---------------------------------------------------------------------------------------- % Side block % %---------------------------------------------------------------------------------------- +\RequirePackage{ragged2e} + \setlength{\TPHorizModule}{1cm} \setlength{\TPVertModule}{1cm} \newenvironment{aside}{% @@ -205,5 +217,4 @@ %---------------------------------------------------------------------------------------- \RequirePackage[left=5.6cm,top=1cm,right=1cm,bottom=1cm,nohead,nofoot]{geometry} -\RequirePackage{hyperref} - +\RequirePackage{hyperref}
\ No newline at end of file |