michal-h21 / linebreaker

Some excersises with luatex's line breaking callback
15 stars 1 forks source link

The Linebreaker package

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

Usage

 \usepackage{linebreaker}

Example

Without `linebreaker`With `linebreaker`

Documentation

See the PDF documentation

License

Author: Michal Hoftich michal.h21@gmail.com

Permission is granted to copy, distribute and/or modify this software under the terms of the LaTeX Project Public License, version 1.3.