linebreaker__source

Prevent overflow boxes with LuaLaTeX

Version:
0.1a
Copyright:
License:
lppl1.3
Packaged on:
03/17/2022 21:11:32
Number of files:
2
Size on disk:
6.97 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.