From 3bc42aa77f4e4e15d53c27ec4075dea5f00d75d6 Mon Sep 17 00:00:00 2001 From: Sina Atalay Date: Tue, 16 Apr 2024 15:50:43 +0300 Subject: [PATCH] sb2nov: fix templating bugs --- rendercv/themes/sb2nov/BulletEntry.j2.tex | 2 +- rendercv/themes/sb2nov/EducationEntry.j2.tex | 10 +++++----- rendercv/themes/sb2nov/ExperienceEntry.j2.tex | 10 +++++----- rendercv/themes/sb2nov/NormalEntry.j2.tex | 10 +++++----- rendercv/themes/sb2nov/Preamble.j2.tex | 2 +- rendercv/themes/sb2nov/PublicationEntry.j2.tex | 4 ++-- 6 files changed, 19 insertions(+), 19 deletions(-) diff --git a/rendercv/themes/sb2nov/BulletEntry.j2.tex b/rendercv/themes/sb2nov/BulletEntry.j2.tex index 981d14cd..17a13c10 100644 --- a/rendercv/themes/sb2nov/BulletEntry.j2.tex +++ b/rendercv/themes/sb2nov/BulletEntry.j2.tex @@ -3,5 +3,5 @@ ((* endif *)) \begin{onecolentry} - \textbullet \hspace{3pt} <> + \textbullet \hspace{<>-0.2cm}<> \end{onecolentry} diff --git a/rendercv/themes/sb2nov/EducationEntry.j2.tex b/rendercv/themes/sb2nov/EducationEntry.j2.tex index 7b10cf9a..240d35a8 100644 --- a/rendercv/themes/sb2nov/EducationEntry.j2.tex +++ b/rendercv/themes/sb2nov/EducationEntry.j2.tex @@ -1,5 +1,5 @@ ((* if not is_first_entry *)) -\vspace{<>} +\vspace{<>-3px} ((* endif *)) ((* if entry.date_string or entry.location *)) @@ -9,10 +9,10 @@ \vspace*{3px} \vspace*{\fill} }{ - ((* if entry.date_string *))\textit{<>}((* endif *)) - - ((* if entry.location *))\textit{<>}((* endif *)) + + + ((* if entry.date_string *))\textit{<>}((* endif *)) } ((* else *)) \begin{onecolentrybulleted} @@ -28,7 +28,7 @@ ((* for item in entry.highlights *)) ((* if loop.first *)) -\vspace{<>} +\vspace{<>-3px} \begin{onecolentry} \begin{highlights} ((* endif *)) diff --git a/rendercv/themes/sb2nov/ExperienceEntry.j2.tex b/rendercv/themes/sb2nov/ExperienceEntry.j2.tex index ef9642c1..f6b5a825 100644 --- a/rendercv/themes/sb2nov/ExperienceEntry.j2.tex +++ b/rendercv/themes/sb2nov/ExperienceEntry.j2.tex @@ -1,5 +1,5 @@ ((* if not is_first_entry *)) -\vspace{<>} +\vspace{<>-3px} ((* endif *)) ((* if entry.date_string or entry.location *)) @@ -9,10 +9,10 @@ \vspace*{3px} \vspace*{\fill} }{ - ((* if entry.date_string *))\textit{<>}((* endif *)) - - ((* if entry.location *))\textit{<>}((* endif *)) + + + ((* if entry.date_string *))\textit{<>}((* endif *)) } ((* else *)) \begin{onecolentrybulleted} @@ -28,7 +28,7 @@ ((* for item in entry.highlights *)) ((* if loop.first *)) -\vspace{<>} +\vspace{<>-3px} \begin{onecolentry} \begin{highlights} ((* endif *)) diff --git a/rendercv/themes/sb2nov/NormalEntry.j2.tex b/rendercv/themes/sb2nov/NormalEntry.j2.tex index 64ed0f91..efc99187 100644 --- a/rendercv/themes/sb2nov/NormalEntry.j2.tex +++ b/rendercv/themes/sb2nov/NormalEntry.j2.tex @@ -1,5 +1,5 @@ ((* if not is_first_entry *)) -\vspace{<>} +\vspace{<>-3px} ((* endif *)) ((* if entry.date_string or entry.location *)) @@ -9,10 +9,10 @@ \vspace*{3px} \vspace*{\fill} }{ - ((* if entry.date_string *))\textit{<>}((* endif *)) - - ((* if entry.location *))\textit{<>}((* endif *)) + + + ((* if entry.date_string *))\textit{<>}((* endif *)) } ((* else *)) \begin{onecolentrybulleted} @@ -26,7 +26,7 @@ ((* for item in entry.highlights *)) ((* if loop.first *)) -\vspace{<>} +\vspace{<>-3px} \begin{onecolentry} \begin{highlights} ((* endif *)) diff --git a/rendercv/themes/sb2nov/Preamble.j2.tex b/rendercv/themes/sb2nov/Preamble.j2.tex index c7f5b726..848f219c 100644 --- a/rendercv/themes/sb2nov/Preamble.j2.tex +++ b/rendercv/themes/sb2nov/Preamble.j2.tex @@ -70,7 +70,7 @@ \pagestyle{customFooterStyle} ((* endif *)) -\titleformat{\section}{\needspace{4\baselineskip}\bfseries\large}{}{0pt}{}[\vspace{1pt}\titlerule] +\titleformat{\section}{\scshape\needspace{4\baselineskip}\bfseries\large}{}{0pt}{}[\vspace{1pt}\titlerule] \titlespacing{\section}{ % left space: diff --git a/rendercv/themes/sb2nov/PublicationEntry.j2.tex b/rendercv/themes/sb2nov/PublicationEntry.j2.tex index 3cce8124..3ab3576a 100644 --- a/rendercv/themes/sb2nov/PublicationEntry.j2.tex +++ b/rendercv/themes/sb2nov/PublicationEntry.j2.tex @@ -1,5 +1,5 @@ ((* if not is_first_entry *)) -\vspace{<>} +\vspace{<>-3px} ((* endif *)) \begin{samepage} @@ -15,7 +15,7 @@ \end{threecolentry} ((* if entry.doi or entry.journal *)) - \vspace{<>} + \vspace{<>-3px} \begin{onecolentry} \hspace{<>}%