From cbfc7214a0fcd4c222567f061685b65e80ee54ce Mon Sep 17 00:00:00 2001 From: eggy Date: Sat, 21 Oct 2023 14:58:52 -0400 Subject: [PATCH] chore: improve boldness --- Daniel Chen.typ | 5 ++--- lib.typ | 10 ++++++++-- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/Daniel Chen.typ b/Daniel Chen.typ index e950abb..6dbcf0e 100644 --- a/Daniel Chen.typ +++ b/Daniel Chen.typ @@ -1,9 +1,8 @@ #import "fontawesome.typ": * -#import "lib.typ": template, education_entry, work_entry, project, indent +#import "lib.typ": template, education_entry, work_entry, project, indent, SMALL_STRONG, DEFAULT_STRONG #set page(margin: 1.75in) #set par(leading: 0.5em, first-line-indent: 1.8em, justify: true) -#show raw: set text(font: "New Computer Modern Mono") #show par: set block(spacing: 0.55em) #show heading: set block(above: 2em, below: 1em) @@ -84,7 +83,7 @@ ] = Projects -#set strong(delta: 200) +#set strong(delta: SMALL_STRONG) #indent[ #project("Mandown Comic Converter", "https://github.com/potatoeggy/mandown", "Python, Qt") diff --git a/lib.typ b/lib.typ index eb72776..3051405 100644 --- a/lib.typ +++ b/lib.typ @@ -1,5 +1,8 @@ #import "fontawesome.typ": github, fa +#let DEFAULT_STRONG = 300; +#let SMALL_STRONG = 200; + // Format start and end dates. #let format_date(start_date: none, end_date: none) = { let date = { @@ -40,13 +43,14 @@ left_content }, { + set strong(delta: SMALL_STRONG) set align(right) right_content } ), { set align(left) - set strong(delta: 200) + set strong(delta: SMALL_STRONG) details } ) @@ -65,6 +69,7 @@ } cv_entry( left_content: { + set strong(delta: DEFAULT_STRONG) text(1.2em)[*#university*] + "\n" + emph[#degree] }, right_content: { @@ -105,6 +110,7 @@ } #let project(title, repo_link, tools) = { + set strong(delta: DEFAULT_STRONG) link(repo_link)[#text(1.1em)[*#title* #fa(github)]] + [ | _ #tools _] } @@ -116,7 +122,7 @@ set page(margin: (rest: 0.5in, top: 0.4in), paper: "us-letter") set list(indent: 1.25em, marker: [•]) set text(font: (BODY_FONT), 10pt) - set par(justify: true, leading: 0.75em) + set par(justify: true, leading: 0.85em) align(center)[ #text(size: 2em, font: TITLE_FONT, fill: color)[*#name*] #block(above: 0em, below: 1em)