Merge pull request #88 from matcap/main

Use provided font for header name
This commit is contained in:
Paul T
2024-12-12 17:28:15 -05:00
committed by GitHub

View File

@@ -198,6 +198,7 @@
show-footer: true, show-footer: true,
language: "en", language: "en",
font: ("Source Sans Pro", "Source Sans 3"), font: ("Source Sans Pro", "Source Sans 3"),
header-font: ("Roboto"),
body, body,
) = { ) = {
if type(accent-color) == "string" { if type(accent-color) == "string" {
@@ -286,7 +287,7 @@
#set text( #set text(
size: 32pt, size: 32pt,
style: "normal", style: "normal",
font: ("Roboto"), font: header-font,
) )
#if language == "zh" or language == "ja" [ #if language == "zh" or language == "ja" [
#text( #text(