From b92ddd66b2d8a91a39df25d1943e346dbfb2a7cc Mon Sep 17 00:00:00 2001 From: eggy Date: Thu, 13 Jun 2024 22:54:05 -0400 Subject: [PATCH] feat: switch to eugene style --- lib.typ | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/lib.typ b/lib.typ index 51defa4..7b6f426 100644 --- a/lib.typ +++ b/lib.typ @@ -3,19 +3,19 @@ #let DEFAULT_STRONG = 300; #let SMALL_STRONG = 200; -#let TITLE_FONT = "Bitter" +#let TITLE_FONT = "New Computer Modern" #let HEADING_FONT = TITLE_FONT -#let BODY_FONT = "Open Sans" +#let BODY_FONT = "New Computer Modern" -#let BODY_FONT_SIZE = 10pt +#let BODY_FONT_SIZE = 11pt #let HEADING_FONT_SIZE = 0.95em #let TITLE_FONT_SIZE = 2em #let HEADING_LINE_GAP = 3mm -#let BODY_LINE_HEIGHT = 0.8em +#let BODY_LINE_HEIGHT = 0.75em // rest = not top -#let PAGE_MARGINS = (rest: 0.5in, top: 0.4in, left: 0.4in, bottom: 0.4in) +#let PAGE_MARGINS = (right: 0.4in, rest: 0.3in) // Format locations. #let format_location(location) = { @@ -23,7 +23,7 @@ } #let indent(content) = { - block(inset: (left: 0.75em, right: 0.5em), content) + block(inset: (left: 0em, right: 0em), content) } // General entry that is split into a left and right half (for experience and education). @@ -31,7 +31,7 @@ stack( dir: ttb, spacing: 0.9em, - grid(columns: (11fr, 3fr), column-gutter: 1cm, { + grid(columns: (11fr, 5fr), column-gutter: 1cm, { set strong(delta: DEFAULT_STRONG) set align(left) left_content @@ -68,16 +68,12 @@ none } cv_entry(left_content: { - set par(leading: 0.75em) + set par(leading: 0.55em, justify: true) text(1.1em)[*#role*] - if tools != none { - text[ | _ #tools _ ] - } - "\n" set strong(delta: SMALL_STRONG) - text[*#company*] + text[_#company _] }, right_content: { [*#start_date -- #end_date*] @@ -118,11 +114,15 @@ // Set name and contact data and format headings #let template(name, color, doc) = { set page(margin: PAGE_MARGINS, paper: "us-letter") - set list(indent: 1em, marker: [•]) + set list(indent: 0.75em, marker: [•]) set text(font: (BODY_FONT), BODY_FONT_SIZE) set par(justify: true, leading: BODY_LINE_HEIGHT) align(center)[ - #text(size: TITLE_FONT_SIZE, font: TITLE_FONT, fill: color)[*#name*] + #text( + size: TITLE_FONT_SIZE, + font: TITLE_FONT, + fill: color, + )[#smallcaps[*#name*]] #block(above: 0em, below: 1em) ]