summaryrefslogtreecommitdiff
path: root/tests/typ
diff options
context:
space:
mode:
Diffstat (limited to 'tests/typ')
-rw-r--r--tests/typ/text/baseline.typ5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/typ/text/baseline.typ b/tests/typ/text/baseline.typ
index 57963195..c19e3c63 100644
--- a/tests/typ/text/baseline.typ
+++ b/tests/typ/text/baseline.typ
@@ -1,4 +1,4 @@
-// Test text baseline.
+// Test baseline handling.
---
Hi #text(1.5em)[You], #text(0.75em)[how are you?]
@@ -7,3 +7,6 @@ Our cockatoo was one of the
#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.
+
+---
+Hey #box(baseline: 40%, image("/tiger.jpg", width: 1.5cm)) there!