summaryrefslogtreecommitdiff
path: root/tests/typ
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2023-02-12 13:23:40 +0100
committerLaurenz <laurmaedje@gmail.com>2023-02-12 13:23:40 +0100
commit8cbc2ac4832d659255e6f509ef6db66c69bda918 (patch)
tree8fe79859a5e041b37a442cd35bb6a567218bd909 /tests/typ
parentfea238921fb5066214617e9723d3a4be4cd75cfb (diff)
Fix place base
Diffstat (limited to 'tests/typ')
-rw-r--r--tests/typ/bugs/place-base.typ7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/typ/bugs/place-base.typ b/tests/typ/bugs/place-base.typ
new file mode 100644
index 00000000..4a0bd029
--- /dev/null
+++ b/tests/typ/bugs/place-base.typ
@@ -0,0 +1,7 @@
+// Test that placement is relative to container and not itself.
+
+---
+#set page(height: 80pt, margin: 0pt)
+#place(right, dx: -70%, dy: 20%, [First])
+#place(left, dx: 20%, dy: 60%, [Second])
+#place(center + horizon, dx: 25%, dy: 25%, [Third])