add header-font argument

This commit is contained in:
matcap
2024-12-12 20:04:20 +01:00
parent 1c5a10df91
commit 815a0efb8f

View File

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