summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2021-10-28 16:51:57 +0200
committerLaurenz <laurmaedje@gmail.com>2021-10-28 16:51:57 +0200
commitd1ecb7e52eb2ab7ac4fde89bdc1c615d92ae3c7b (patch)
treeab1d61bd5b3cc197a51cfe210cd1949a1fdba029 /tests
parent5c534fb42881b508175dd25129f62e604bdae403 (diff)
Add `move` function
Diffstat (limited to 'tests')
-rw-r--r--tests/ref/layout/move.pngbin0 -> 693 bytes
-rw-r--r--tests/typ/layout/move.typ11
2 files changed, 11 insertions, 0 deletions
diff --git a/tests/ref/layout/move.png b/tests/ref/layout/move.png
new file mode 100644
index 00000000..dc2e7ab3
--- /dev/null
+++ b/tests/ref/layout/move.png
Binary files differ
diff --git a/tests/typ/layout/move.typ b/tests/typ/layout/move.typ
new file mode 100644
index 00000000..c1f97e15
--- /dev/null
+++ b/tests/typ/layout/move.typ
@@ -0,0 +1,11 @@
+#let size = 11pt
+#let tex = [{
+ [T]
+ h(-0.14 * size)
+ move(y: 0.22 * size)[E]
+ h(-0.12 * size)
+ [X]
+}]
+
+#font("Latin Modern Math", size)
+Not #tex!