I am creating my first thesis and my word template requires a specific header with a horizontal line and above the current heading level 1 and the page numbering as shown in my screenshot.
I only managed to put the line there, whenever I try to align the numbering on top it disappears…
Thanks. Additional to that, if you could please edit your post and enclose your code with three backticks before and after, we will be able to read it better. Thanks.
Thank you, this is a major improvement. Though, now it displays the last Heading from the site before. Say, on the Table of Contents page, there is still “Abstract” from a page before in the header. Is this solvable through the package?
Edit: Found the solution. Its doable through the (use-last: bool) function of hydra. set it true with
#let hydra = hydra.with(use-last: true)
and it will show the last heading on the page as the header, not the one active before
Are you using a template or creating your own? Many templates already provide the proper integration with Hydra. It would help to know with which one you are working if it is public.