refactor out timelinearrow

This commit is contained in:
2025-10-27 12:55:21 +01:00
parent ce2703eece
commit 091aeb4798
3 changed files with 46 additions and 18 deletions

View File

@@ -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{Ausbildung}
\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, -20.5em) -- (0.1375em, 0.7em);
\end{tikzpicture}
\timelinearrow{-20.5em}
\cvevent
{\textbf{2022 - Jan 2025}}
@@ -671,9 +689,7 @@
\cvsectionspaced{Berufserfahrung}
\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, -37em) -- (0.1375em, 0.7em);
\end{tikzpicture}
\timelinearrow{-37em}
\cveventdetailed{\textbf{Feb 2025 - heute}}
{Associate Consultant Cyber Security \& Privacy}
@@ -703,9 +719,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, -18.5em) -- (0.1375em, 0.7em);
\end{tikzpicture}
\timelinearrowcontinue{-18.5em}
\cvsubpoint{Unternehmensentwicklung \& Interne Führung}{
\item Leite monatliche Wissensaustauschforen für 30-köpfiges Cybersecurity-Team, organisiere Referenten zu neuen Themen und erleichtere bereichsübergreifenden Wissenstransfer