summaryrefslogtreecommitdiff
path: root/tests/typ/layout/hide.typ
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2022-01-29 22:32:01 +0100
committerLaurenz <laurmaedje@gmail.com>2022-01-29 22:32:01 +0100
commit44ebefbec23114d6ed7a96e7e3cb9078441aff31 (patch)
tree104b51725e2741a7bea774128475c824cc2e60bf /tests/typ/layout/hide.typ
parent24d513d8917de0a8c23916837e5ea7fbb550db8b (diff)
Add `hide` class
Diffstat (limited to 'tests/typ/layout/hide.typ')
-rw-r--r--tests/typ/layout/hide.typ5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/typ/layout/hide.typ b/tests/typ/layout/hide.typ
new file mode 100644
index 00000000..a979b24f
--- /dev/null
+++ b/tests/typ/layout/hide.typ
@@ -0,0 +1,5 @@
+// Test the `hide` function.
+
+---
+AB #h(1fr) CD \
+#hide[A]B #h(1fr) C#hide[D]