From b661a92801b3e25ff21fe77d189550d9787ece03 Mon Sep 17 00:00:00 2001 From: Paul Tsouchlos Date: Sat, 17 Aug 2024 23:28:01 -0400 Subject: [PATCH] feat: add font input for coverletter --- lib.typ | 3 ++- template/coverletter.typ | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/lib.typ b/lib.typ index 9180b64..482018b 100644 --- a/lib.typ +++ b/lib.typ @@ -482,6 +482,7 @@ date: datetime.today().display("[month repr:long] [day], [year]"), accent-color: default-accent-color, language: "en", + font: ("Source Sans Pro", "Source Sans 3"), body, ) = { if type(accent-color) == "string" { @@ -497,7 +498,7 @@ ) set text( - font: ("Source Sans Pro", "Source Sans 3"), + font: font, lang: language, size: 11pt, fill: color-darkgray, diff --git a/template/coverletter.typ b/template/coverletter.typ index 6c5a436..bc7bdbf 100644 --- a/template/coverletter.typ +++ b/template/coverletter.typ @@ -17,6 +17,7 @@ ), profile-picture: image("./profile.png"), language: "en", + font: "Times New Roman" ) #hiring-entity-info(entity-info: (