diff options
| author | Laurenz <laurmaedje@gmail.com> | 2023-03-19 10:19:24 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2023-03-19 10:19:34 +0100 |
| commit | 0ba99ab8aa523645e2f0a0d9f6333ad4e48f5daa (patch) | |
| tree | 2de7ce344b6d579dca8ae346c68b1931a6e79b25 /tests/typ/layout | |
| parent | c7f4d6b12ee3138c752402889eeaa603ac69351d (diff) | |
Measurement and introspection rework
Diffstat (limited to 'tests/typ/layout')
| -rw-r--r-- | tests/typ/layout/page-marginals.typ | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/typ/layout/page-marginals.typ b/tests/typ/layout/page-marginals.typ index d8ce9b79..d65591e6 100644 --- a/tests/typ/layout/page-marginals.typ +++ b/tests/typ/layout/page-marginals.typ @@ -6,8 +6,8 @@ h(1fr) text(0.8em)[_Chapter 1_] }, - footer: align(center)[\~ #counter(page).get() \~], - background: counter(page).get(n => if n <= 2 { + footer: align(center)[\~ #counter(page).display() \~], + background: counter(page).display(n => if n <= 2 { place(center + horizon, circle(radius: 1cm, fill: luma(90%))) }) ) |
