linebreaker__doc

Prevent overflow boxes with LuaLaTeX

Version:
0.1d
Copyright:
License:
lppl1.3
Packaged on:
11/08/2026 12:17:54
Number of files:
3
Size on disk:
67.38 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.