Skip to content
This repository has been archived by the owner on Oct 8, 2024. It is now read-only.

Commit

Permalink
Center headings
Browse files Browse the repository at this point in the history
  • Loading branch information
sean-clayton committed Nov 19, 2023
1 parent f0c066f commit 4fd91a5
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion lib.typ
Original file line number Diff line number Diff line change
Expand Up @@ -87,14 +87,18 @@
#let large-title(content) = {
show par: set text(font: display-font, size: 14pt, weight: 700, fill: heading-color)
show heading: set text(font: display-font, size: 14pt, weight: 700, fill: heading-color)
set align(center)
upper(content)
}

#let item-title(content) = {
show par: set text(font: display-font, size: 11pt, weight: 700, tracking: -0.25pt)
show heading: set text(font: display-font, size: 11pt, weight: 700, tracking: -0.25pt)

box(inset: 4pt, fill: highlight-color, width: 100%, content)
box(inset: 4pt, fill: highlight-color, width: 100%)[
#set align(center)
#content
]
}

#let text-scale(amount, content) = {
Expand Down

0 comments on commit 4fd91a5

Please sign in to comment.