diff options
Diffstat (limited to 'tests/typ/layout')
| -rw-r--r-- | tests/typ/layout/page-marginals.typ | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/typ/layout/page-marginals.typ b/tests/typ/layout/page-marginals.typ index d65591e6..589fb299 100644 --- a/tests/typ/layout/page-marginals.typ +++ b/tests/typ/layout/page-marginals.typ @@ -6,10 +6,10 @@ h(1fr) text(0.8em)[_Chapter 1_] }, - footer: align(center)[\~ #counter(page).display() \~], - background: counter(page).display(n => if n <= 2 { + footer: context align(center)[\~ #counter(page).display() \~], + background: context if counter(page).get().first() <= 2 { place(center + horizon, circle(radius: 1cm, fill: luma(90%))) - }) + } ) But, soft! what light through yonder window breaks? It is the east, and Juliet |
