fix: spacing between resume entries and content

This commit is contained in:
Paul Tsouchlos
2024-09-19 19:15:02 -06:00
parent e6b127822a
commit e31eae9a75
2 changed files with 14 additions and 20 deletions

23
lib.typ
View File

@@ -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,
@@ -425,10 +416,10 @@
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[
block(above: 1em, below: 0.65em)[
#pad[
#justified-header(title-content, location)
#if description != "" or date != "" [
#secondary-justified-header(description, date)
]
]
]
}
/// Show cumulative GPA.

View File

@@ -50,7 +50,8 @@
)
#resume-item[
#lorem(33)
// content doesn't have to be bullet points
#lorem(72)
]
#resume-entry(