[texhax] overfull lines, hyphenation - setup for automatic processing

Wolfgang Schuster schuster.wolfgang at googlemail.com
Sun Jul 26 10:27:51 CEST 2009


Am 06.07.2009 um 15:30 schrieb james mourton:

> 1) Making larger gaps
> How can I set it up, shall I redefine
> \tolerance and \emergencystretch ? To what values? What is the scope  
> of the settings?
> Is there any other important option?

\setuptolerance[verytolerant,stretch]

> 2) Hyphenation
> Is there any way how to fall-back to more aggressive hyphenation rules
> if the default algorithm fails?
> If the word is unbreakable, could TeX just tear off the extra  
> letters it and put them to the next line?
> (I could theoretically put \discretionary to every word, but I'd  
> prefer TeX to use its own algorithms first)

Use font expansion and protrusion (setupalign[hanging,hz]), reduce  
left/righthyphenmin (\setupalign[lesshyphenation])

> 3) Error reporting
> Another issue is, that texexec
> creates very ugly table (\bTABLE) with overlapping text in the cells,
> but does not report any problem.
> Is there any way how to make it fail loudly, so the problems can
> be detected?

\setupTABLE[align=right]

or

\setupTABLE[align={verytolerant,stretch}] % or  
align={verytolerant,stretch,hz,...}

Wolfgang



More information about the texhax mailing list