From 8a4530e61ade0d7038c758b284093bb6b2b4f1e3 Mon Sep 17 00:00:00 2001 From: Sina Atalay Date: Sat, 17 Feb 2024 19:24:45 +0100 Subject: [PATCH] fix template bugs --- rendercv/themes/sb2nov/Preamble.j2.tex | 7 +++---- rendercv/themes/sb2nov/PublicationEntry.j2.tex | 2 +- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/rendercv/themes/sb2nov/Preamble.j2.tex b/rendercv/themes/sb2nov/Preamble.j2.tex index fc016ad..6c69ed3 100644 --- a/rendercv/themes/sb2nov/Preamble.j2.tex +++ b/rendercv/themes/sb2nov/Preamble.j2.tex @@ -70,7 +70,6 @@ % Ensure that generate pdf is machine readable/ATS parsable \pdfgentounicode=1 -\setlist{rightmargin=<>} \newcolumntype{R}[1]{ >{\raggedleft\let\newline\\\arraybackslash\hspace{0pt}}p{#1} @@ -116,7 +115,7 @@ \newcommand{\resumeNormalSubheading}[2]{ \item - \begin{tabularx}{0.97\textwidth-<>}[t]{X R{<>}} + \begin{tabularx}{0.98\textwidth-<>}[t]{X R{<>}} \textbf{#1} & \textit{\small #2} \end{tabularx} } @@ -125,7 +124,7 @@ \renewcommand{\labelitemii}{$\circ$} -\newcommand{\resumeSubHeadingListStart}{\begin{itemize}[left=<>, topsep=0pt, parsep=<>, partopsep=0pt]} +\newcommand{\resumeSubHeadingListStart}{\begin{itemize}[left=<>, topsep=0pt, parsep=<>, partopsep=0pt, rightmargin=<>]} \newcommand{\resumeSubHeadingListEnd}{\end{itemize}} -\newcommand{\resumeItemListStart}{\vspace{<>}\begin{itemize}[left=<>, topsep=-<>, itemsep=<>, partopsep=0pt]} +\newcommand{\resumeItemListStart}{\vspace{<>}\begin{itemize}[left=<>, topsep=-<>, itemsep=<>, partopsep=0pt, rightmargin=0cm]} \newcommand{\resumeItemListEnd}{\end{itemize}} diff --git a/rendercv/themes/sb2nov/PublicationEntry.j2.tex b/rendercv/themes/sb2nov/PublicationEntry.j2.tex index 21be56d..4d9088a 100644 --- a/rendercv/themes/sb2nov/PublicationEntry.j2.tex +++ b/rendercv/themes/sb2nov/PublicationEntry.j2.tex @@ -2,5 +2,5 @@ {<>}{<>} {\href{<>}{<>}}{} \resumeItemListStart - \resumeItem{}{<>} + \resumeItem{}{\raggedright <> \par} \resumeItemListEnd \ No newline at end of file