From e31eae9a757f5f60465b2b8ceb79cd5781b26324 Mon Sep 17 00:00:00 2001 From: Paul Tsouchlos Date: Thu, 19 Sep 2024 19:15:02 -0600 Subject: [PATCH] fix: spacing between resume entries and content --- lib.typ | 31 ++++++++++++------------------- template/resume.typ | 3 ++- 2 files changed, 14 insertions(+), 20 deletions(-) diff --git a/lib.typ b/lib.typ index ab372aa..1ce2982 100644 --- a/lib.typ +++ b/lib.typ @@ -240,11 +240,6 @@ ) show heading.where(level: 1): it => [ - - #set block( - above: 0.5em, - below: 0.5em, - ) #set text( size: 16pt, weight: "regular", @@ -263,10 +258,6 @@ ] show heading.where(level: 2): it => { - set block( - above: 0.5em, - below: 0.5em, - ) set text( color-darkgray, size: 12pt, @@ -421,14 +412,14 @@ weight: "light", fill: color-darknight, ) - set block ( + set block( above: 0.75em, below: 1.25em, ) - set par( - leading: 0.65em, - ) - body + set par(leading: 0.65em) + block(above: 0.5em, below: 0.5em)[ + #body + ] } /// The base item for resume entries. This formats the item for the resume entries. Typically your body would be a bullet list of items. Could be your responsibilities at a company or your academic achievements in an educational background section. @@ -454,13 +445,15 @@ } else { title-content = title } - - pad[ - #justified-header(title-content, location) - #if description != "" or date != "" [ - #secondary-justified-header(description, date) + block(above: 1em, below: 0.65em)[ + #pad[ + #justified-header(title-content, location) + #if description != "" or date != "" [ + #secondary-justified-header(description, date) + ] ] ] + } /// Show cumulative GPA. diff --git a/template/resume.typ b/template/resume.typ index d7d81f4..f411c13 100644 --- a/template/resume.typ +++ b/template/resume.typ @@ -50,7 +50,8 @@ ) #resume-item[ - #lorem(33) + // content doesn't have to be bullet points + #lorem(72) ] #resume-entry(