From d395a29ca87baa9ddc7d60a80aaffa6690f84c34 Mon Sep 17 00:00:00 2001 From: Ethan Reece Date: Tue, 18 Mar 2025 18:41:21 -0500 Subject: [PATCH] Update to Typst 0.13 --- channels.scm.lock | 4 ++-- src/section/base/item/highlight.typ | 14 +++++++++----- .../coursework/content/section/content.typ | 5 ++++- 3 files changed, 15 insertions(+), 8 deletions(-) diff --git a/channels.scm.lock b/channels.scm.lock index 5f94ccb..dc6a272 100644 --- a/channels.scm.lock +++ b/channels.scm.lock @@ -3,7 +3,7 @@ (url "https://git.savannah.gnu.org/git/guix.git") (branch "master") (commit - "8c483c12e94bcf43e4c44170f1d5fea5fbba4970") + "fa39695bbc0c5f79838cbca55d55eebd821a8efa") (introduction (make-channel-introduction "9edb3f66fd807b096b48283debdcddccfea34bad" @@ -14,7 +14,7 @@ (url "https://codeberg.org/guix-science/guix-science") (branch "master") (commit - "a82cc47ae408a9a92e1bd038fdb8d46f694ebde3") + "76f9e5112b3005b57438f4c8708490a38de847b4") (introduction (make-channel-introduction "b1fe5aaff3ab48e798a4cce02f0212bc91f423dc" diff --git a/src/section/base/item/highlight.typ b/src/section/base/item/highlight.typ index 9ac8600..b4537a2 100644 --- a/src/section/base/item/highlight.typ +++ b/src/section/base/item/highlight.typ @@ -1,9 +1,13 @@ #let section_base_item_highlight( highlight: "", -) = par( - justify: true, - text( - size: 0.95em, +) = text( + size: 0.95em, + if type(highlight) == str { + par( + justify: true, + highlight + ) + } else { highlight - ) + } ) diff --git a/src/section/education/coursework/content/section/content.typ b/src/section/education/coursework/content/section/content.typ index d100a59..acdbe55 100644 --- a/src/section/education/coursework/content/section/content.typ +++ b/src/section/education/coursework/content/section/content.typ @@ -2,5 +2,8 @@ list: (""), ) = text( weight: "light", - list.join(", "), + par( + justify: true, + list.join(", ") + ) )