Skip to content

alias VpackQualityCallback


(alias) VpackQualityCallback = fun(incident: ("overfull"|"underfull"|"loose"|"tight"), detail: integer, head: Node, first: integer, last: integer)

This callback can be used to intercept the overfull messages that can result from packing a vertical list (as happens in the page builder).

The incident is one of overfull, underfull, loose or tight. The detail is either the amount of overflow in case of overfull, or the badness otherwise. The head is the list that is constructed.

Reference:

😱 Types incomplete or incorrect? 🙏 Please contribute!