Add a penalty constructor for vertical breaks

This commit is contained in:
gloamxun committed 2026-10-20 13:25:37 +08:00
1 parent b17e16df08
commit 51d65e6fad
2 files changed
+22

No files matched your search

+2
View File
@@ -210,3 +210,5 @@ for a later overlaid slash.
`\boxed{x}` adds 3pt padding around its body in the math model.
`Unit::vskip(id, height)` adds a vertical glue item to the page list.
`Unit::penalty(id, value)` adds a vertical penalty; values <= -10000 force a page break.