linebreaker

Prevent overflow boxes with LuaLaTeX

Version:
0.1c
Copyright:
License:
lppl1.3
Packaged on:
03/27/2023 14:57:18
Number of files:
3
Size on disk:
19.86 kB

This package tries to prevent overflow lines in paragraphs or boxes. It changes LuaTeX’s \linebreak callback and re-typesets the paragraph with increased values of \tolerance and \emergencystretch until the overflow no longer happens. If that doesn’t help, it chooses the solution with the lowest badness.