From f5d8ef61f2b8e567eeb9153a85f16944427b2e1d Mon Sep 17 00:00:00 2001 From: Sina Atalay Date: Sun, 19 Nov 2023 20:23:24 +0100 Subject: [PATCH] allow division of section contents --- rendercv/templates/classic/classic.tex.j2 | 2 +- rendercv/templates/classic/components/highlights.tex.j2 | 2 +- .../templates/classic/components/section_contents.tex.j2 | 7 +++---- 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/rendercv/templates/classic/classic.tex.j2 b/rendercv/templates/classic/classic.tex.j2 index 0e4d25d..d092986 100644 --- a/rendercv/templates/classic/classic.tex.j2 +++ b/rendercv/templates/classic/classic.tex.j2 @@ -95,7 +95,7 @@ parsep=<>, partopsep=0pt, itemsep=0pt, - after=\vspace*{-1\baselineskip}, + after=\vspace{-1\baselineskip}, leftmargin=<> + 3pt ] }{ diff --git a/rendercv/templates/classic/components/highlights.tex.j2 b/rendercv/templates/classic/components/highlights.tex.j2 index 56fb1c6..7bab5d1 100644 --- a/rendercv/templates/classic/components/highlights.tex.j2 +++ b/rendercv/templates/classic/components/highlights.tex.j2 @@ -1,5 +1,5 @@ ((* macro highlights(highlights) *)) -\vspace*{<>} +\vspace{<>} ((* for item in highlights *)) ((* if loop.first *)) \begin{highlights} diff --git a/rendercv/templates/classic/components/section_contents.tex.j2 b/rendercv/templates/classic/components/section_contents.tex.j2 index 017d0c5..0af0c85 100644 --- a/rendercv/templates/classic/components/section_contents.tex.j2 +++ b/rendercv/templates/classic/components/section_contents.tex.j2 @@ -7,6 +7,9 @@ ((* else *)) ((* set date_and_location_strings = value.date_and_location_strings_without_timespan *)) ((* endif *)) + ((* if not loop.first *)) + \vspace{<>} + ((* endif *)) ((* if entry_type == "EducationEntry" *)) <> ((* endif *)) - ((* if not loop.last *)) - \vspace*{<>} - - ((* endif *)) ((* endfor *)) ((* endmacro *))