Hello,
I’m using the theorion
package to make definitions. When doing large definitions with the fancy
theme, though, the definition boxes do not break to split across several pages, producing the following result
whereas, with, say, the
clouds
theme, it works.
Both the clouds theme and the fancy theme use a Block Function – Typst Documentation internally. The latter theme sets breakable: false
by default, which prevents the box from getting split across multiple pages. You can however enable this again by passing breakable: true
when calling the function theorem()
.
Hi and welcome to the forum!
It seems that the problem is fixed by specifying the breakable
property:
#theorem(
title: "Lorem's Theorem",
breakable: true // break into multiple pages
)[
#lorem(1000)
]
Also, could you edit your title to be more descriptive of the problem? Currently, it does not describe the issue you are trying to fix. Be sure to follow https://forum.typst.app/t/how-to-post-in-the-questions-category/11 when posting
2 Likes