diff options
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/ref/counter-page-display.png | bin | 0 -> 150 bytes | |||
| -rw-r--r-- | tests/suite/introspection/counter.typ | 8 |
2 files changed, 8 insertions, 0 deletions
diff --git a/tests/ref/counter-page-display.png b/tests/ref/counter-page-display.png Binary files differnew file mode 100644 index 00000000..040b634d --- /dev/null +++ b/tests/ref/counter-page-display.png diff --git a/tests/suite/introspection/counter.typ b/tests/suite/introspection/counter.typ index e97f05dd..2f095f2f 100644 --- a/tests/suite/introspection/counter.typ +++ b/tests/suite/introspection/counter.typ @@ -102,6 +102,14 @@ B #set page(numbering: "1 / 1", margin: (bottom: 20pt)) #counter(page).update(5) +--- counter-page-display --- +// Counter display should use numbering from style chain. +#set page( + numbering: "A", + margin: (bottom: 20pt), + footer: context align(center, counter(page).display()) +) + --- counter-figure --- // Count figures. #figure(numbering: "A", caption: [Four 'A's], kind: image, supplement: "Figure")[_AAAA!_] |
