feat: support specifying custom font

This commit is contained in:
2026-09-03 13:27:08 +03:00
parent 2b0406163e
commit 22c9e7df8e
2 changed files with 5 additions and 5 deletions
+4 -4
View File
@@ -361,7 +361,7 @@
body
}
#let __page_rules(body) = {
#let __page_rules(font: "Times New Roman", body) = {
// Page size and margins
set page(
paper: "a4",
@@ -390,7 +390,7 @@
// Set text font
set text(
font: "Times New Roman",
font: font,
size: 12pt,
lang: "lt",
// Change where the bounding box is drawn for the text
@@ -411,8 +411,8 @@
body
}
#let setup-page(body) = {
show: __page_rules.with()
#let setup-page(font: "Times New Roman", body) = {
show: __page_rules.with(font: font)
// Pagal formaliuosius rašto darbų reikalavimus