summaryrefslogtreecommitdiff
path: root/tests/typ/layout
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2022-05-04 12:49:46 +0200
committerLaurenz <laurmaedje@gmail.com>2022-05-04 13:21:31 +0200
commitba5622b7b90b23e61942a9f4e6460bf9ea0b4bc8 (patch)
tree374c326c7375094f370165e47dbe24dd01f16c11 /tests/typ/layout
parent507c5fc92563560426db0d86c0348880b0493467 (diff)
Move smallcaps into separate function
Diffstat (limited to 'tests/typ/layout')
-rw-r--r--tests/typ/layout/page-style.typ4
-rw-r--r--tests/typ/layout/page.typ2
2 files changed, 3 insertions, 3 deletions
diff --git a/tests/typ/layout/page-style.typ b/tests/typ/layout/page-style.typ
index f27551b2..b4a509ef 100644
--- a/tests/typ/layout/page-style.typ
+++ b/tests/typ/layout/page-style.typ
@@ -24,5 +24,5 @@
#set page("a4")
#set page("a5")
#set page("a11", flipped: true, fill: eastern)
-#set text("Roboto", white, smallcaps: true)
-Typst
+#set text("Roboto", white)
+#smallcaps[Typst]
diff --git a/tests/typ/layout/page.typ b/tests/typ/layout/page.typ
index 3157ebf9..918f674b 100644
--- a/tests/typ/layout/page.typ
+++ b/tests/typ/layout/page.typ
@@ -23,7 +23,7 @@
---
// Test page fill.
#set page(width: 80pt, height: 40pt, fill: eastern)
-#text(15pt, "Roboto", fill: white, smallcaps: true)[Typst]
+#text(15pt, "Roboto", fill: white, smallcaps[Typst])
#page(width: 40pt, fill: none, margins: (top: 10pt, rest: auto))[Hi]
---