From 44ebefbec23114d6ed7a96e7e3cb9078441aff31 Mon Sep 17 00:00:00 2001 From: Laurenz Date: Sat, 29 Jan 2022 22:32:01 +0100 Subject: Add `hide` class --- tests/ref/layout/hide.png | Bin 0 -> 936 bytes tests/typ/layout/hide.typ | 5 +++++ 2 files changed, 5 insertions(+) create mode 100644 tests/ref/layout/hide.png create mode 100644 tests/typ/layout/hide.typ (limited to 'tests') diff --git a/tests/ref/layout/hide.png b/tests/ref/layout/hide.png new file mode 100644 index 00000000..8a60cf90 Binary files /dev/null and b/tests/ref/layout/hide.png differ 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] -- cgit v1.2.3