From f5d9ba995a3482ab81b7a21a5abb238983754ac8 Mon Sep 17 00:00:00 2001 From: elagil Date: Fri, 1 Aug 2025 19:18:16 +0200 Subject: [PATCH] fix: alignment --- lib.typ | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/lib.typ b/lib.typ index e54afe9..adc9dbb 100644 --- a/lib.typ +++ b/lib.typ @@ -249,7 +249,7 @@ } let name = { - align(center)[ + align(left)[ #pad(bottom: 5pt)[ #block[ #set text(size: 32pt, style: "normal", font: header-font) @@ -266,7 +266,7 @@ let positions = { set text(size: 9pt, weight: "regular") - align(center)[ + align(left)[ #__apply_smallcaps( author.positions.join(text[#" "#sym.dot.c#" "]), use-smallcaps, @@ -276,7 +276,7 @@ let address = { set text(size: 9pt, weight: "regular") - align(center)[ + align(left)[ #if ("address" in author) [ #if show-address-icon [ #address-icon @@ -293,7 +293,7 @@ let separator = box(width: 5pt) - align(center)[ + align(left)[ #set text(size: 9pt, weight: "regular", style: "normal") #block[ #align(horizon)[ @@ -417,7 +417,7 @@ /// 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. /// - body (content): The body of the resume entry #let resume-item(body) = { - set text(size: 10pt, style: "normal", weight: "light") + set text(size: 10pt, weight: "light") set block(above: 0.75em, below: 1.25em) set par(leading: 0.65em) block(above: 0.5em)[ @@ -780,7 +780,7 @@ #text(weight: "light")[#linguify("sincerely", from: lang_data)#if ( language != "de" ) [#sym.comma]] \ - #text(weight: "regular")[#author.firstname #author.lastname] \ \ + #text(weight: "bold")[#author.firstname #author.lastname] \ \ ] ] } @@ -827,13 +827,13 @@ let lang_data = toml("lang.toml") // TODO: Make this adaptable to content - underline(evade: false, stroke: 0.5pt, offset: 0.3em)[ + [ #text(weight: "bold", size: 12pt)[#linguify( "letter-position-pretext", from: lang_data, - ) #job-position] + ) "#job-position"] ] - pad(top: 1em, bottom: 1em)[ + pad(top: 2em)[ #text(weight: "light")[ #if dear == "" [ #linguify("dear", from: lang_data)