From 1ad6370c192dc9c888e8eb6724d1501fdd911c00 Mon Sep 17 00:00:00 2001 From: Sina Atalay Date: Mon, 15 Apr 2024 01:02:50 +0300 Subject: [PATCH] engineeringresumes: add horizontal spacing between dates and titles --- .../engineeringresumes/EducationEntry.j2.tex | 17 ++++++++++--- .../engineeringresumes/ExperienceEntry.j2.tex | 17 ++++++++++--- .../engineeringresumes/NormalEntry.j2.tex | 17 ++++++++++--- .../PublicationEntry.j2.tex | 25 +++++++++++-------- 4 files changed, 56 insertions(+), 20 deletions(-) diff --git a/rendercv/themes/engineeringresumes/EducationEntry.j2.tex b/rendercv/themes/engineeringresumes/EducationEntry.j2.tex index 952735a..9ceb57d 100644 --- a/rendercv/themes/engineeringresumes/EducationEntry.j2.tex +++ b/rendercv/themes/engineeringresumes/EducationEntry.j2.tex @@ -2,15 +2,26 @@ \vspace{<>} ((* endif *)) -\begin{onecolentry} - \textbf{<>}, ((* if entry.degree *))<> in ((* endif *))<>((* if entry.location *)) -- <>((* endif *)) \hfill <> +((* if entry.date_string *)) +\begin{twocolentry}{ + <> +} + \textbf{<>}, ((* if entry.degree *))<> in ((* endif *))<>((* if entry.location *)) -- <>((* endif *)) +\end{twocolentry} + +\vspace{<>} +((* endif *)) ((* for item in entry.highlights *)) ((* if loop.first *)) +\begin{onecolentry} + ((* if not entry.date_string *)) + \textbf{<>}, ((* if entry.degree *))<> in ((* endif *))<>((* if entry.location *)) -- <>((* endif *)) + ((* endif *)) \begin{highlights} ((* endif *)) \item <> ((* if loop.last *)) \end{highlights} +\end{onecolentry} ((* endif *)) ((* endfor *)) -\end{onecolentry} \ No newline at end of file diff --git a/rendercv/themes/engineeringresumes/ExperienceEntry.j2.tex b/rendercv/themes/engineeringresumes/ExperienceEntry.j2.tex index f39e404..1c7578a 100644 --- a/rendercv/themes/engineeringresumes/ExperienceEntry.j2.tex +++ b/rendercv/themes/engineeringresumes/ExperienceEntry.j2.tex @@ -2,15 +2,26 @@ \vspace{<>} ((* endif *)) -\begin{onecolentry} - \textbf{<>}, <>((* if entry.location *)) -- <>((* endif *)) \hfill <> +((* if entry.date_string *)) +\begin{twocolentry}{ + <> +} + \textbf{<>}, <>((* if entry.location *)) -- <>((* endif *)) +\end{twocolentry} + +\vspace{<>} +((* endif *)) ((* for item in entry.highlights *)) ((* if loop.first *)) +\begin{onecolentry} + ((* if not entry.date_string *)) + \textbf{<>}, <>((* if entry.location *)) -- <>((* endif *)) + ((* endif *)) \begin{highlights} ((* endif *)) \item <> ((* if loop.last *)) \end{highlights} +\end{onecolentry} ((* endif *)) ((* endfor *)) -\end{onecolentry} \ No newline at end of file diff --git a/rendercv/themes/engineeringresumes/NormalEntry.j2.tex b/rendercv/themes/engineeringresumes/NormalEntry.j2.tex index ed1b6db..8911299 100644 --- a/rendercv/themes/engineeringresumes/NormalEntry.j2.tex +++ b/rendercv/themes/engineeringresumes/NormalEntry.j2.tex @@ -2,15 +2,26 @@ \vspace{<>} ((* endif *)) -\begin{onecolentry} - \textbf{<>}((* if entry.location *)) -- <>((* endif *)) \hfill <> +((* if entry.date_string *)) +\begin{twocolentry}{ + <> +} + \textbf{<>}((* if entry.location *)) -- <>((* endif *)) +\end{twocolentry} + +\vspace{<>} +((* endif *)) ((* for item in entry.highlights *)) ((* if loop.first *)) +\begin{onecolentry} + ((* if not entry.date_string *)) + \textbf{<>}((* if entry.location *)) -- <>((* endif *)) + ((* endif *)) \begin{highlights} ((* endif *)) \item <> ((* if loop.last *)) \end{highlights} +\end{onecolentry} ((* endif *)) ((* endfor *)) -\end{onecolentry} diff --git a/rendercv/themes/engineeringresumes/PublicationEntry.j2.tex b/rendercv/themes/engineeringresumes/PublicationEntry.j2.tex index e0f16c8..8f03787 100644 --- a/rendercv/themes/engineeringresumes/PublicationEntry.j2.tex +++ b/rendercv/themes/engineeringresumes/PublicationEntry.j2.tex @@ -2,17 +2,18 @@ \vspace{<>} ((* endif *)) -\begin{onecolentry} - \begin{minipage}{\linewidth} - \textbf{<>} \hfill <> +\begin{samepage} + \begin{twocolentry}{ + <> + } + \textbf{<>} + \end{twocolentry} - \vspace{<>} + ((* if entry.doi or entry.journal *)) + \vspace{<>} - <> - ((* if entry.doi or entry.journal *)) - \vspace{<>} - - ((* endif *)) + \begin{onecolentry} + ((* endif *)) ((* if entry.doi -*)) \href{<>}{<>} ((*- endif -*)) @@ -21,5 +22,7 @@ <> ((*- endif -*)) ((*- if entry.doi and entry.journal *)))((* endif -*)) - \end{minipage} -\end{onecolentry} + ((* if entry.doi or entry.journal *)) + \end{onecolentry} + ((* endif *)) +\end{samepage}