From d1ecb7e52eb2ab7ac4fde89bdc1c615d92ae3c7b Mon Sep 17 00:00:00 2001 From: Laurenz Date: Thu, 28 Oct 2021 16:51:57 +0200 Subject: Add `move` function --- tests/ref/layout/move.png | Bin 0 -> 693 bytes tests/typ/layout/move.typ | 11 +++++++++++ 2 files changed, 11 insertions(+) create mode 100644 tests/ref/layout/move.png create mode 100644 tests/typ/layout/move.typ (limited to 'tests') diff --git a/tests/ref/layout/move.png b/tests/ref/layout/move.png new file mode 100644 index 00000000..dc2e7ab3 Binary files /dev/null and b/tests/ref/layout/move.png 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! -- cgit v1.2.3