#Is typst has the function like section break or paragraph break?

2 messages · Page 1 of 1 (latest)

astral musk
#

I have done some report that include heading and table and I want to stick it together. However, because sometimes my report table have 3 rows and sometime it has 5 row and this cause my table locate in different page from the heading. Do you have any function that can support this issue?

civic plover
#

Typst tries to prevent paragraph breaks between headings and following text, but currently it is unfortunately still buggy when something other than a paragraph break follows (e.g. a table).

To work around this, you can wrap both into a #block[..].