How can I insert pagebreak for headings living at the bottom of the page (using R Quarto + typst , output: PDF)? #11591
Unanswered
haokaitseng
asked this question in
Q&A
Replies: 1 comment 9 replies
-
Could you properly format your post using code blocks for code and terminal outputs? Thanks. What do you mean |
Beta Was this translation helpful? Give feedback.
9 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Description
Dear Quarto community,
I am using Quarto in R to generate PDFs, based on the idea of the newsletter typst template developed by mskyttner.
The pain point is that I don't want the heading living at the bottom of the page, I want to enforce a page break before the heading, so that the heading can go to the next new page along with the contents (see below screenshot).
I also visited relevant discussions, such as this and this, and this. They talked about pagebreak() between different components, but what I want is page breaks within content body itself. And pagebreak(), \pagebreak, and {{< pagebreak >}} all didn't work of course.
I am thinking, take below as example,
My current QMD structure looks like below:
Many thanks for thoughts and suggestions! Also thanks again for support the great typst product running in Quarto!
Best wishes,
Kai
Beta Was this translation helpful? Give feedback.
All reactions