Overlapping text in book title due to `par` usage instead of `heading` in Orange Book
Hi, and thank you for the great Orange Book template.
While using the template in Typst, I noticed that the book title lines slightly overlap.
After some investigation (and a suggestion on the Typst Forum), it seems that the issue is caused by the vertical spacing defined around line 521 of the template.
Currently, the title is implemented using par, but this appears to be the reason for the overlapping.
From a typographical perspective, using a heading would make more sense for a book title, and would also allow users to override spacing more cleanly.
For example, with heading, one could easily apply:
#show heading: set par(leading: 0.4em)
This would enable custom spacing without modifying the template’s internal code.
Request:
Would it be possible to:
- Adjust the spacing value at line 521, or
- (Preferred) Switch the implementation of the book title from
partoheading?
This would improve the typography and make the template more customizable for end users.
Thanks again for your work!
Luca
Hi, thanks for the report and the suggestion. I will do both things and release in the next version. Thanks again
Heading had a lot of conflicts, so i just adjusted the space:
https://github.com/typst/packages/pull/3612
Fixed in orange-book:0.6.2