summaryrefslogtreecommitdiff
path: root/tests/typ/text
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2022-05-16 16:04:40 +0200
committerLaurenz <laurmaedje@gmail.com>2022-05-16 16:04:40 +0200
commit6536e9e069616b862ebb774c7bef1b886c069350 (patch)
treeda6a3cb2d4870c2e09326def64467d48ff21d883 /tests/typ/text
parentbc1bc91a33bcef567dbd7f846dbfac9d19a0994e (diff)
Table fill closure
Diffstat (limited to 'tests/typ/text')
-rw-r--r--tests/typ/text/par.typ2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/typ/text/par.typ b/tests/typ/text/par.typ
index 64a2dd17..059653c5 100644
--- a/tests/typ/text/par.typ
+++ b/tests/typ/text/par.typ
@@ -26,7 +26,7 @@ Fourth
#set par(spacing: 100pt)
#set table(around: 5pt)
Hello
-#table(columns: 4, secondary: silver)[A][B][C][D]
+#table(columns: 4, fill: (x, y) => if odd(x + y) { silver })[A][B][C][D]
---
// While we're at it, test the larger block spacing wins.