I have very long titles in a document and I would like to have shorter versions in the header.
Example:
= Chapter 1: My chapter title is very long and I want a shorter title in the header
If possible, I would like to have a short and a long string for each chapter: the long string in the body of the document and the short string in the header.
I don’t know how to do this with the hydra package or just typst.
#let chapter(long_title:"", short_title:"") = {
[= #long_title]
}
#chapter(long_title:"= Chapter 1: My chapter title is very long and I want a shorter title in the header", short_title:"My short title")
How to do have short_title in the header ?