summaryrefslogtreecommitdiff
path: root/tests/typ/text
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2022-12-21 16:19:46 +0100
committerLaurenz <laurmaedje@gmail.com>2022-12-21 16:19:46 +0100
commit31f904a2c406953cbce334e02b37a712b9b9d016 (patch)
treec23f6e063864d97afb9b3d58c10ce4c2877106c5 /tests/typ/text
parent4af7b9118c5ce612b3d9d7dd06118ce23b731d9c (diff)
Split up and document shapes
Diffstat (limited to 'tests/typ/text')
-rw-r--r--tests/typ/text/edge.typ2
-rw-r--r--tests/typ/text/microtype.typ2
-rw-r--r--tests/typ/text/shift.typ4
3 files changed, 4 insertions, 4 deletions
diff --git a/tests/typ/text/edge.typ b/tests/typ/text/edge.typ
index 26be4aeb..802c0ddb 100644
--- a/tests/typ/text/edge.typ
+++ b/tests/typ/text/edge.typ
@@ -4,7 +4,7 @@
#set page(width: 160pt)
#set text(size: 8pt)
-#let try(top, bottom) = rect(fill: conifer)[
+#let try(top, bottom) = rect(inset: 0pt, fill: conifer)[
#set text("IBM Plex Mono", top-edge: top, bottom-edge: bottom)
From #top to #bottom
]
diff --git a/tests/typ/text/microtype.typ b/tests/typ/text/microtype.typ
index c1f0d344..69b50500 100644
--- a/tests/typ/text/microtype.typ
+++ b/tests/typ/text/microtype.typ
@@ -5,7 +5,7 @@
#set page(width: 130pt, margin: 15pt)
#set par(justify: true, linebreaks: "simple")
#set text(size: 9pt)
-#rect(fill: rgb(0, 0, 0, 0), width: 100%)[
+#rect(inset: 0pt, fill: rgb(0, 0, 0, 0), width: 100%)[
This is a little bit of text that builds up to
hang-ing hyphens and dash---es and then, you know,
some punctuation in the margin.
diff --git a/tests/typ/text/shift.typ b/tests/typ/text/shift.typ
index 01a83f6e..6fe31bec 100644
--- a/tests/typ/text/shift.typ
+++ b/tests/typ/text/shift.typ
@@ -4,8 +4,8 @@
#table(
columns: 3,
[Typo.], [Fallb.], [Synth],
- [x#super[1]], [x#super[5n]], [x#super[2 #square(width: 6pt)]],
- [x#sub[1]], [x#sub[5n]], [x#sub[2 #square(width: 6pt)]],
+ [x#super[1]], [x#super[5n]], [x#super[2 #square(size: 6pt)]],
+ [x#sub[1]], [x#sub[5n]], [x#sub[2 #square(size: 6pt)]],
)
---