summaryrefslogtreecommitdiff
path: root/cv-style.cls
diff options
context:
space:
mode:
authorRafael Marçalo <public@rafaelmarcalo.xyz>2024-09-25 04:24:38 +0100
committerRafael Marçalo <public@rafaelmarcalo.xyz>2024-09-25 04:24:38 +0100
commit53d7a3ed902f20422ee9e961f9eaf1b0648b4952 (patch)
tree822dc4a07a6d028b28a70e33a24e9532f13f6c30 /cv-style.cls
parent48381903ea86d3a29f5e36b4b3dcdd09b1f92ca3 (diff)
Updated CVHEADmaster
Diffstat (limited to 'cv-style.cls')
-rw-r--r--cv-style.cls19
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