refactor out timelinearrow
This commit is contained in:
32
cv.tex
32
cv.tex
@@ -443,6 +443,26 @@
|
||||
\end{center}
|
||||
}
|
||||
|
||||
%---------------------------------------------------------------------------------------
|
||||
% TIMELINE ARROW
|
||||
%----------------------------------------------------------------------------------------
|
||||
|
||||
% Renders a timeline arrow for CV sections
|
||||
% param 1: length of the arrow (e.g., -19em, -39em, etc.)
|
||||
\newcommand{\timelinearrow}[1] {
|
||||
\begin{tikzpicture}[remember picture, overlay, xshift=-0.5em]
|
||||
\draw[-to, line width=0.275em, rounded corners=10pt, line cap=round, maincol] (0.1375em, #1) -- (0.1375em, 0.7em);
|
||||
\end{tikzpicture}
|
||||
}
|
||||
|
||||
% Renders a timeline arrow continuation (without arrow head)
|
||||
% param 1: length of the arrow (e.g., -10.5em, -18.5em, etc.)
|
||||
\newcommand{\timelinearrowcontinue}[1] {
|
||||
\begin{tikzpicture}[remember picture, overlay, xshift=-0.5em]
|
||||
\draw[-, line width=0.275em, rounded corners=10pt, line cap=round, maincol] (0.1375em, #1) -- (0.1375em, 0.7em);
|
||||
\end{tikzpicture}
|
||||
}
|
||||
|
||||
%=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+
|
||||
%,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
|
||||
% EDIT AFTER THIS POINT
|
||||
@@ -603,9 +623,7 @@
|
||||
\cvsectionspaced{Education}
|
||||
\vspace{-1.5em}
|
||||
|
||||
\begin{tikzpicture}[remember picture, overlay, xshift=-0.5em]
|
||||
\draw[-to, line width=0.275em, rounded corners=10pt, line cap=round, maincol] (0.1375em, -19em) -- (0.1375em, 0.7em);
|
||||
\end{tikzpicture}
|
||||
\timelinearrow{-19.5em}
|
||||
|
||||
\cvevent
|
||||
{\textbf{2022 - Jan 2025}}
|
||||
@@ -671,9 +689,7 @@
|
||||
\cvsectionspaced{Work Experience}
|
||||
\vspace{-1.5em}
|
||||
|
||||
\begin{tikzpicture}[remember picture, overlay, xshift=-0.5em]
|
||||
\draw[-to, line width=0.275em, rounded corners=10pt, line cap=round, maincol] (0.1375em, -39em) -- (0.1375em, 0.7em);
|
||||
\end{tikzpicture}
|
||||
\timelinearrow{-39em}
|
||||
|
||||
\cveventdetailed{\textbf{2025 Feb - to date}}
|
||||
{Associate Consultant Cyber Security \& Privacy}
|
||||
@@ -708,9 +724,7 @@
|
||||
\pagebreak
|
||||
|
||||
% Draw timeline arrow continuation for second page
|
||||
\begin{tikzpicture}[remember picture, overlay, xshift=-0.5em]
|
||||
\draw[-, line width=0.275em, rounded corners=10pt, line cap=round, maincol] (0.1375em, -10.5em) -- (0.1375em, 0.7em);
|
||||
\end{tikzpicture}
|
||||
\timelinearrowcontinue{-10.5em}
|
||||
|
||||
\cvevent
|
||||
{\textbf{2024 Apr - Sep}}
|
||||
|
||||
Reference in New Issue
Block a user