mirror of
https://github.com/JustAnyones/ktu-paper.git
synced 2026-09-19 12:48:27 +00:00
feat: support specifying custom font
This commit is contained in:
+1
-1
@@ -201,4 +201,4 @@
|
|||||||
|
|
||||||
#h(58%) _Patvirtinta elektroniniu būdu_
|
#h(58%) _Patvirtinta elektroniniu būdu_
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
+4
-4
@@ -361,7 +361,7 @@
|
|||||||
body
|
body
|
||||||
}
|
}
|
||||||
|
|
||||||
#let __page_rules(body) = {
|
#let __page_rules(font: "Times New Roman", body) = {
|
||||||
// Page size and margins
|
// Page size and margins
|
||||||
set page(
|
set page(
|
||||||
paper: "a4",
|
paper: "a4",
|
||||||
@@ -390,7 +390,7 @@
|
|||||||
|
|
||||||
// Set text font
|
// Set text font
|
||||||
set text(
|
set text(
|
||||||
font: "Times New Roman",
|
font: font,
|
||||||
size: 12pt,
|
size: 12pt,
|
||||||
lang: "lt",
|
lang: "lt",
|
||||||
// Change where the bounding box is drawn for the text
|
// Change where the bounding box is drawn for the text
|
||||||
@@ -411,8 +411,8 @@
|
|||||||
body
|
body
|
||||||
}
|
}
|
||||||
|
|
||||||
#let setup-page(body) = {
|
#let setup-page(font: "Times New Roman", body) = {
|
||||||
show: __page_rules.with()
|
show: __page_rules.with(font: font)
|
||||||
|
|
||||||
// Pagal formaliuosius rašto darbų reikalavimus
|
// Pagal formaliuosius rašto darbų reikalavimus
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user