Correctly display page numbering (with and without total number of pages) #5544
-
I'm trying to add a variable to my template where the user can set a custom page numbering schema (DannySeidel/typst-dhbw-template#18). Due to the template using multiple different numbering styles, I want to enable the user to customize all sections. I have a preface part that uses Roman numbering like this Currently, I create the footer as shown below:
By using How would I solve this problem? Maybe I could conditionally pass in the total number of pages only if it is needed? But how? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Find the solution here https://forum.typst.app/t/how-to-correctly-display-page-numbering-in-a-custom-footer-with-and-without-total-number-of-pages/2021 |
Beta Was this translation helpful? Give feedback.
Find the solution here https://forum.typst.app/t/how-to-correctly-display-page-numbering-in-a-custom-footer-with-and-without-total-number-of-pages/2021