summaryrefslogtreecommitdiff
path: root/tests/typ/text
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2023-02-12 18:58:39 +0100
committerLaurenz <laurmaedje@gmail.com>2023-02-12 19:57:28 +0100
commit3ffa7393f0632d9ee5dd9c821685a1a033d5c0ab (patch)
treeaf09b0683352c4028436a2e5251dce54cf41d4aa /tests/typ/text
parentf4856c18b9cf3f6952276cc61b557aebeb2fa651 (diff)
Make all nodes block-level
Diffstat (limited to 'tests/typ/text')
-rw-r--r--tests/typ/text/baseline.typ4
-rw-r--r--tests/typ/text/em.typ3
-rw-r--r--tests/typ/text/shift.typ4
3 files changed, 5 insertions, 6 deletions
diff --git a/tests/typ/text/baseline.typ b/tests/typ/text/baseline.typ
index cd331c77..57963195 100644
--- a/tests/typ/text/baseline.typ
+++ b/tests/typ/text/baseline.typ
@@ -4,6 +4,6 @@
Hi #text(1.5em)[You], #text(0.75em)[how are you?]
Our cockatoo was one of the
-#text(baseline: -0.2em)[#circle(radius: 2pt) first]
-#text(baseline: 0.2em)[birds #circle(radius: 2pt)]
+#text(baseline: -0.2em)[#box(circle(radius: 2pt)) first]
+#text(baseline: 0.2em)[birds #box(circle(radius: 2pt))]
that ever learned to mimic a human voice.
diff --git a/tests/typ/text/em.typ b/tests/typ/text/em.typ
index f901aae4..bf191c1f 100644
--- a/tests/typ/text/em.typ
+++ b/tests/typ/text/em.typ
@@ -30,5 +30,4 @@ G // 5pt
size - 3pt
}
-#square(size: size)
-#square(size: 25pt)
+#stack(dir: ltr, spacing: 1fr, square(size: size), square(size: 25pt))
diff --git a/tests/typ/text/shift.typ b/tests/typ/text/shift.typ
index 6fe31bec..2b1b8984 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(size: 6pt)]],
- [x#sub[1]], [x#sub[5n]], [x#sub[2 #square(size: 6pt)]],
+ [x#super[1]], [x#super[5n]], [x#super[2 #box(square(size: 6pt))]],
+ [x#sub[1]], [x#sub[5n]], [x#sub[2 #box(square(size: 6pt))]],
)
---