From c9c9de07bf4cc72ed87bf634ba4f4d6fb48fbe3d Mon Sep 17 00:00:00 2001
From: Nicolas Dato <nicolas.dato@gmail.com>
Date: Thu, 29 Aug 2024 23:25:42 -0300
Subject: moving links to footnotes and improving colors

---
 cv-template.tex | 29 +++++++++++++++++++----------
 1 file changed, 19 insertions(+), 10 deletions(-)

(limited to 'cv-template.tex')

diff --git a/cv-template.tex b/cv-template.tex
index 035cea4..a985d56 100644
--- a/cv-template.tex
+++ b/cv-template.tex
@@ -1,14 +1,23 @@
 \input{solarized.tex}
+\newcommand{\cvcompanycolor}{\color{sred}}
+\newcommand{\cvprofessiontitlecolor}{\color{sorange}}
+\newcommand{\cvsectioncolor}{\color{sviolet}}
+\newcommand{\cvtimeintervalcolor}{\color{sbase03}}
+\newcommand{\cvitemcolor}{\color{sbase03}}
+\newcommand{\cvnamecolor}{\color{sred}}
+\newcommand{\cvrulecolor}{\color{sbase03}}
+\pagecolor{sbase3}
+\color{sbase01}
 
+\usepackage{palatino}
 \usepackage{hyperref}
 \hypersetup{colorlinks=true,linkcolor=sblue,urlcolor=sblue}
 \pagestyle{empty}
 
-\pagecolor{sbase3}
-\color{sbase01}
-
 \addtolength{\parskip}{1ex}
 
+\newcommand{\cvhref}[2]{#2\footnote{#2 --- \href{#1}{#1}}}
+
 \providecommand{\name}[1]{\providecommand{\cvname}{#1}}
 \providecommand{\email}[1]{\providecommand{\cvemail}{\href{mailto:#1}{#1}}}
 \providecommand{\address}[1]{\providecommand{\cvaddress}{#1}}
@@ -24,9 +33,9 @@
 \newcommand{\personalinfo}
 {\begin{center}
         \begin{minipage}[c][]{0.48\textwidth} \raggedright{}
-                {\Huge \color{sred} \textbf{\cvname{}}}
-                \smallskip
-                {\huge \cvprofessiontitle{}}
+                {\Huge \cvnamecolor {\cvname{}}}\smallskip
+
+                {\huge \cvprofessiontitlecolor \cvprofessiontitle{}}
         \end{minipage}
         \hfill
         \begin{minipage}[c][]{0.48\textwidth}
@@ -35,17 +44,17 @@
                         \alignedlistitem{Linkedin}{\cvlinkedin}
                         \alignedlistitem{Location}{\cvaddress}
                 \end{alignedlist}
-        \end{minipage}
-        \rule{\textwidth}{0.3em}
+        \end{minipage}\par
+        {\cvrulecolor\rule{\textwidth}{0.3em}}
 \end{center}}
 
 \providecommand{\timeitem}[5]
-{\noindent\textbf{{\large #3 -- #4}\hrulefill\textit{ #1 -- #2}}
+{\noindent{\Large{\cvcompanycolor #3} --- {\cvprofessiontitlecolor #4 }{\cvrulecolor\hrulefill}{\cvtimeintervalcolor\textit{ #1 --- #2}}}
 \par
 #5
 \smallskip\par}
 
-\newcommand{\cvsection}[1]{{\noindent\hrulefill\par\noindent\textbf{\Large{#1}}}\medskip\par}
+\newcommand{\cvsection}[1]{{\noindent{\cvrulecolor\hrulefill}\par\noindent\cvsectioncolor\LARGE{#1}}\medskip\par}
 
 \newenvironment{introduction}
 {}
-- 
cgit v1.2.3

